stratosphere-ui 0.2.0 → 0.2.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/common/types.d.ts +4 -0
- package/dist/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/components/Form/FormControl.d.ts +2 -1
- package/dist/components/Form/types.d.ts +0 -4
- package/dist/components/Tabs/Tabs.d.ts +9 -5
- package/dist/index.d.ts +1 -0
- package/dist/stratosphere-ui.js +613 -572
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/transformers.d.ts +3 -0
- package/package.json +1 -1
package/dist/stratosphere-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as mi from "react";
|
|
2
|
-
import ie, { forwardRef as Zt, useState as Sn, useEffect as wt, cloneElement as Bf, useRef as qe, useImperativeHandle as aM, useMemo as
|
|
2
|
+
import ie, { forwardRef as Zt, useState as Sn, useEffect as wt, cloneElement as Bf, useRef as qe, useImperativeHandle as aM, useMemo as gt, createRef as Ps, createContext as Ar, useContext as vr, useLayoutEffect as lM, Fragment as Lr, isValidElement as iM, createElement as oM, useReducer as Yf, useCallback as $s } from "react";
|
|
3
3
|
import { FormProvider as uM, useController as Qf, useFormContext as Wf, useWatch as sM } from "react-hook-form";
|
|
4
4
|
var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, vm = {}, cM = {
|
|
5
5
|
get exports() {
|
|
@@ -56,7 +56,7 @@ function fM() {
|
|
|
56
56
|
var he = A && P[A] || P[M];
|
|
57
57
|
return typeof he == "function" ? he : null;
|
|
58
58
|
}
|
|
59
|
-
var
|
|
59
|
+
var V = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
60
60
|
function z(P) {
|
|
61
61
|
{
|
|
62
62
|
for (var he = arguments.length, ke = new Array(he > 1 ? he - 1 : 0), lt = 1; lt < he; lt++)
|
|
@@ -66,7 +66,7 @@ function fM() {
|
|
|
66
66
|
}
|
|
67
67
|
function ee(P, he, ke) {
|
|
68
68
|
{
|
|
69
|
-
var lt =
|
|
69
|
+
var lt = V.ReactDebugCurrentFrame, Et = lt.getStackAddendum();
|
|
70
70
|
Et !== "" && (he += "%s", ke = ke.concat([Et]));
|
|
71
71
|
var Tt = ke.map(function(_t) {
|
|
72
72
|
return String(_t);
|
|
@@ -200,7 +200,7 @@ function fM() {
|
|
|
200
200
|
ot < 0 && z("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
var ve =
|
|
203
|
+
var ve = V.ReactCurrentDispatcher, et;
|
|
204
204
|
function pt(P, he, ke) {
|
|
205
205
|
{
|
|
206
206
|
if (et === void 0)
|
|
@@ -326,7 +326,7 @@ function fM() {
|
|
|
326
326
|
}
|
|
327
327
|
return "";
|
|
328
328
|
}
|
|
329
|
-
var Rn = Object.prototype.hasOwnProperty, nt = {}, Ea =
|
|
329
|
+
var Rn = Object.prototype.hasOwnProperty, nt = {}, Ea = V.ReactDebugCurrentFrame;
|
|
330
330
|
function Ha(P) {
|
|
331
331
|
if (P) {
|
|
332
332
|
var he = P._owner, ke = Vn(P.type, P._source, he ? he.type : null);
|
|
@@ -377,7 +377,7 @@ function fM() {
|
|
|
377
377
|
if (ol(P))
|
|
378
378
|
return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", la(P)), ia(P);
|
|
379
379
|
}
|
|
380
|
-
var Dn =
|
|
380
|
+
var Dn = V.ReactCurrentOwner, $r = {
|
|
381
381
|
key: !0,
|
|
382
382
|
ref: !0,
|
|
383
383
|
__self: !0,
|
|
@@ -475,7 +475,7 @@ function fM() {
|
|
|
475
475
|
return Fn(P, ut, ur, Et, lt, Dn.current, _t);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
var Yt =
|
|
478
|
+
var Yt = V.ReactCurrentOwner, Wr = V.ReactDebugCurrentFrame;
|
|
479
479
|
function dn(P) {
|
|
480
480
|
if (P) {
|
|
481
481
|
var he = P._owner, ke = Vn(P.type, P._source, he ? he.type : null);
|
|
@@ -919,7 +919,7 @@ function FM(r) {
|
|
|
919
919
|
return o ? kM.test(o) : !1;
|
|
920
920
|
}
|
|
921
921
|
function zM() {
|
|
922
|
-
var r = or("colors"), s = or("spacing"), o = or("blur"), d = or("brightness"), m = or("borderColor"), h = or("borderRadius"), p = or("borderWidth"), C = or("contrast"), x = or("grayscale"), w = or("hueRotate"), R = or("invert"), _ = or("gap"), N = or("gradientColorStops"), O = or("inset"), A = or("margin"), M = or("opacity"), $ = or("padding"),
|
|
922
|
+
var r = or("colors"), s = or("spacing"), o = or("blur"), d = or("brightness"), m = or("borderColor"), h = or("borderRadius"), p = or("borderWidth"), C = or("contrast"), x = or("grayscale"), w = or("hueRotate"), R = or("invert"), _ = or("gap"), N = or("gradientColorStops"), O = or("inset"), A = or("margin"), M = or("opacity"), $ = or("padding"), V = or("saturate"), z = or("scale"), ee = or("sepia"), oe = or("skew"), ne = or("space"), Ne = or("translate"), le = function() {
|
|
923
923
|
return ["auto", "contain", "none"];
|
|
924
924
|
}, pe = function() {
|
|
925
925
|
return ["auto", "hidden", "clip", "visible", "scroll"];
|
|
@@ -2236,7 +2236,7 @@ function zM() {
|
|
|
2236
2236
|
* @see https://tailwindcss.com/docs/saturate
|
|
2237
2237
|
*/
|
|
2238
2238
|
saturate: [{
|
|
2239
|
-
saturate: [
|
|
2239
|
+
saturate: [V]
|
|
2240
2240
|
}],
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Sepia
|
|
@@ -2307,7 +2307,7 @@ function zM() {
|
|
|
2307
2307
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2308
2308
|
*/
|
|
2309
2309
|
"backdrop-saturate": [{
|
|
2310
|
-
"backdrop-saturate": [
|
|
2310
|
+
"backdrop-saturate": [V]
|
|
2311
2311
|
}],
|
|
2312
2312
|
/**
|
|
2313
2313
|
* Backdrop Sepia
|
|
@@ -2725,10 +2725,10 @@ const PM = ["children", "href", "shape", "size", "variant", "color", "startIcon"
|
|
|
2725
2725
|
active: A,
|
|
2726
2726
|
disabled: M,
|
|
2727
2727
|
dataTheme: $,
|
|
2728
|
-
className:
|
|
2728
|
+
className: V,
|
|
2729
2729
|
style: z
|
|
2730
2730
|
} = r, ee = Ae(r, PM);
|
|
2731
|
-
const oe = ze("btn",
|
|
2731
|
+
const oe = ze("btn", V, Ct((x && !O || w) && "gap-2", {
|
|
2732
2732
|
[`btn-${h}`]: h,
|
|
2733
2733
|
[`btn-${m}`]: m,
|
|
2734
2734
|
[`btn-${p}`]: p,
|
|
@@ -2977,7 +2977,7 @@ const JM = ["children", "space", "className"], eL = /* @__PURE__ */ ie.forwardRe
|
|
|
2977
2977
|
"w-24 h-24": o === "md",
|
|
2978
2978
|
"w-14 h-14": o === "sm",
|
|
2979
2979
|
"w-10 h-10": o === "xs"
|
|
2980
|
-
}),
|
|
2980
|
+
}), V = Ct({
|
|
2981
2981
|
"bg-neutral-focus": !p,
|
|
2982
2982
|
"text-neutral-content": !p,
|
|
2983
2983
|
[`bg-${p}`]: p,
|
|
@@ -3011,7 +3011,7 @@ const JM = ["children", "space", "className"], eL = /* @__PURE__ */ ie.forwardRe
|
|
|
3011
3011
|
});
|
|
3012
3012
|
if (m || KM(O))
|
|
3013
3013
|
return I("div", {
|
|
3014
|
-
className:
|
|
3014
|
+
className: V,
|
|
3015
3015
|
style: z,
|
|
3016
3016
|
children: I("span", {
|
|
3017
3017
|
children: m || O
|
|
@@ -3210,18 +3210,18 @@ const mL = ["children", "innerRef", "src", "alt", "index", "width", "hasButtons"
|
|
|
3210
3210
|
"w-full": d !== "slider"
|
|
3211
3211
|
})), [N, O] = Sn([]), [A, M] = Sn(0);
|
|
3212
3212
|
wt(() => {
|
|
3213
|
-
const
|
|
3213
|
+
const V = [];
|
|
3214
3214
|
o.map((z) => {
|
|
3215
|
-
|
|
3216
|
-
}), O(
|
|
3215
|
+
V.push(/* @__PURE__ */ Ps());
|
|
3216
|
+
}), O(V);
|
|
3217
3217
|
}, [o]);
|
|
3218
|
-
const $ = (
|
|
3218
|
+
const $ = (V) => {
|
|
3219
3219
|
var z;
|
|
3220
|
-
(z = N[
|
|
3220
|
+
(z = N[V].current) == null || z.scrollIntoView({
|
|
3221
3221
|
behavior: "smooth",
|
|
3222
3222
|
block: "nearest",
|
|
3223
3223
|
inline: m
|
|
3224
|
-
}), M(
|
|
3224
|
+
}), M(V);
|
|
3225
3225
|
};
|
|
3226
3226
|
return Mt(Kc, {
|
|
3227
3227
|
children: [I("div", Re({
|
|
@@ -3231,22 +3231,22 @@ const mL = ["children", "innerRef", "src", "alt", "index", "width", "hasButtons"
|
|
|
3231
3231
|
ref: s,
|
|
3232
3232
|
"data-theme": x,
|
|
3233
3233
|
className: _,
|
|
3234
|
-
children: o.map((
|
|
3234
|
+
children: o.map((V, z) => /* @__PURE__ */ Bf(V, Re({
|
|
3235
3235
|
key: z,
|
|
3236
3236
|
innerRef: N[z],
|
|
3237
3237
|
index: z + 1,
|
|
3238
|
-
children:
|
|
3239
|
-
src:
|
|
3240
|
-
alt:
|
|
3238
|
+
children: V.props.children,
|
|
3239
|
+
src: V.props.src,
|
|
3240
|
+
alt: V.props.alt,
|
|
3241
3241
|
width: d !== "slider" ? "full" : p,
|
|
3242
3242
|
hasButtons: d === "sequential",
|
|
3243
3243
|
buttonStyle: C,
|
|
3244
3244
|
onPrev: () => $(z - 1 < 0 ? o.length - 1 : z - 1),
|
|
3245
3245
|
onNext: () => $(z + 1 > o.length - 1 ? 0 : z + 1)
|
|
3246
|
-
},
|
|
3246
|
+
}, V.props)))
|
|
3247
3247
|
})), d === "numbered" && I("div", {
|
|
3248
3248
|
className: "flex justify-center w-full py-2 gap-2",
|
|
3249
|
-
children: o.map((
|
|
3249
|
+
children: o.map((V, z) => C != null ? /* @__PURE__ */ Bf(C((z + 1).toString()), {
|
|
3250
3250
|
key: z,
|
|
3251
3251
|
onClick: () => $(z)
|
|
3252
3252
|
}) : I(Ll, {
|
|
@@ -3715,7 +3715,7 @@ const fA = ["color", "size", "step", "dataTheme", "className"], pA = /* @__PURE_
|
|
|
3715
3715
|
const x = ze("range", p, Ct({
|
|
3716
3716
|
[`range-${d}`]: d,
|
|
3717
3717
|
[`range-${o}`]: o
|
|
3718
|
-
})), w = (_) => !isNaN(parseFloat(_)) && isFinite(_), R =
|
|
3718
|
+
})), w = (_) => !isNaN(parseFloat(_)) && isFinite(_), R = gt(() => {
|
|
3719
3719
|
var _;
|
|
3720
3720
|
const N = Math.max(1, Number(m));
|
|
3721
3721
|
return (_ = Math.ceil(100 / N)) != null ? _ : 1;
|
|
@@ -5363,10 +5363,10 @@ function s2(r, s) {
|
|
|
5363
5363
|
}
|
|
5364
5364
|
let c2 = Lr;
|
|
5365
5365
|
function d2(r, s) {
|
|
5366
|
-
let { value: o, defaultValue: d, onChange: m, name: h, by: p = (Ee, Pe) => Ee === Pe, disabled: C = !1, __demoMode: x = !1, nullable: w = !1, multiple: R = !1, ..._ } = r, [N = R ? [] : void 0, O] = GR(o, m, d), [A, M] = Yf(s2, { dataRef: Ps(), comboboxState: x ? 0 : 1, options: [], activeOptionIndex: null, activationTrigger: 1, labelId: null }), $ = qe(!1),
|
|
5366
|
+
let { value: o, defaultValue: d, onChange: m, name: h, by: p = (Ee, Pe) => Ee === Pe, disabled: C = !1, __demoMode: x = !1, nullable: w = !1, multiple: R = !1, ..._ } = r, [N = R ? [] : void 0, O] = GR(o, m, d), [A, M] = Yf(s2, { dataRef: Ps(), comboboxState: x ? 0 : 1, options: [], activeOptionIndex: null, activationTrigger: 1, labelId: null }), $ = qe(!1), V = qe({ static: !1, hold: !1 }), z = qe(null), ee = qe(null), oe = qe(null), ne = qe(null), Ne = Ce(typeof p == "string" ? (Ee, Pe) => {
|
|
5367
5367
|
let Z = p;
|
|
5368
5368
|
return (Ee == null ? void 0 : Ee[Z]) === (Pe == null ? void 0 : Pe[Z]);
|
|
5369
|
-
} : p), le = $s((Ee) => At(pe.mode, { [1]: () => N.some((Pe) => Ne(Pe, Ee)), [0]: () => Ne(N, Ee) }), [N]), pe =
|
|
5369
|
+
} : p), le = $s((Ee) => At(pe.mode, { [1]: () => N.some((Pe) => Ne(Pe, Ee)), [0]: () => Ne(N, Ee) }), [N]), pe = gt(() => ({ ...A, optionsPropsRef: V, labelRef: z, inputRef: ee, buttonRef: oe, optionsRef: ne, value: N, defaultValue: d, disabled: C, mode: R ? 1 : 0, get activeOptionIndex() {
|
|
5370
5370
|
if ($.current && A.activeOptionIndex === null && A.options.length > 0) {
|
|
5371
5371
|
let Ee = A.options.findIndex((Pe) => !Pe.dataRef.current.disabled);
|
|
5372
5372
|
if (Ee !== -1)
|
|
@@ -5380,7 +5380,7 @@ function d2(r, s) {
|
|
|
5380
5380
|
}), rn(() => {
|
|
5381
5381
|
A.dataRef.current = pe;
|
|
5382
5382
|
}, [pe]), Cm([pe.buttonRef, pe.inputRef, pe.optionsRef], () => xe.closeCombobox(), pe.comboboxState === 0);
|
|
5383
|
-
let we =
|
|
5383
|
+
let we = gt(() => ({ open: pe.comboboxState === 0, disabled: C, activeIndex: pe.activeOptionIndex, activeOption: pe.activeOptionIndex === null ? null : pe.options[pe.activeOptionIndex].dataRef.current.value, value: N }), [pe, C, N]), te = Ce((Ee) => {
|
|
5384
5384
|
let Pe = pe.options.find((Z) => Z.id === Ee);
|
|
5385
5385
|
Pe && ce(Pe.dataRef.current.value);
|
|
5386
5386
|
}), ye = Ce(() => {
|
|
@@ -5400,7 +5400,7 @@ function d2(r, s) {
|
|
|
5400
5400
|
}, [1]() {
|
|
5401
5401
|
let Pe = pe.value.slice(), Z = Pe.findIndex((ve) => Ne(ve, Ee));
|
|
5402
5402
|
return Z === -1 ? Pe.push(Ee) : Pe.splice(Z, 1), O == null ? void 0 : O(Pe);
|
|
5403
|
-
} })), xe =
|
|
5403
|
+
} })), xe = gt(() => ({ onChange: ce, registerOption: Ke, registerLabel: Lt, goToOption: ot, closeCombobox: $e, openCombobox: se, selectActiveOption: ye, selectOption: te }), []), _e = s === null ? {} : { ref: s }, Je = qe(null), Rt = hi();
|
|
5404
5404
|
return wt(() => {
|
|
5405
5405
|
Je.current && d !== void 0 && Rt.addEventListener(Je.current, "reset", () => {
|
|
5406
5406
|
ce(d);
|
|
@@ -5413,13 +5413,13 @@ function d2(r, s) {
|
|
|
5413
5413
|
let f2 = "input";
|
|
5414
5414
|
function p2(r, s) {
|
|
5415
5415
|
var o, d, m, h;
|
|
5416
|
-
let p = Un(), { id: C = `headlessui-combobox-input-${p}`, onChange: x, displayValue: w, type: R = "text", ..._ } = r, N = Zf("Combobox.Input"), O = wm("Combobox.Input"), A = qt(N.inputRef, s), M = qe(!1), $ = hi(),
|
|
5416
|
+
let p = Un(), { id: C = `headlessui-combobox-input-${p}`, onChange: x, displayValue: w, type: R = "text", ..._ } = r, N = Zf("Combobox.Input"), O = wm("Combobox.Input"), A = qt(N.inputRef, s), M = qe(!1), $ = hi(), V = function() {
|
|
5417
5417
|
var te;
|
|
5418
5418
|
return typeof w == "function" && N.value !== void 0 ? (te = w(N.value)) != null ? te : "" : typeof N.value == "string" ? N.value : "";
|
|
5419
5419
|
}();
|
|
5420
5420
|
mm(([te, ye], [se, $e]) => {
|
|
5421
5421
|
M.current || N.inputRef.current && ($e === 0 && ye === 1 || te !== se) && (N.inputRef.current.value = te);
|
|
5422
|
-
}, [
|
|
5422
|
+
}, [V, N.comboboxState]), mm(([te], [ye]) => {
|
|
5423
5423
|
if (te === 0 && ye === 1) {
|
|
5424
5424
|
let se = N.inputRef.current;
|
|
5425
5425
|
if (!se)
|
|
@@ -5495,7 +5495,7 @@ function p2(r, s) {
|
|
|
5495
5495
|
}), pe = gm(() => {
|
|
5496
5496
|
if (N.labelId)
|
|
5497
5497
|
return [N.labelId].join(" ");
|
|
5498
|
-
}, [N.labelId]), De =
|
|
5498
|
+
}, [N.labelId]), De = gt(() => ({ open: N.comboboxState === 0, disabled: N.disabled }), [N]), we = { ref: A, id: C, role: "combobox", type: R, "aria-controls": (o = N.optionsRef.current) == null ? void 0 : o.id, "aria-expanded": N.disabled ? void 0 : N.comboboxState === 0, "aria-activedescendant": N.activeOptionIndex === null || (d = N.options[N.activeOptionIndex]) == null ? void 0 : d.id, "aria-labelledby": pe, "aria-autocomplete": "list", defaultValue: (h = (m = r.defaultValue) != null ? m : N.defaultValue !== void 0 ? w == null ? void 0 : w(N.defaultValue) : null) != null ? h : N.defaultValue, disabled: N.disabled, onCompositionStart: ee, onCompositionEnd: oe, onKeyDown: ne, onChange: Ne, onBlur: le };
|
|
5499
5499
|
return Gt({ ourProps: we, theirProps: _, slot: De, defaultTag: f2, name: "Combobox.Input" });
|
|
5500
5500
|
}
|
|
5501
5501
|
let v2 = "button";
|
|
@@ -5533,7 +5533,7 @@ function m2(r, s) {
|
|
|
5533
5533
|
}), N = gm(() => {
|
|
5534
5534
|
if (d.labelId)
|
|
5535
5535
|
return [d.labelId, C].join(" ");
|
|
5536
|
-
}, [d.labelId, C]), O =
|
|
5536
|
+
}, [d.labelId, C]), O = gt(() => ({ open: d.comboboxState === 0, disabled: d.disabled, value: d.value }), [d]), A = { ref: h, id: C, type: xm(r, d.buttonRef), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": (o = d.optionsRef.current) == null ? void 0 : o.id, "aria-expanded": d.disabled ? void 0 : d.comboboxState === 0, "aria-labelledby": N, disabled: d.disabled, onClick: _, onKeyDown: R };
|
|
5537
5537
|
return Gt({ ourProps: A, theirProps: x, slot: O, defaultTag: v2, name: "Combobox.Button" });
|
|
5538
5538
|
}
|
|
5539
5539
|
let h2 = "label";
|
|
@@ -5543,7 +5543,7 @@ function g2(r, s) {
|
|
|
5543
5543
|
let x = Ce(() => {
|
|
5544
5544
|
var R;
|
|
5545
5545
|
return (R = h.inputRef.current) == null ? void 0 : R.focus({ preventScroll: !0 });
|
|
5546
|
-
}), w =
|
|
5546
|
+
}), w = gt(() => ({ open: h.comboboxState === 0, disabled: h.disabled }), [h]);
|
|
5547
5547
|
return Gt({ ourProps: { ref: C, id: d, onClick: x }, theirProps: m, slot: w, defaultTag: h2, name: "Combobox.Label" });
|
|
5548
5548
|
}
|
|
5549
5549
|
let y2 = "ul", S2 = Ua.RenderStrategy | Ua.Static;
|
|
@@ -5562,7 +5562,7 @@ function b2(r, s) {
|
|
|
5562
5562
|
let R = gm(() => {
|
|
5563
5563
|
var O, A;
|
|
5564
5564
|
return (A = p.labelId) != null ? A : (O = p.buttonRef.current) == null ? void 0 : O.id;
|
|
5565
|
-
}, [p.labelId, p.buttonRef.current]), _ =
|
|
5565
|
+
}, [p.labelId, p.buttonRef.current]), _ = gt(() => ({ open: p.comboboxState === 0 }), [p]), N = { "aria-labelledby": R, role: "listbox", "aria-multiselectable": p.mode === 1 ? !0 : void 0, id: d, ref: C };
|
|
5566
5566
|
return Gt({ ourProps: N, theirProps: h, slot: _, defaultTag: y2, features: S2, visible: w, name: "Combobox.Options" });
|
|
5567
5567
|
}
|
|
5568
5568
|
let C2 = "li";
|
|
@@ -5570,16 +5570,16 @@ function x2(r, s) {
|
|
|
5570
5570
|
var o, d;
|
|
5571
5571
|
let m = Un(), { id: h = `headlessui-combobox-option-${m}`, disabled: p = !1, value: C, ...x } = r, w = Zf("Combobox.Option"), R = wm("Combobox.Option"), _ = w.activeOptionIndex !== null ? w.options[w.activeOptionIndex].id === h : !1, N = w.isSelected(C), O = qe(null), A = xa({ disabled: p, value: C, domRef: O, textValue: (d = (o = O.current) == null ? void 0 : o.textContent) == null ? void 0 : d.toLowerCase() }), M = qt(s, O), $ = Ce(() => R.selectOption(h));
|
|
5572
5572
|
rn(() => R.registerOption(h, A), [A, h]);
|
|
5573
|
-
let
|
|
5573
|
+
let V = qe(!w.__demoMode);
|
|
5574
5574
|
rn(() => {
|
|
5575
5575
|
if (!w.__demoMode)
|
|
5576
5576
|
return;
|
|
5577
5577
|
let De = ll();
|
|
5578
5578
|
return De.requestAnimationFrame(() => {
|
|
5579
|
-
|
|
5579
|
+
V.current = !0;
|
|
5580
5580
|
}), De.dispose;
|
|
5581
5581
|
}, []), rn(() => {
|
|
5582
|
-
if (w.comboboxState !== 0 || !_ || !
|
|
5582
|
+
if (w.comboboxState !== 0 || !_ || !V.current || w.activationTrigger === 0)
|
|
5583
5583
|
return;
|
|
5584
5584
|
let De = ll();
|
|
5585
5585
|
return De.requestAnimationFrame(() => {
|
|
@@ -5602,7 +5602,7 @@ function x2(r, s) {
|
|
|
5602
5602
|
oe.wasMoved(De) && (p || _ || R.goToOption(Ft.Specific, h, 0));
|
|
5603
5603
|
}), le = Ce((De) => {
|
|
5604
5604
|
oe.wasMoved(De) && (p || _ && (w.optionsPropsRef.current.hold || R.goToOption(Ft.Nothing)));
|
|
5605
|
-
}), pe =
|
|
5605
|
+
}), pe = gt(() => ({ active: _, selected: N, disabled: p }), [_, N, p]);
|
|
5606
5606
|
return Gt({ ourProps: { id: h, ref: M, role: "option", tabIndex: p === !0 ? void 0 : -1, "aria-disabled": p === !0 ? !0 : void 0, "aria-selected": N, disabled: void 0, onClick: z, onFocus: ee, onPointerEnter: ne, onMouseEnter: ne, onPointerMove: Ne, onMouseMove: Ne, onPointerLeave: le, onMouseLeave: le }, theirProps: x, slot: pe, defaultTag: C2, name: "Combobox.Option" });
|
|
5607
5607
|
}
|
|
5608
5608
|
let E2 = Ut(d2), w2 = Ut(m2), R2 = Ut(p2), T2 = Ut(g2), _2 = Ut(b2), N2 = Ut(x2), qc = Object.assign(E2, { Input: R2, Button: w2, Label: T2, Options: _2, Option: N2 });
|
|
@@ -5629,7 +5629,7 @@ function Ly() {
|
|
|
5629
5629
|
}), []), r;
|
|
5630
5630
|
}
|
|
5631
5631
|
function Vs(...r) {
|
|
5632
|
-
return
|
|
5632
|
+
return gt(() => Zc(...r), [...r]);
|
|
5633
5633
|
}
|
|
5634
5634
|
function aC(r, s, o, d) {
|
|
5635
5635
|
let m = xa(o);
|
|
@@ -5662,7 +5662,7 @@ function k2(r, s) {
|
|
|
5662
5662
|
F2({ ownerDocument: x, container: o, containers: h, previousActiveElement: w }, !!(p & 8));
|
|
5663
5663
|
let R = rC(), _ = Ce((M) => {
|
|
5664
5664
|
let $ = o.current;
|
|
5665
|
-
$ && ((
|
|
5665
|
+
$ && ((V) => V())(() => {
|
|
5666
5666
|
At(R.current, { [Yl.Forwards]: () => {
|
|
5667
5667
|
aa($, $n.First, { skipElements: [M.relatedTarget] });
|
|
5668
5668
|
}, [Yl.Backwards]: () => {
|
|
@@ -5676,8 +5676,8 @@ function k2(r, s) {
|
|
|
5676
5676
|
}, onBlur(M) {
|
|
5677
5677
|
let $ = QR(h);
|
|
5678
5678
|
o.current instanceof HTMLElement && $.add(o.current);
|
|
5679
|
-
let
|
|
5680
|
-
|
|
5679
|
+
let V = M.relatedTarget;
|
|
5680
|
+
V instanceof HTMLElement && V.dataset.headlessuiFocusGuard !== "true" && (qR($, V) || (O.current ? aa(o.current, At(R.current, { [Yl.Forwards]: () => $n.Next, [Yl.Backwards]: () => $n.Previous }) | $n.WrapAround, { relativeTo: M.target }) : M.target instanceof HTMLElement && zs(M.target)));
|
|
5681
5681
|
} };
|
|
5682
5682
|
return ie.createElement(ie.Fragment, null, !!(p & 4) && ie.createElement($o, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: _, features: Ao.Focusable }), Gt({ ourProps: A, theirProps: C, defaultTag: O2, name: "FocusTrap" }), !!(p & 4) && ie.createElement($o, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: _, features: Ao.Focusable }));
|
|
5683
5683
|
}
|
|
@@ -5830,7 +5830,7 @@ function I2() {
|
|
|
5830
5830
|
return p.now() - C;
|
|
5831
5831
|
};
|
|
5832
5832
|
}
|
|
5833
|
-
var x = [], w = [], R = 1, _ = null, N = 3, O = !1, A = !1, M = !1, $ = typeof setTimeout == "function" ? setTimeout : null,
|
|
5833
|
+
var x = [], w = [], R = 1, _ = null, N = 3, O = !1, A = !1, M = !1, $ = typeof setTimeout == "function" ? setTimeout : null, V = typeof clearTimeout == "function" ? clearTimeout : null, z = typeof setImmediate < "u" ? setImmediate : null;
|
|
5834
5834
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
5835
5835
|
function ee(ce) {
|
|
5836
5836
|
for (var xe = o(w); xe !== null; ) {
|
|
@@ -5853,7 +5853,7 @@ function I2() {
|
|
|
5853
5853
|
}
|
|
5854
5854
|
}
|
|
5855
5855
|
function ne(ce, xe) {
|
|
5856
|
-
A = !1, M && (M = !1,
|
|
5856
|
+
A = !1, M && (M = !1, V(pe), pe = -1), O = !0;
|
|
5857
5857
|
var _e = N;
|
|
5858
5858
|
try {
|
|
5859
5859
|
for (ee(xe), _ = o(x); _ !== null && (!(_.expirationTime > xe) || ce && !te()); ) {
|
|
@@ -5981,7 +5981,7 @@ function I2() {
|
|
|
5981
5981
|
default:
|
|
5982
5982
|
Rt = 5e3;
|
|
5983
5983
|
}
|
|
5984
|
-
return Rt = _e + Rt, ce = { id: R++, callback: xe, priorityLevel: ce, startTime: _e, expirationTime: Rt, sortIndex: -1 }, _e > Je ? (ce.sortIndex = _e, s(w, ce), o(x) === null && ce === o(w) && (M ? (
|
|
5984
|
+
return Rt = _e + Rt, ce = { id: R++, callback: xe, priorityLevel: ce, startTime: _e, expirationTime: Rt, sortIndex: -1 }, _e > Je ? (ce.sortIndex = _e, s(w, ce), o(x) === null && ce === o(w) && (M ? (V(pe), pe = -1) : M = !0, Lt(oe, _e - Je))) : (ce.sortIndex = Rt, s(x, ce), A || O || (A = !0, Ke(ne))), ce;
|
|
5985
5985
|
}, r.unstable_shouldYield = te, r.unstable_wrapCallback = function(ce) {
|
|
5986
5986
|
var xe = N;
|
|
5987
5987
|
return function() {
|
|
@@ -6054,9 +6054,9 @@ function U2() {
|
|
|
6054
6054
|
}
|
|
6055
6055
|
var $ = typeof performance == "object" && typeof performance.now == "function";
|
|
6056
6056
|
if ($) {
|
|
6057
|
-
var
|
|
6057
|
+
var V = performance;
|
|
6058
6058
|
r.unstable_now = function() {
|
|
6059
|
-
return
|
|
6059
|
+
return V.now();
|
|
6060
6060
|
};
|
|
6061
6061
|
} else {
|
|
6062
6062
|
var z = Date, ee = z.now();
|
|
@@ -6364,21 +6364,21 @@ function H2() {
|
|
|
6364
6364
|
}), ["rowSpan", "start"].forEach(function(n) {
|
|
6365
6365
|
$[n] = new M(n, 5, !1, n.toLowerCase(), null, !1, !1);
|
|
6366
6366
|
});
|
|
6367
|
-
var
|
|
6367
|
+
var V = /[\-:]([a-z])/g;
|
|
6368
6368
|
function z(n) {
|
|
6369
6369
|
return n[1].toUpperCase();
|
|
6370
6370
|
}
|
|
6371
6371
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n) {
|
|
6372
6372
|
var a = n.replace(
|
|
6373
|
-
|
|
6373
|
+
V,
|
|
6374
6374
|
z
|
|
6375
6375
|
);
|
|
6376
6376
|
$[a] = new M(a, 1, !1, n, null, !1, !1);
|
|
6377
6377
|
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
|
|
6378
|
-
var a = n.replace(
|
|
6378
|
+
var a = n.replace(V, z);
|
|
6379
6379
|
$[a] = new M(a, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
|
|
6380
6380
|
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
|
|
6381
|
-
var a = n.replace(
|
|
6381
|
+
var a = n.replace(V, z);
|
|
6382
6382
|
$[a] = new M(a, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
6383
6383
|
}), ["tabIndex", "crossOrigin"].forEach(function(n) {
|
|
6384
6384
|
$[n] = new M(n, 1, !1, n.toLowerCase(), null, !1, !1);
|
|
@@ -7224,7 +7224,7 @@ function H2() {
|
|
|
7224
7224
|
function Jl(n) {
|
|
7225
7225
|
return n &= -n, 1 < n ? 4 < n ? n & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
7226
7226
|
}
|
|
7227
|
-
var rd, Pu, It, ad, Ys,
|
|
7227
|
+
var rd, Pu, It, ad, Ys, St = !1, zo = [], Xn = null, sr = null, ua = null, Po = /* @__PURE__ */ new Map(), zn = /* @__PURE__ */ new Map(), ln = [], Qs = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
7228
7228
|
function Qa(n, a) {
|
|
7229
7229
|
switch (n) {
|
|
7230
7230
|
case "focusin":
|
|
@@ -7306,10 +7306,10 @@ function H2() {
|
|
|
7306
7306
|
dl(n) && u.delete(a);
|
|
7307
7307
|
}
|
|
7308
7308
|
function ld() {
|
|
7309
|
-
|
|
7309
|
+
St = !1, Xn !== null && dl(Xn) && (Xn = null), sr !== null && dl(sr) && (sr = null), ua !== null && dl(ua) && (ua = null), Po.forEach(Iu), zn.forEach(Iu);
|
|
7310
7310
|
}
|
|
7311
7311
|
function Io(n, a) {
|
|
7312
|
-
n.blockedOn === a && (n.blockedOn = null,
|
|
7312
|
+
n.blockedOn === a && (n.blockedOn = null, St || (St = !0, s.unstable_scheduleCallback(s.unstable_NormalPriority, ld)));
|
|
7313
7313
|
}
|
|
7314
7314
|
function Uo(n) {
|
|
7315
7315
|
function a(g) {
|
|
@@ -7350,13 +7350,13 @@ function H2() {
|
|
|
7350
7350
|
if (G) {
|
|
7351
7351
|
var g = bn(n, a, u, f);
|
|
7352
7352
|
if (g === null)
|
|
7353
|
-
md(n, a, f,
|
|
7353
|
+
md(n, a, f, yt, u), Qa(n, f);
|
|
7354
7354
|
else if (zl(g, n, a, u, f))
|
|
7355
7355
|
f.stopPropagation();
|
|
7356
7356
|
else if (Qa(n, f), a & 4 && -1 < Qs.indexOf(n)) {
|
|
7357
7357
|
for (; g !== null; ) {
|
|
7358
7358
|
var S = ic(g);
|
|
7359
|
-
if (S !== null && rd(S), S = bn(n, a, u, f), S === null && md(n, a, f,
|
|
7359
|
+
if (S !== null && rd(S), S = bn(n, a, u, f), S === null && md(n, a, f, yt, u), S === g)
|
|
7360
7360
|
break;
|
|
7361
7361
|
g = S;
|
|
7362
7362
|
}
|
|
@@ -7365,9 +7365,9 @@ function H2() {
|
|
|
7365
7365
|
md(n, a, f, null, u);
|
|
7366
7366
|
}
|
|
7367
7367
|
}
|
|
7368
|
-
var
|
|
7368
|
+
var yt = null;
|
|
7369
7369
|
function bn(n, a, u, f) {
|
|
7370
|
-
if (
|
|
7370
|
+
if (yt = null, n = Yt(f), n = vl(n), n !== null)
|
|
7371
7371
|
if (a = Et(n), a === null)
|
|
7372
7372
|
n = null;
|
|
7373
7373
|
else if (u = a.tag, u === 13) {
|
|
@@ -7380,7 +7380,7 @@ function H2() {
|
|
|
7380
7380
|
n = null;
|
|
7381
7381
|
} else
|
|
7382
7382
|
a !== n && (n = null);
|
|
7383
|
-
return
|
|
7383
|
+
return yt = n, null;
|
|
7384
7384
|
}
|
|
7385
7385
|
function Kn(n) {
|
|
7386
7386
|
switch (n) {
|
|
@@ -8015,12 +8015,12 @@ function H2() {
|
|
|
8015
8015
|
}
|
|
8016
8016
|
var Xe = (a & 4) !== 0, lr = !Xe && n === "scroll", Y = Xe ? me !== null ? me + "Capture" : null : me;
|
|
8017
8017
|
Xe = [];
|
|
8018
|
-
for (var
|
|
8019
|
-
q =
|
|
8018
|
+
for (var j = J, q; j !== null; ) {
|
|
8019
|
+
q = j;
|
|
8020
8020
|
var Te = q.stateNode;
|
|
8021
|
-
if (q.tag === 5 && Te !== null && (q = Te, Y !== null && (Te = Si(
|
|
8021
|
+
if (q.tag === 5 && Te !== null && (q = Te, Y !== null && (Te = Si(j, Y), Te != null && Xe.push(nc(j, Te, q)))), lr)
|
|
8022
8022
|
break;
|
|
8023
|
-
|
|
8023
|
+
j = j.return;
|
|
8024
8024
|
}
|
|
8025
8025
|
0 < Xe.length && (me = new Ue(me, Ge, null, u, ge), Se.push({ event: me, listeners: Xe }));
|
|
8026
8026
|
}
|
|
@@ -8030,17 +8030,17 @@ function H2() {
|
|
|
8030
8030
|
if (me = n === "mouseover" || n === "pointerover", Ue = n === "mouseout" || n === "pointerout", me && u !== Qr && (Ge = u.relatedTarget || u.fromElement) && (vl(Ge) || Ge[Ni]))
|
|
8031
8031
|
break e;
|
|
8032
8032
|
if ((Ue || me) && (me = ge.window === ge ? ge : (me = ge.ownerDocument) ? me.defaultView || me.parentWindow : window, Ue ? (Ge = u.relatedTarget || u.toElement, Ue = J, Ge = Ge ? vl(Ge) : null, Ge !== null && (lr = Et(Ge), Ge !== lr || Ge.tag !== 5 && Ge.tag !== 6) && (Ge = null)) : (Ue = null, Ge = J), Ue !== Ge)) {
|
|
8033
|
-
if (Xe = id, Te = "onMouseLeave", Y = "onMouseEnter",
|
|
8033
|
+
if (Xe = id, Te = "onMouseLeave", Y = "onMouseEnter", j = "mouse", (n === "pointerout" || n === "pointerover") && (Xe = od, Te = "onPointerLeave", Y = "onPointerEnter", j = "pointer"), lr = Ue == null ? me : Yu(Ue), q = Ge == null ? me : Yu(Ge), me = new Xe(Te, j + "leave", Ue, u, ge), me.target = lr, me.relatedTarget = q, Te = null, vl(ge) === J && (Xe = new Xe(Y, j + "enter", Ge, u, ge), Xe.target = q, Xe.relatedTarget = lr, Te = Xe), lr = Te, Ue && Ge)
|
|
8034
8034
|
t: {
|
|
8035
|
-
for (Xe = Ue, Y = Ge,
|
|
8036
|
-
|
|
8035
|
+
for (Xe = Ue, Y = Ge, j = 0, q = Xe; q; q = Go(q))
|
|
8036
|
+
j++;
|
|
8037
8037
|
for (q = 0, Te = Y; Te; Te = Go(Te))
|
|
8038
8038
|
q++;
|
|
8039
|
-
for (; 0 <
|
|
8040
|
-
Xe = Go(Xe),
|
|
8041
|
-
for (; 0 < q -
|
|
8039
|
+
for (; 0 < j - q; )
|
|
8040
|
+
Xe = Go(Xe), j--;
|
|
8041
|
+
for (; 0 < q - j; )
|
|
8042
8042
|
Y = Go(Y), q--;
|
|
8043
|
-
for (;
|
|
8043
|
+
for (; j--; ) {
|
|
8044
8044
|
if (Xe === Y || Y !== null && Xe === Y.alternate)
|
|
8045
8045
|
break t;
|
|
8046
8046
|
Xe = Go(Xe), Y = Go(Y);
|
|
@@ -8680,145 +8680,145 @@ function H2() {
|
|
|
8680
8680
|
return a(n._payload);
|
|
8681
8681
|
}
|
|
8682
8682
|
function hh(n) {
|
|
8683
|
-
function a(Y,
|
|
8683
|
+
function a(Y, j) {
|
|
8684
8684
|
if (n) {
|
|
8685
8685
|
var q = Y.deletions;
|
|
8686
|
-
q === null ? (Y.deletions = [
|
|
8686
|
+
q === null ? (Y.deletions = [j], Y.flags |= 16) : q.push(j);
|
|
8687
8687
|
}
|
|
8688
8688
|
}
|
|
8689
|
-
function u(Y,
|
|
8689
|
+
function u(Y, j) {
|
|
8690
8690
|
if (!n)
|
|
8691
8691
|
return null;
|
|
8692
|
-
for (;
|
|
8693
|
-
a(Y,
|
|
8692
|
+
for (; j !== null; )
|
|
8693
|
+
a(Y, j), j = j.sibling;
|
|
8694
8694
|
return null;
|
|
8695
8695
|
}
|
|
8696
|
-
function f(Y,
|
|
8697
|
-
for (Y = /* @__PURE__ */ new Map();
|
|
8698
|
-
|
|
8696
|
+
function f(Y, j) {
|
|
8697
|
+
for (Y = /* @__PURE__ */ new Map(); j !== null; )
|
|
8698
|
+
j.key !== null ? Y.set(j.key, j) : Y.set(j.index, j), j = j.sibling;
|
|
8699
8699
|
return Y;
|
|
8700
8700
|
}
|
|
8701
|
-
function g(Y,
|
|
8702
|
-
return Y = bo(Y,
|
|
8701
|
+
function g(Y, j) {
|
|
8702
|
+
return Y = bo(Y, j), Y.index = 0, Y.sibling = null, Y;
|
|
8703
8703
|
}
|
|
8704
|
-
function S(Y,
|
|
8705
|
-
return Y.index = q, n ? (q = Y.alternate, q !== null ? (q = q.index, q <
|
|
8704
|
+
function S(Y, j, q) {
|
|
8705
|
+
return Y.index = q, n ? (q = Y.alternate, q !== null ? (q = q.index, q < j ? (Y.flags |= 2, j) : q) : (Y.flags |= 2, j)) : (Y.flags |= 1048576, j);
|
|
8706
8706
|
}
|
|
8707
8707
|
function T(Y) {
|
|
8708
8708
|
return n && Y.alternate === null && (Y.flags |= 2), Y;
|
|
8709
8709
|
}
|
|
8710
|
-
function F(Y,
|
|
8711
|
-
return
|
|
8710
|
+
function F(Y, j, q, Te) {
|
|
8711
|
+
return j === null || j.tag !== 6 ? (j = _c(q, Y.mode, Te), j.return = Y, j) : (j = g(j, q), j.return = Y, j);
|
|
8712
8712
|
}
|
|
8713
|
-
function U(Y,
|
|
8713
|
+
function U(Y, j, q, Te) {
|
|
8714
8714
|
var Ze = q.type;
|
|
8715
|
-
return Ze === le ? ge(Y,
|
|
8715
|
+
return Ze === le ? ge(Y, j, q.props.children, Te, q.key) : j !== null && (j.elementType === Ze || typeof Ze == "object" && Ze !== null && Ze.$$typeof === Ke && mh(Ze) === j.type) ? (Te = g(j, q.props), Te.ref = Wu(Y, j, q), Te.return = Y, Te) : (Te = of(q.type, q.key, q.props, null, Y.mode, Te), Te.ref = Wu(Y, j, q), Te.return = Y, Te);
|
|
8716
8716
|
}
|
|
8717
|
-
function J(Y,
|
|
8718
|
-
return
|
|
8717
|
+
function J(Y, j, q, Te) {
|
|
8718
|
+
return j === null || j.tag !== 4 || j.stateNode.containerInfo !== q.containerInfo || j.stateNode.implementation !== q.implementation ? (j = mu(q, Y.mode, Te), j.return = Y, j) : (j = g(j, q.children || []), j.return = Y, j);
|
|
8719
8719
|
}
|
|
8720
|
-
function ge(Y,
|
|
8721
|
-
return
|
|
8720
|
+
function ge(Y, j, q, Te, Ze) {
|
|
8721
|
+
return j === null || j.tag !== 7 ? (j = vu(q, Y.mode, Te, Ze), j.return = Y, j) : (j = g(j, q), j.return = Y, j);
|
|
8722
8722
|
}
|
|
8723
|
-
function Se(Y,
|
|
8724
|
-
if (typeof
|
|
8725
|
-
return
|
|
8726
|
-
if (typeof
|
|
8727
|
-
switch (
|
|
8723
|
+
function Se(Y, j, q) {
|
|
8724
|
+
if (typeof j == "string" && j !== "" || typeof j == "number")
|
|
8725
|
+
return j = _c("" + j, Y.mode, q), j.return = Y, j;
|
|
8726
|
+
if (typeof j == "object" && j !== null) {
|
|
8727
|
+
switch (j.$$typeof) {
|
|
8728
8728
|
case ne:
|
|
8729
|
-
return q = of(
|
|
8729
|
+
return q = of(j.type, j.key, j.props, null, Y.mode, q), q.ref = Wu(Y, null, j), q.return = Y, q;
|
|
8730
8730
|
case Ne:
|
|
8731
|
-
return
|
|
8731
|
+
return j = mu(j, Y.mode, q), j.return = Y, j;
|
|
8732
8732
|
case Ke:
|
|
8733
|
-
var Te =
|
|
8734
|
-
return Se(Y, Te(
|
|
8733
|
+
var Te = j._init;
|
|
8734
|
+
return Se(Y, Te(j._payload), q);
|
|
8735
8735
|
}
|
|
8736
|
-
if (Al(
|
|
8737
|
-
return
|
|
8738
|
-
Nd(Y,
|
|
8736
|
+
if (Al(j) || xe(j))
|
|
8737
|
+
return j = vu(j, Y.mode, q, null), j.return = Y, j;
|
|
8738
|
+
Nd(Y, j);
|
|
8739
8739
|
}
|
|
8740
8740
|
return null;
|
|
8741
8741
|
}
|
|
8742
|
-
function me(Y,
|
|
8743
|
-
var Ze =
|
|
8742
|
+
function me(Y, j, q, Te) {
|
|
8743
|
+
var Ze = j !== null ? j.key : null;
|
|
8744
8744
|
if (typeof q == "string" && q !== "" || typeof q == "number")
|
|
8745
|
-
return Ze !== null ? null : F(Y,
|
|
8745
|
+
return Ze !== null ? null : F(Y, j, "" + q, Te);
|
|
8746
8746
|
if (typeof q == "object" && q !== null) {
|
|
8747
8747
|
switch (q.$$typeof) {
|
|
8748
8748
|
case ne:
|
|
8749
|
-
return q.key === Ze ? U(Y,
|
|
8749
|
+
return q.key === Ze ? U(Y, j, q, Te) : null;
|
|
8750
8750
|
case Ne:
|
|
8751
|
-
return q.key === Ze ? J(Y,
|
|
8751
|
+
return q.key === Ze ? J(Y, j, q, Te) : null;
|
|
8752
8752
|
case Ke:
|
|
8753
8753
|
return Ze = q._init, me(
|
|
8754
8754
|
Y,
|
|
8755
|
-
|
|
8755
|
+
j,
|
|
8756
8756
|
Ze(q._payload),
|
|
8757
8757
|
Te
|
|
8758
8758
|
);
|
|
8759
8759
|
}
|
|
8760
8760
|
if (Al(q) || xe(q))
|
|
8761
|
-
return Ze !== null ? null : ge(Y,
|
|
8761
|
+
return Ze !== null ? null : ge(Y, j, q, Te, null);
|
|
8762
8762
|
Nd(Y, q);
|
|
8763
8763
|
}
|
|
8764
8764
|
return null;
|
|
8765
8765
|
}
|
|
8766
|
-
function Ue(Y,
|
|
8766
|
+
function Ue(Y, j, q, Te, Ze) {
|
|
8767
8767
|
if (typeof Te == "string" && Te !== "" || typeof Te == "number")
|
|
8768
|
-
return Y = Y.get(q) || null, F(
|
|
8768
|
+
return Y = Y.get(q) || null, F(j, Y, "" + Te, Ze);
|
|
8769
8769
|
if (typeof Te == "object" && Te !== null) {
|
|
8770
8770
|
switch (Te.$$typeof) {
|
|
8771
8771
|
case ne:
|
|
8772
|
-
return Y = Y.get(Te.key === null ? q : Te.key) || null, U(
|
|
8772
|
+
return Y = Y.get(Te.key === null ? q : Te.key) || null, U(j, Y, Te, Ze);
|
|
8773
8773
|
case Ne:
|
|
8774
|
-
return Y = Y.get(Te.key === null ? q : Te.key) || null, J(
|
|
8774
|
+
return Y = Y.get(Te.key === null ? q : Te.key) || null, J(j, Y, Te, Ze);
|
|
8775
8775
|
case Ke:
|
|
8776
8776
|
var Ye = Te._init;
|
|
8777
|
-
return Ue(Y,
|
|
8777
|
+
return Ue(Y, j, q, Ye(Te._payload), Ze);
|
|
8778
8778
|
}
|
|
8779
8779
|
if (Al(Te) || xe(Te))
|
|
8780
|
-
return Y = Y.get(q) || null, ge(
|
|
8781
|
-
Nd(
|
|
8780
|
+
return Y = Y.get(q) || null, ge(j, Y, Te, Ze, null);
|
|
8781
|
+
Nd(j, Te);
|
|
8782
8782
|
}
|
|
8783
8783
|
return null;
|
|
8784
8784
|
}
|
|
8785
|
-
function Ge(Y,
|
|
8786
|
-
for (var Ze = null, Ye = null, at =
|
|
8785
|
+
function Ge(Y, j, q, Te) {
|
|
8786
|
+
for (var Ze = null, Ye = null, at = j, ht = j = 0, kr = null; at !== null && ht < q.length; ht++) {
|
|
8787
8787
|
at.index > ht ? (kr = at, at = null) : kr = at.sibling;
|
|
8788
8788
|
var Kt = me(Y, at, q[ht], Te);
|
|
8789
8789
|
if (Kt === null) {
|
|
8790
8790
|
at === null && (at = kr);
|
|
8791
8791
|
break;
|
|
8792
8792
|
}
|
|
8793
|
-
n && at && Kt.alternate === null && a(Y, at),
|
|
8793
|
+
n && at && Kt.alternate === null && a(Y, at), j = S(Kt, j, ht), Ye === null ? Ze = Kt : Ye.sibling = Kt, Ye = Kt, at = kr;
|
|
8794
8794
|
}
|
|
8795
8795
|
if (ht === q.length)
|
|
8796
8796
|
return u(Y, at), kn && qa(Y, ht), Ze;
|
|
8797
8797
|
if (at === null) {
|
|
8798
8798
|
for (; ht < q.length; ht++)
|
|
8799
|
-
at = Se(Y, q[ht], Te), at !== null && (
|
|
8799
|
+
at = Se(Y, q[ht], Te), at !== null && (j = S(at, j, ht), Ye === null ? Ze = at : Ye.sibling = at, Ye = at);
|
|
8800
8800
|
return kn && qa(Y, ht), Ze;
|
|
8801
8801
|
}
|
|
8802
8802
|
for (at = f(Y, at); ht < q.length; ht++)
|
|
8803
|
-
kr = Ue(at, Y, ht, q[ht], Te), kr !== null && (n && kr.alternate !== null && at.delete(kr.key === null ? ht : kr.key),
|
|
8803
|
+
kr = Ue(at, Y, ht, q[ht], Te), kr !== null && (n && kr.alternate !== null && at.delete(kr.key === null ? ht : kr.key), j = S(kr, j, ht), Ye === null ? Ze = kr : Ye.sibling = kr, Ye = kr);
|
|
8804
8804
|
return n && at.forEach(function(Co) {
|
|
8805
8805
|
return a(Y, Co);
|
|
8806
8806
|
}), kn && qa(Y, ht), Ze;
|
|
8807
8807
|
}
|
|
8808
|
-
function Xe(Y,
|
|
8808
|
+
function Xe(Y, j, q, Te) {
|
|
8809
8809
|
var Ze = xe(q);
|
|
8810
8810
|
if (typeof Ze != "function")
|
|
8811
8811
|
throw Error(o(150));
|
|
8812
8812
|
if (q = Ze.call(q), q == null)
|
|
8813
8813
|
throw Error(o(151));
|
|
8814
|
-
for (var Ye = Ze = null, at =
|
|
8814
|
+
for (var Ye = Ze = null, at = j, ht = j = 0, kr = null, Kt = q.next(); at !== null && !Kt.done; ht++, Kt = q.next()) {
|
|
8815
8815
|
at.index > ht ? (kr = at, at = null) : kr = at.sibling;
|
|
8816
8816
|
var Co = me(Y, at, Kt.value, Te);
|
|
8817
8817
|
if (Co === null) {
|
|
8818
8818
|
at === null && (at = kr);
|
|
8819
8819
|
break;
|
|
8820
8820
|
}
|
|
8821
|
-
n && at && Co.alternate === null && a(Y, at),
|
|
8821
|
+
n && at && Co.alternate === null && a(Y, at), j = S(Co, j, ht), Ye === null ? Ze = Co : Ye.sibling = Co, Ye = Co, at = kr;
|
|
8822
8822
|
}
|
|
8823
8823
|
if (Kt.done)
|
|
8824
8824
|
return u(
|
|
@@ -8827,29 +8827,29 @@ function H2() {
|
|
|
8827
8827
|
), kn && qa(Y, ht), Ze;
|
|
8828
8828
|
if (at === null) {
|
|
8829
8829
|
for (; !Kt.done; ht++, Kt = q.next())
|
|
8830
|
-
Kt = Se(Y, Kt.value, Te), Kt !== null && (
|
|
8830
|
+
Kt = Se(Y, Kt.value, Te), Kt !== null && (j = S(Kt, j, ht), Ye === null ? Ze = Kt : Ye.sibling = Kt, Ye = Kt);
|
|
8831
8831
|
return kn && qa(Y, ht), Ze;
|
|
8832
8832
|
}
|
|
8833
8833
|
for (at = f(Y, at); !Kt.done; ht++, Kt = q.next())
|
|
8834
|
-
Kt = Ue(at, Y, ht, Kt.value, Te), Kt !== null && (n && Kt.alternate !== null && at.delete(Kt.key === null ? ht : Kt.key),
|
|
8834
|
+
Kt = Ue(at, Y, ht, Kt.value, Te), Kt !== null && (n && Kt.alternate !== null && at.delete(Kt.key === null ? ht : Kt.key), j = S(Kt, j, ht), Ye === null ? Ze = Kt : Ye.sibling = Kt, Ye = Kt);
|
|
8835
8835
|
return n && at.forEach(function(w0) {
|
|
8836
8836
|
return a(Y, w0);
|
|
8837
8837
|
}), kn && qa(Y, ht), Ze;
|
|
8838
8838
|
}
|
|
8839
|
-
function lr(Y,
|
|
8839
|
+
function lr(Y, j, q, Te) {
|
|
8840
8840
|
if (typeof q == "object" && q !== null && q.type === le && q.key === null && (q = q.props.children), typeof q == "object" && q !== null) {
|
|
8841
8841
|
switch (q.$$typeof) {
|
|
8842
8842
|
case ne:
|
|
8843
8843
|
e: {
|
|
8844
|
-
for (var Ze = q.key, Ye =
|
|
8844
|
+
for (var Ze = q.key, Ye = j; Ye !== null; ) {
|
|
8845
8845
|
if (Ye.key === Ze) {
|
|
8846
8846
|
if (Ze = q.type, Ze === le) {
|
|
8847
8847
|
if (Ye.tag === 7) {
|
|
8848
|
-
u(Y, Ye.sibling),
|
|
8848
|
+
u(Y, Ye.sibling), j = g(Ye, q.props.children), j.return = Y, Y = j;
|
|
8849
8849
|
break e;
|
|
8850
8850
|
}
|
|
8851
8851
|
} else if (Ye.elementType === Ze || typeof Ze == "object" && Ze !== null && Ze.$$typeof === Ke && mh(Ze) === Ye.type) {
|
|
8852
|
-
u(Y, Ye.sibling),
|
|
8852
|
+
u(Y, Ye.sibling), j = g(Ye, q.props), j.ref = Wu(Y, Ye, q), j.return = Y, Y = j;
|
|
8853
8853
|
break e;
|
|
8854
8854
|
}
|
|
8855
8855
|
u(Y, Ye);
|
|
@@ -8858,37 +8858,37 @@ function H2() {
|
|
|
8858
8858
|
a(Y, Ye);
|
|
8859
8859
|
Ye = Ye.sibling;
|
|
8860
8860
|
}
|
|
8861
|
-
q.type === le ? (
|
|
8861
|
+
q.type === le ? (j = vu(q.props.children, Y.mode, Te, q.key), j.return = Y, Y = j) : (Te = of(q.type, q.key, q.props, null, Y.mode, Te), Te.ref = Wu(Y, j, q), Te.return = Y, Y = Te);
|
|
8862
8862
|
}
|
|
8863
8863
|
return T(Y);
|
|
8864
8864
|
case Ne:
|
|
8865
8865
|
e: {
|
|
8866
|
-
for (Ye = q.key;
|
|
8867
|
-
if (
|
|
8868
|
-
if (
|
|
8869
|
-
u(Y,
|
|
8866
|
+
for (Ye = q.key; j !== null; ) {
|
|
8867
|
+
if (j.key === Ye)
|
|
8868
|
+
if (j.tag === 4 && j.stateNode.containerInfo === q.containerInfo && j.stateNode.implementation === q.implementation) {
|
|
8869
|
+
u(Y, j.sibling), j = g(j, q.children || []), j.return = Y, Y = j;
|
|
8870
8870
|
break e;
|
|
8871
8871
|
} else {
|
|
8872
|
-
u(Y,
|
|
8872
|
+
u(Y, j);
|
|
8873
8873
|
break;
|
|
8874
8874
|
}
|
|
8875
8875
|
else
|
|
8876
|
-
a(Y,
|
|
8877
|
-
|
|
8876
|
+
a(Y, j);
|
|
8877
|
+
j = j.sibling;
|
|
8878
8878
|
}
|
|
8879
|
-
|
|
8879
|
+
j = mu(q, Y.mode, Te), j.return = Y, Y = j;
|
|
8880
8880
|
}
|
|
8881
8881
|
return T(Y);
|
|
8882
8882
|
case Ke:
|
|
8883
|
-
return Ye = q._init, lr(Y,
|
|
8883
|
+
return Ye = q._init, lr(Y, j, Ye(q._payload), Te);
|
|
8884
8884
|
}
|
|
8885
8885
|
if (Al(q))
|
|
8886
|
-
return Ge(Y,
|
|
8886
|
+
return Ge(Y, j, q, Te);
|
|
8887
8887
|
if (xe(q))
|
|
8888
|
-
return Xe(Y,
|
|
8888
|
+
return Xe(Y, j, q, Te);
|
|
8889
8889
|
Nd(Y, q);
|
|
8890
8890
|
}
|
|
8891
|
-
return typeof q == "string" && q !== "" || typeof q == "number" ? (q = "" + q,
|
|
8891
|
+
return typeof q == "string" && q !== "" || typeof q == "number" ? (q = "" + q, j !== null && j.tag === 6 ? (u(Y, j.sibling), j = g(j, q), j.return = Y, Y = j) : (u(Y, j), j = _c(q, Y.mode, Te), j.return = Y, Y = j), T(Y)) : u(Y, j);
|
|
8892
8892
|
}
|
|
8893
8893
|
return lr;
|
|
8894
8894
|
}
|
|
@@ -10153,8 +10153,8 @@ Error generating stack: ` + S.message + `
|
|
|
10153
10153
|
break;
|
|
10154
10154
|
case 1:
|
|
10155
10155
|
if (Ge !== null) {
|
|
10156
|
-
var Xe = Ge.memoizedProps, lr = Ge.memoizedState, Y = a.stateNode,
|
|
10157
|
-
Y.__reactInternalSnapshotBeforeUpdate =
|
|
10156
|
+
var Xe = Ge.memoizedProps, lr = Ge.memoizedState, Y = a.stateNode, j = Y.getSnapshotBeforeUpdate(a.elementType === a.type ? Xe : Ka(a.type, Xe), lr);
|
|
10157
|
+
Y.__reactInternalSnapshotBeforeUpdate = j;
|
|
10158
10158
|
}
|
|
10159
10159
|
break;
|
|
10160
10160
|
case 3:
|
|
@@ -11080,8 +11080,8 @@ Error generating stack: ` + S.message + `
|
|
|
11080
11080
|
break e;
|
|
11081
11081
|
case 1:
|
|
11082
11082
|
F = U;
|
|
11083
|
-
var
|
|
11084
|
-
if (!(S.flags & 128) && (typeof
|
|
11083
|
+
var j = S.type, q = S.stateNode;
|
|
11084
|
+
if (!(S.flags & 128) && (typeof j.getDerivedStateFromError == "function" || q !== null && typeof q.componentDidCatch == "function" && (ii === null || !ii.has(q)))) {
|
|
11085
11085
|
S.flags |= 65536, a &= -a, S.lanes |= a;
|
|
11086
11086
|
var Te = hc(S, F, a);
|
|
11087
11087
|
Ap(S, Te);
|
|
@@ -11280,15 +11280,15 @@ Error generating stack: ` + S.message + `
|
|
|
11280
11280
|
Be = S.return;
|
|
11281
11281
|
}
|
|
11282
11282
|
}
|
|
11283
|
-
var
|
|
11284
|
-
for (Be =
|
|
11283
|
+
var j = n.current;
|
|
11284
|
+
for (Be = j; Be !== null; ) {
|
|
11285
11285
|
T = Be;
|
|
11286
11286
|
var q = T.child;
|
|
11287
11287
|
if (T.subtreeFlags & 2064 && q !== null)
|
|
11288
11288
|
q.return = T, Be = q;
|
|
11289
11289
|
else
|
|
11290
11290
|
e:
|
|
11291
|
-
for (T =
|
|
11291
|
+
for (T = j; Be !== null; ) {
|
|
11292
11292
|
if (F = Be, F.flags & 2048)
|
|
11293
11293
|
try {
|
|
11294
11294
|
switch (F.tag) {
|
|
@@ -11954,7 +11954,7 @@ function V2() {
|
|
|
11954
11954
|
v.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, v);
|
|
11955
11955
|
}
|
|
11956
11956
|
}
|
|
11957
|
-
var x = 0, w = 1, R = 2, _ = 3, N = 4, O = 5, A = 6, M = 7, $ = 8,
|
|
11957
|
+
var x = 0, w = 1, R = 2, _ = 3, N = 4, O = 5, A = 6, M = 7, $ = 8, V = 9, z = 10, ee = 11, oe = 12, ne = 13, Ne = 14, le = 15, pe = 16, De = 17, we = 18, te = 19, ye = 21, se = 22, $e = 23, ot = 24, Ke = 25, Lt = !0, ce = !1, xe = !1, _e = !1, Je = !1, Rt = !0, Ee = !1, Pe = !1, Z = !0, ve = !0, et = !0, pt = /* @__PURE__ */ new Set(), Nn = {}, nr = {};
|
|
11958
11958
|
function cn(e, t) {
|
|
11959
11959
|
vn(e, t), vn(e + "Capture", t);
|
|
11960
11960
|
}
|
|
@@ -12488,8 +12488,8 @@ function V2() {
|
|
|
12488
12488
|
if (l === null)
|
|
12489
12489
|
e.removeAttribute(D);
|
|
12490
12490
|
else {
|
|
12491
|
-
var
|
|
12492
|
-
|
|
12491
|
+
var B = c.type, H;
|
|
12492
|
+
B === Dn || B === $r && l === !0 ? H = "" : (Ea(l, D), H = "" + l, c.sanitizeURL && Ki(H.toString())), k ? e.setAttributeNS(k, D, H) : e.setAttribute(D, H);
|
|
12493
12493
|
}
|
|
12494
12494
|
}
|
|
12495
12495
|
}
|
|
@@ -12638,9 +12638,9 @@ function V2() {
|
|
|
12638
12638
|
if (D !== 1 || k !== 1)
|
|
12639
12639
|
do
|
|
12640
12640
|
if (D--, k--, k < 0 || b[D] !== E[k]) {
|
|
12641
|
-
var
|
|
12641
|
+
var B = `
|
|
12642
12642
|
` + b[D].replace(" at new ", " at ");
|
|
12643
|
-
return e.displayName &&
|
|
12643
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && $u.set(e, B), B;
|
|
12644
12644
|
}
|
|
12645
12645
|
while (D >= 1 && k >= 0);
|
|
12646
12646
|
break;
|
|
@@ -12788,12 +12788,12 @@ Error generating stack: ` + i.message + `
|
|
|
12788
12788
|
function Ys(e) {
|
|
12789
12789
|
return e.displayName || "Context";
|
|
12790
12790
|
}
|
|
12791
|
-
function
|
|
12791
|
+
function St(e) {
|
|
12792
12792
|
var t = e.tag, l = e.type;
|
|
12793
12793
|
switch (t) {
|
|
12794
12794
|
case ot:
|
|
12795
12795
|
return "Cache";
|
|
12796
|
-
case
|
|
12796
|
+
case V:
|
|
12797
12797
|
var i = l;
|
|
12798
12798
|
return Ys(i) + ".Consumer";
|
|
12799
12799
|
case z:
|
|
@@ -12850,7 +12850,7 @@ Error generating stack: ` + i.message + `
|
|
|
12850
12850
|
return null;
|
|
12851
12851
|
var e = Xn._debugOwner;
|
|
12852
12852
|
if (e !== null && typeof e < "u")
|
|
12853
|
-
return
|
|
12853
|
+
return St(e);
|
|
12854
12854
|
}
|
|
12855
12855
|
return null;
|
|
12856
12856
|
}
|
|
@@ -12963,7 +12963,7 @@ Error generating stack: ` + i.message + `
|
|
|
12963
12963
|
return e.body;
|
|
12964
12964
|
}
|
|
12965
12965
|
}
|
|
12966
|
-
var on = !1,
|
|
12966
|
+
var on = !1, yt = !1, bn = !1, Kn = !1;
|
|
12967
12967
|
function Cn(e) {
|
|
12968
12968
|
var t = e.type === "checkbox" || e.type === "radio";
|
|
12969
12969
|
return t ? e.checked != null : e.value != null;
|
|
@@ -12978,7 +12978,7 @@ Error generating stack: ` + i.message + `
|
|
|
12978
12978
|
return c;
|
|
12979
12979
|
}
|
|
12980
12980
|
function hr(e, t) {
|
|
12981
|
-
dl("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !
|
|
12981
|
+
dl("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !yt && (p("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", ua() || "A component", t.type), yt = !0), t.value !== void 0 && t.defaultValue !== void 0 && !on && (p("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", ua() || "A component", t.type), on = !0);
|
|
12982
12982
|
var l = e, i = t.defaultValue == null ? "" : t.defaultValue;
|
|
12983
12983
|
l._wrapperState = {
|
|
12984
12984
|
initialChecked: t.checked != null ? t.checked : t.defaultChecked,
|
|
@@ -13089,14 +13089,14 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13089
13089
|
c[E].selected !== D && (c[E].selected = D), D && i && (c[E].defaultSelected = !0);
|
|
13090
13090
|
}
|
|
13091
13091
|
} else {
|
|
13092
|
-
for (var k = mr(zl(l)),
|
|
13092
|
+
for (var k = mr(zl(l)), B = null, H = 0; H < c.length; H++) {
|
|
13093
13093
|
if (c[H].value === k) {
|
|
13094
13094
|
c[H].selected = !0, i && (c[H].defaultSelected = !0);
|
|
13095
13095
|
return;
|
|
13096
13096
|
}
|
|
13097
|
-
|
|
13097
|
+
B === null && !c[H].disabled && (B = c[H]);
|
|
13098
13098
|
}
|
|
13099
|
-
|
|
13099
|
+
B !== null && (B.selected = !0);
|
|
13100
13100
|
}
|
|
13101
13101
|
}
|
|
13102
13102
|
function np(e, t) {
|
|
@@ -14234,13 +14234,13 @@ Check the render method of \`` + e + "`." : "";
|
|
|
14234
14234
|
bp = function(t, l, i, c, v, y, b, E, D) {
|
|
14235
14235
|
if (typeof document > "u" || document === null)
|
|
14236
14236
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
14237
|
-
var k = document.createEvent("Event"),
|
|
14237
|
+
var k = document.createEvent("Event"), B = !1, H = !0, X = window.event, K = Object.getOwnPropertyDescriptor(window, "event");
|
|
14238
14238
|
function re() {
|
|
14239
14239
|
Cp.removeEventListener(ae, st, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = X);
|
|
14240
14240
|
}
|
|
14241
14241
|
var Ve = Array.prototype.slice.call(arguments, 3);
|
|
14242
14242
|
function st() {
|
|
14243
|
-
|
|
14243
|
+
B = !0, re(), l.apply(i, Ve), H = !1;
|
|
14244
14244
|
}
|
|
14245
14245
|
var tt, jt = !1, Pt = !1;
|
|
14246
14246
|
function Q(W) {
|
|
@@ -14251,7 +14251,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
14251
14251
|
}
|
|
14252
14252
|
}
|
|
14253
14253
|
var ae = "react-" + (t || "invokeguardedcallback");
|
|
14254
|
-
if (window.addEventListener("error", Q), Cp.addEventListener(ae, st, !1), k.initEvent(ae, !1, !1), Cp.dispatchEvent(k), K && Object.defineProperty(window, "event", K),
|
|
14254
|
+
if (window.addEventListener("error", Q), Cp.addEventListener(ae, st, !1), k.initEvent(ae, !1, !1), Cp.dispatchEvent(k), K && Object.defineProperty(window, "event", K), B && H && (jt ? Pt && (tt = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : tt = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(tt)), window.removeEventListener("error", Q), !B)
|
|
14255
14255
|
return re(), lh.apply(this, arguments);
|
|
14256
14256
|
};
|
|
14257
14257
|
}
|
|
@@ -14410,7 +14410,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
14410
14410
|
var t = Di.current;
|
|
14411
14411
|
if (t !== null && t.tag === w) {
|
|
14412
14412
|
var l = t, i = l.stateNode;
|
|
14413
|
-
i._warnedAboutRefsInRender || p("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",
|
|
14413
|
+
i._warnedAboutRefsInRender || p("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", St(l) || "A component"), i._warnedAboutRefsInRender = !0;
|
|
14414
14414
|
}
|
|
14415
14415
|
}
|
|
14416
14416
|
var c = vl(e);
|
|
@@ -14913,14 +14913,14 @@ Check the render method of \`` + e + "`." : "";
|
|
|
14913
14913
|
if (t !== ue && t !== i && // If we already suspended with a delay, then interrupting is fine. Don't
|
|
14914
14914
|
// bother waiting until the root is complete.
|
|
14915
14915
|
(t & c) === ue) {
|
|
14916
|
-
var k = dr(i),
|
|
14916
|
+
var k = dr(i), B = dr(t);
|
|
14917
14917
|
if (
|
|
14918
14918
|
// Tests whether the next lane is equal or lower priority than the wip
|
|
14919
14919
|
// one. This works because the bits decrease in priority as you go left.
|
|
14920
|
-
k >=
|
|
14920
|
+
k >= B || // Default priority updates should not interrupt transition updates. The
|
|
14921
14921
|
// only difference between default updates and transition updates is that
|
|
14922
14922
|
// default updates do not support refresh transitions.
|
|
14923
|
-
k === Ln && (
|
|
14923
|
+
k === Ln && (B & vo) !== ue
|
|
14924
14924
|
)
|
|
14925
14925
|
return t;
|
|
14926
14926
|
}
|
|
@@ -15316,8 +15316,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
15316
15316
|
return xl.set(D, is(xl.get(D) || null, e, t, l, i, E)), !0;
|
|
15317
15317
|
}
|
|
15318
15318
|
case "gotpointercapture": {
|
|
15319
|
-
var k = c,
|
|
15320
|
-
return ls.set(
|
|
15319
|
+
var k = c, B = k.pointerId;
|
|
15320
|
+
return ls.set(B, is(ls.get(B) || null, e, t, l, i, k)), !0;
|
|
15321
15321
|
}
|
|
15322
15322
|
}
|
|
15323
15323
|
return !1;
|
|
@@ -16110,7 +16110,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16110
16110
|
var t = e._wrapperState;
|
|
16111
16111
|
!t || !t.controlled || e.type !== "number" || wr(e, "number", e.value);
|
|
16112
16112
|
}
|
|
16113
|
-
function
|
|
16113
|
+
function j(e, t, l, i, c, v, y) {
|
|
16114
16114
|
var b = l ? Sf(l) : window, E, D;
|
|
16115
16115
|
if (f(b) ? E = F : vs(b) ? U ? E = lr : (E = Ue, D = me) : Ge(b) && (E = Xe), E) {
|
|
16116
16116
|
var k = E(t, l);
|
|
@@ -16136,8 +16136,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16136
16136
|
if (c.window === c)
|
|
16137
16137
|
k = c;
|
|
16138
16138
|
else {
|
|
16139
|
-
var
|
|
16140
|
-
|
|
16139
|
+
var B = c.ownerDocument;
|
|
16140
|
+
B ? k = B.defaultView || B.parentWindow : k = window;
|
|
16141
16141
|
}
|
|
16142
16142
|
var H, X;
|
|
16143
16143
|
if (E) {
|
|
@@ -16219,17 +16219,17 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16219
16219
|
return w0(e, c, v, y, b);
|
|
16220
16220
|
}
|
|
16221
16221
|
function w0(e, t, l, i, c) {
|
|
16222
|
-
var v = 0, y = -1, b = -1, E = 0, D = 0, k = e,
|
|
16222
|
+
var v = 0, y = -1, b = -1, E = 0, D = 0, k = e, B = null;
|
|
16223
16223
|
e:
|
|
16224
16224
|
for (; ; ) {
|
|
16225
16225
|
for (var H = null; k === t && (l === 0 || k.nodeType === wi) && (y = v + l), k === i && (c === 0 || k.nodeType === wi) && (b = v + c), k.nodeType === wi && (v += k.nodeValue.length), (H = k.firstChild) !== null; )
|
|
16226
|
-
|
|
16226
|
+
B = k, k = H;
|
|
16227
16227
|
for (; ; ) {
|
|
16228
16228
|
if (k === e)
|
|
16229
16229
|
break e;
|
|
16230
|
-
if (
|
|
16230
|
+
if (B === t && ++E === l && (y = v), B === i && ++D === c && (b = v), (H = k.nextSibling) !== null)
|
|
16231
16231
|
break;
|
|
16232
|
-
k =
|
|
16232
|
+
k = B, B = k.parentNode;
|
|
16233
16233
|
}
|
|
16234
16234
|
k = H;
|
|
16235
16235
|
}
|
|
@@ -16250,8 +16250,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16250
16250
|
if (D && k) {
|
|
16251
16251
|
if (c.rangeCount === 1 && c.anchorNode === D.node && c.anchorOffset === D.offset && c.focusNode === k.node && c.focusOffset === k.offset)
|
|
16252
16252
|
return;
|
|
16253
|
-
var
|
|
16254
|
-
|
|
16253
|
+
var B = l.createRange();
|
|
16254
|
+
B.setStart(D.node, D.offset), c.removeAllRanges(), y > b ? (c.addRange(B), c.extend(k.node, k.offset)) : (B.setEnd(k.node, k.offset), c.addRange(B));
|
|
16255
16255
|
}
|
|
16256
16256
|
}
|
|
16257
16257
|
}
|
|
@@ -16503,11 +16503,11 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16503
16503
|
}
|
|
16504
16504
|
var k = (v & Bo) !== 0;
|
|
16505
16505
|
{
|
|
16506
|
-
var
|
|
16506
|
+
var B = !k && // TODO: ideally, we'd eventually add all events from
|
|
16507
16507
|
// nonDelegatedEvents list in DOMPluginEventSystem.
|
|
16508
16508
|
// Then we can remove this special list.
|
|
16509
16509
|
// This is a breaking change that can wait until React 18.
|
|
16510
|
-
t === "scroll", H = $T(l, b, i.type, k,
|
|
16510
|
+
t === "scroll", H = $T(l, b, i.type, k, B);
|
|
16511
16511
|
if (H.length > 0) {
|
|
16512
16512
|
var X = new E(b, D, null, i, c);
|
|
16513
16513
|
e.push({
|
|
@@ -16522,7 +16522,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16522
16522
|
function MT(e, t, l, i, c, v, y) {
|
|
16523
16523
|
kT(e, t, l, i, c, v);
|
|
16524
16524
|
var b = (v & e0) === 0;
|
|
16525
|
-
b && (Te(e, t, l, i, c),
|
|
16525
|
+
b && (Te(e, t, l, i, c), j(e, t, l, i, c), DT(e, t, l, i, c), ff(e, t, l, i, c));
|
|
16526
16526
|
}
|
|
16527
16527
|
var fv = ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "encrypted", "ended", "error", "loadeddata", "loadedmetadata", "loadstart", "pause", "play", "playing", "progress", "ratechange", "resize", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange", "waiting"], D0 = new Set(["cancel", "close", "invalid", "load", "scroll", "toggle"].concat(fv));
|
|
16528
16528
|
function OC(e, t, l) {
|
|
@@ -16540,10 +16540,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16540
16540
|
}
|
|
16541
16541
|
else
|
|
16542
16542
|
for (var D = 0; D < t.length; D++) {
|
|
16543
|
-
var k = t[D],
|
|
16544
|
-
if (
|
|
16543
|
+
var k = t[D], B = k.instance, H = k.currentTarget, X = k.listener;
|
|
16544
|
+
if (B !== i && e.isPropagationStopped())
|
|
16545
16545
|
return;
|
|
16546
|
-
OC(e, X, H), i =
|
|
16546
|
+
OC(e, X, H), i = B;
|
|
16547
16547
|
}
|
|
16548
16548
|
}
|
|
16549
16549
|
function kC(e, t) {
|
|
@@ -16601,8 +16601,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16601
16601
|
break;
|
|
16602
16602
|
if (E === N)
|
|
16603
16603
|
for (var k = b.return; k !== null; ) {
|
|
16604
|
-
var
|
|
16605
|
-
if (
|
|
16604
|
+
var B = k.tag;
|
|
16605
|
+
if (B === _ || B === N) {
|
|
16606
16606
|
var H = k.stateNode.containerInfo;
|
|
16607
16607
|
if (LC(H, y))
|
|
16608
16608
|
return;
|
|
@@ -16638,7 +16638,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16638
16638
|
}
|
|
16639
16639
|
function $T(e, t, l, i, c, v) {
|
|
16640
16640
|
for (var y = t !== null ? t + "Capture" : null, b = i ? y : t, E = [], D = e, k = null; D !== null; ) {
|
|
16641
|
-
var
|
|
16641
|
+
var B = D, H = B.stateNode, X = B.tag;
|
|
16642
16642
|
if (X === O && H !== null && (k = H, b !== null)) {
|
|
16643
16643
|
var K = Yo(D, b);
|
|
16644
16644
|
K != null && E.push(vv(D, K, k));
|
|
@@ -16688,10 +16688,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16688
16688
|
}
|
|
16689
16689
|
function AC(e, t, l, i, c) {
|
|
16690
16690
|
for (var v = t._reactName, y = [], b = l; b !== null && b !== i; ) {
|
|
16691
|
-
var E = b, D = E.alternate, k = E.stateNode,
|
|
16691
|
+
var E = b, D = E.alternate, k = E.stateNode, B = E.tag;
|
|
16692
16692
|
if (D !== null && D === i)
|
|
16693
16693
|
break;
|
|
16694
|
-
if (
|
|
16694
|
+
if (B === O && k !== null) {
|
|
16695
16695
|
var H = k;
|
|
16696
16696
|
if (c) {
|
|
16697
16697
|
var X = Yo(b, v);
|
|
@@ -16902,9 +16902,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16902
16902
|
for (E in y)
|
|
16903
16903
|
if (!(b.hasOwnProperty(E) || !y.hasOwnProperty(E) || y[E] == null))
|
|
16904
16904
|
if (E === Oc) {
|
|
16905
|
-
var
|
|
16906
|
-
for (D in
|
|
16907
|
-
|
|
16905
|
+
var B = y[E];
|
|
16906
|
+
for (D in B)
|
|
16907
|
+
B.hasOwnProperty(D) && (k || (k = {}), k[D] = "");
|
|
16908
16908
|
} else
|
|
16909
16909
|
E === mv || E === Dc || E === Gh || E === hs || E === $C || (Nn.hasOwnProperty(E) ? v || (v = []) : (v = v || []).push(E, null));
|
|
16910
16910
|
for (E in b) {
|
|
@@ -16990,8 +16990,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
16990
16990
|
dd(t, l);
|
|
16991
16991
|
{
|
|
16992
16992
|
E = /* @__PURE__ */ new Set();
|
|
16993
|
-
for (var k = e.attributes,
|
|
16994
|
-
var H = k[
|
|
16993
|
+
for (var k = e.attributes, B = 0; B < k.length; B++) {
|
|
16994
|
+
var H = k[B].name.toLowerCase();
|
|
16995
16995
|
switch (H) {
|
|
16996
16996
|
case "value":
|
|
16997
16997
|
break;
|
|
@@ -17000,7 +17000,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17000
17000
|
case "selected":
|
|
17001
17001
|
break;
|
|
17002
17002
|
default:
|
|
17003
|
-
E.add(k[
|
|
17003
|
+
E.add(k[B].name);
|
|
17004
17004
|
}
|
|
17005
17005
|
}
|
|
17006
17006
|
}
|
|
@@ -17269,10 +17269,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17269
17269
|
var E = b.tag, D = !!v + "|" + e + "|" + E;
|
|
17270
17270
|
if (!VC[D]) {
|
|
17271
17271
|
VC[D] = !0;
|
|
17272
|
-
var k = e,
|
|
17273
|
-
if (e === "#text" ? /\S/.test(t) ? k = "Text nodes" : (k = "Whitespace text nodes",
|
|
17272
|
+
var k = e, B = "";
|
|
17273
|
+
if (e === "#text" ? /\S/.test(t) ? k = "Text nodes" : (k = "Whitespace text nodes", B = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : k = "<" + e + ">", v) {
|
|
17274
17274
|
var H = "";
|
|
17275
|
-
E === "table" && e === "tr" && (H += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", k, E,
|
|
17275
|
+
E === "table" && e === "tr" && (H += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", k, E, B, H);
|
|
17276
17276
|
} else
|
|
17277
17277
|
p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", k, E);
|
|
17278
17278
|
}
|
|
@@ -17757,7 +17757,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17757
17757
|
for (var y in i)
|
|
17758
17758
|
v[y] = t[y];
|
|
17759
17759
|
{
|
|
17760
|
-
var b =
|
|
17760
|
+
var b = St(e) || "Unknown";
|
|
17761
17761
|
Pi(i, v, "context", b);
|
|
17762
17762
|
}
|
|
17763
17763
|
return c && XC(e, t, v), v;
|
|
@@ -17790,7 +17790,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17790
17790
|
var i = e.stateNode, c = t.childContextTypes;
|
|
17791
17791
|
if (typeof i.getChildContext != "function") {
|
|
17792
17792
|
{
|
|
17793
|
-
var v =
|
|
17793
|
+
var v = St(e) || "Unknown";
|
|
17794
17794
|
W0[v] || (W0[v] = !0, p("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", v, v));
|
|
17795
17795
|
}
|
|
17796
17796
|
return l;
|
|
@@ -17798,9 +17798,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17798
17798
|
var y = i.getChildContext();
|
|
17799
17799
|
for (var b in y)
|
|
17800
17800
|
if (!(b in c))
|
|
17801
|
-
throw new Error((
|
|
17801
|
+
throw new Error((St(e) || "Unknown") + '.getChildContext(): key "' + b + '" is not defined in childContextTypes.');
|
|
17802
17802
|
{
|
|
17803
|
-
var E =
|
|
17803
|
+
var E = St(e) || "Unknown";
|
|
17804
17804
|
Pi(c, y, "child context", E);
|
|
17805
17805
|
}
|
|
17806
17806
|
return Ot({}, l, y);
|
|
@@ -17894,7 +17894,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17894
17894
|
Ac(), oi[ui++] = Su, oi[ui++] = bu, oi[ui++] = Mc, Mc = e;
|
|
17895
17895
|
var i = Su, c = bu, v = fg(i) - 1, y = i & ~(1 << v), b = l + 1, E = fg(t) + v;
|
|
17896
17896
|
if (E > 30) {
|
|
17897
|
-
var D = v - v % 5, k = (1 << D) - 1,
|
|
17897
|
+
var D = v - v % 5, k = (1 << D) - 1, B = (y & k).toString(32), H = y >> D, X = v - D, K = fg(t) + X, re = b << X, Ve = re | H, st = B + c;
|
|
17898
17898
|
Su = 1 << K | Ve, bu = st;
|
|
17899
17899
|
} else {
|
|
17900
17900
|
var tt = b << v, jt = tt | y, Pt = c;
|
|
@@ -18018,12 +18018,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18018
18018
|
break;
|
|
18019
18019
|
}
|
|
18020
18020
|
case A: {
|
|
18021
|
-
var
|
|
18021
|
+
var B = t.pendingProps, H = (e.mode & $t) !== ct;
|
|
18022
18022
|
aN(
|
|
18023
18023
|
v,
|
|
18024
18024
|
y,
|
|
18025
18025
|
b,
|
|
18026
|
-
|
|
18026
|
+
B,
|
|
18027
18027
|
// TODO: Delete this argument when we remove the legacy root API.
|
|
18028
18028
|
H
|
|
18029
18029
|
);
|
|
@@ -18233,27 +18233,27 @@ Check the render method of \`` + e + "`." : "";
|
|
|
18233
18233
|
}, Ui.flushPendingUnsafeLifecycleWarnings = function() {
|
|
18234
18234
|
var e = /* @__PURE__ */ new Set();
|
|
18235
18235
|
Rv.length > 0 && (Rv.forEach(function(H) {
|
|
18236
|
-
e.add(
|
|
18236
|
+
e.add(St(H) || "Component"), zc.add(H.type);
|
|
18237
18237
|
}), Rv = []);
|
|
18238
18238
|
var t = /* @__PURE__ */ new Set();
|
|
18239
18239
|
Tv.length > 0 && (Tv.forEach(function(H) {
|
|
18240
|
-
t.add(
|
|
18240
|
+
t.add(St(H) || "Component"), zc.add(H.type);
|
|
18241
18241
|
}), Tv = []);
|
|
18242
18242
|
var l = /* @__PURE__ */ new Set();
|
|
18243
18243
|
_v.length > 0 && (_v.forEach(function(H) {
|
|
18244
|
-
l.add(
|
|
18244
|
+
l.add(St(H) || "Component"), zc.add(H.type);
|
|
18245
18245
|
}), _v = []);
|
|
18246
18246
|
var i = /* @__PURE__ */ new Set();
|
|
18247
18247
|
Nv.length > 0 && (Nv.forEach(function(H) {
|
|
18248
|
-
i.add(
|
|
18248
|
+
i.add(St(H) || "Component"), zc.add(H.type);
|
|
18249
18249
|
}), Nv = []);
|
|
18250
18250
|
var c = /* @__PURE__ */ new Set();
|
|
18251
18251
|
Dv.length > 0 && (Dv.forEach(function(H) {
|
|
18252
|
-
c.add(
|
|
18252
|
+
c.add(St(H) || "Component"), zc.add(H.type);
|
|
18253
18253
|
}), Dv = []);
|
|
18254
18254
|
var v = /* @__PURE__ */ new Set();
|
|
18255
18255
|
if (Ov.length > 0 && (Ov.forEach(function(H) {
|
|
18256
|
-
v.add(
|
|
18256
|
+
v.add(St(H) || "Component"), zc.add(H.type);
|
|
18257
18257
|
}), Ov = []), t.size > 0) {
|
|
18258
18258
|
var y = Fc(t);
|
|
18259
18259
|
p(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
@@ -18299,13 +18299,13 @@ Please update the following components: %s`, D);
|
|
|
18299
18299
|
Please update the following components: %s`, k);
|
|
18300
18300
|
}
|
|
18301
18301
|
if (c.size > 0) {
|
|
18302
|
-
var
|
|
18302
|
+
var B = Fc(c);
|
|
18303
18303
|
h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
18304
18304
|
|
|
18305
18305
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
18306
18306
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
18307
18307
|
|
|
18308
|
-
Please update the following components: %s`,
|
|
18308
|
+
Please update the following components: %s`, B);
|
|
18309
18309
|
}
|
|
18310
18310
|
};
|
|
18311
18311
|
var vg = /* @__PURE__ */ new Map(), dx = /* @__PURE__ */ new Set();
|
|
@@ -18324,7 +18324,7 @@ Please update the following components: %s`, j);
|
|
|
18324
18324
|
if (e.length !== 0) {
|
|
18325
18325
|
var l = e[0], i = /* @__PURE__ */ new Set();
|
|
18326
18326
|
e.forEach(function(v) {
|
|
18327
|
-
i.add(
|
|
18327
|
+
i.add(St(v) || "Component"), dx.add(v.type);
|
|
18328
18328
|
});
|
|
18329
18329
|
var c = Fc(i);
|
|
18330
18330
|
try {
|
|
@@ -18397,8 +18397,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, c)
|
|
|
18397
18397
|
E.tag = Sg;
|
|
18398
18398
|
var D = i.updateQueue;
|
|
18399
18399
|
if (D !== null) {
|
|
18400
|
-
var k = D.shared,
|
|
18401
|
-
|
|
18400
|
+
var k = D.shared, B = k.pending;
|
|
18401
|
+
B === null ? E.next = E : (E.next = B.next, B.next = E), k.pending = E;
|
|
18402
18402
|
}
|
|
18403
18403
|
}
|
|
18404
18404
|
i.lanes = Dt(i.lanes, l);
|
|
@@ -18671,8 +18671,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, c)
|
|
|
18671
18671
|
E.next = null, y === null ? v = D : y.next = D, y = E;
|
|
18672
18672
|
var k = e.alternate;
|
|
18673
18673
|
if (k !== null) {
|
|
18674
|
-
var
|
|
18675
|
-
H !== y && (H === null ?
|
|
18674
|
+
var B = k.updateQueue, H = B.lastBaseUpdate;
|
|
18675
|
+
H !== y && (H === null ? B.firstBaseUpdate = D : H.next = D, B.lastBaseUpdate = E);
|
|
18676
18676
|
}
|
|
18677
18677
|
}
|
|
18678
18678
|
if (v !== null) {
|
|
@@ -18876,10 +18876,10 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, c)
|
|
|
18876
18876
|
gr(!1);
|
|
18877
18877
|
}
|
|
18878
18878
|
}
|
|
18879
|
-
var
|
|
18879
|
+
var B = e.memoizedState = k.state !== null && k.state !== void 0 ? k.state : null;
|
|
18880
18880
|
Rx(e, k);
|
|
18881
18881
|
{
|
|
18882
|
-
if (typeof t.getDerivedStateFromProps == "function" &&
|
|
18882
|
+
if (typeof t.getDerivedStateFromProps == "function" && B === null) {
|
|
18883
18883
|
var H = It(t) || "Component";
|
|
18884
18884
|
yS.has(H) || (yS.add(H), p("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", H, k.state === null ? "null" : "undefined", H));
|
|
18885
18885
|
}
|
|
@@ -18903,13 +18903,13 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
18903
18903
|
}
|
|
18904
18904
|
function HN(e, t) {
|
|
18905
18905
|
var l = t.state;
|
|
18906
|
-
typeof t.componentWillMount == "function" && t.componentWillMount(), typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), l !== t.state && (p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
|
|
18906
|
+
typeof t.componentWillMount == "function" && t.componentWillMount(), typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), l !== t.state && (p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", St(e) || "Component"), TS.enqueueReplaceState(t, t.state, null));
|
|
18907
18907
|
}
|
|
18908
18908
|
function _x(e, t, l, i) {
|
|
18909
18909
|
var c = t.state;
|
|
18910
18910
|
if (typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(l, i), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(l, i), t.state !== c) {
|
|
18911
18911
|
{
|
|
18912
|
-
var v =
|
|
18912
|
+
var v = St(e) || "Component";
|
|
18913
18913
|
gS.has(v) || (gS.add(v), p("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", v));
|
|
18914
18914
|
}
|
|
18915
18915
|
TS.enqueueReplaceState(t, t.state, null);
|
|
@@ -18950,8 +18950,8 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
18950
18950
|
var D = bf(e, t, !0);
|
|
18951
18951
|
E = Cf(e, D);
|
|
18952
18952
|
}
|
|
18953
|
-
var k = t.getDerivedStateFromProps,
|
|
18954
|
-
!
|
|
18953
|
+
var k = t.getDerivedStateFromProps, B = typeof k == "function" || typeof c.getSnapshotBeforeUpdate == "function";
|
|
18954
|
+
!B && (typeof c.UNSAFE_componentWillReceiveProps == "function" || typeof c.componentWillReceiveProps == "function") && (v !== l || y !== E) && _x(e, c, l, E), Sx();
|
|
18955
18955
|
var H = e.memoizedState, X = c.state = H;
|
|
18956
18956
|
if (Eg(e, l, c, i), X = e.memoizedState, v === l && H === X && !ig() && !wg()) {
|
|
18957
18957
|
if (typeof c.componentDidMount == "function") {
|
|
@@ -18963,7 +18963,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
18963
18963
|
typeof k == "function" && (RS(e, t, k, l), X = e.memoizedState);
|
|
18964
18964
|
var re = wg() || wx(e, t, v, l, H, X, E);
|
|
18965
18965
|
if (re) {
|
|
18966
|
-
if (!
|
|
18966
|
+
if (!B && (typeof c.UNSAFE_componentWillMount == "function" || typeof c.componentWillMount == "function") && (typeof c.componentWillMount == "function" && c.componentWillMount(), typeof c.UNSAFE_componentWillMount == "function" && c.UNSAFE_componentWillMount()), typeof c.componentDidMount == "function") {
|
|
18967
18967
|
var Ve = Nt;
|
|
18968
18968
|
Ve |= Na, (e.mode & Sl) !== ct && (Ve |= Da), e.flags |= Ve;
|
|
18969
18969
|
}
|
|
@@ -18981,25 +18981,25 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
18981
18981
|
yx(e, t);
|
|
18982
18982
|
var y = t.memoizedProps, b = t.type === t.elementType ? y : Hi(t.type, y);
|
|
18983
18983
|
v.props = b;
|
|
18984
|
-
var E = t.pendingProps, D = v.context, k = l.contextType,
|
|
18984
|
+
var E = t.pendingProps, D = v.context, k = l.contextType, B = jl;
|
|
18985
18985
|
if (typeof k == "object" && k !== null)
|
|
18986
|
-
|
|
18986
|
+
B = Mr(k);
|
|
18987
18987
|
else {
|
|
18988
18988
|
var H = bf(t, l, !0);
|
|
18989
|
-
|
|
18989
|
+
B = Cf(t, H);
|
|
18990
18990
|
}
|
|
18991
18991
|
var X = l.getDerivedStateFromProps, K = typeof X == "function" || typeof v.getSnapshotBeforeUpdate == "function";
|
|
18992
|
-
!K && (typeof v.UNSAFE_componentWillReceiveProps == "function" || typeof v.componentWillReceiveProps == "function") && (y !== E || D !==
|
|
18992
|
+
!K && (typeof v.UNSAFE_componentWillReceiveProps == "function" || typeof v.componentWillReceiveProps == "function") && (y !== E || D !== B) && _x(t, v, i, B), Sx();
|
|
18993
18993
|
var re = t.memoizedState, Ve = v.state = re;
|
|
18994
18994
|
if (Eg(t, i, v, c), Ve = t.memoizedState, y === E && re === Ve && !ig() && !wg() && !xe)
|
|
18995
18995
|
return typeof v.componentDidUpdate == "function" && (y !== e.memoizedProps || re !== e.memoizedState) && (t.flags |= Nt), typeof v.getSnapshotBeforeUpdate == "function" && (y !== e.memoizedProps || re !== e.memoizedState) && (t.flags |= ml), !1;
|
|
18996
18996
|
typeof X == "function" && (RS(t, l, X, i), Ve = t.memoizedState);
|
|
18997
|
-
var st = wg() || wx(t, l, b, i, re, Ve,
|
|
18997
|
+
var st = wg() || wx(t, l, b, i, re, Ve, B) || // TODO: In some cases, we'll end up checking if context has changed twice,
|
|
18998
18998
|
// both before and after `shouldComponentUpdate` has been called. Not ideal,
|
|
18999
18999
|
// but I'm loath to refactor this function. This only happens for memoized
|
|
19000
19000
|
// components so it's not that common.
|
|
19001
19001
|
xe;
|
|
19002
|
-
return st ? (!K && (typeof v.UNSAFE_componentWillUpdate == "function" || typeof v.componentWillUpdate == "function") && (typeof v.componentWillUpdate == "function" && v.componentWillUpdate(i, Ve,
|
|
19002
|
+
return st ? (!K && (typeof v.UNSAFE_componentWillUpdate == "function" || typeof v.componentWillUpdate == "function") && (typeof v.componentWillUpdate == "function" && v.componentWillUpdate(i, Ve, B), typeof v.UNSAFE_componentWillUpdate == "function" && v.UNSAFE_componentWillUpdate(i, Ve, B)), typeof v.componentDidUpdate == "function" && (t.flags |= Nt), typeof v.getSnapshotBeforeUpdate == "function" && (t.flags |= ml)) : (typeof v.componentDidUpdate == "function" && (y !== e.memoizedProps || re !== e.memoizedState) && (t.flags |= Nt), typeof v.getSnapshotBeforeUpdate == "function" && (y !== e.memoizedProps || re !== e.memoizedState) && (t.flags |= ml), t.memoizedProps = i, t.memoizedState = Ve), v.props = i, v.state = Ve, v.context = B, st;
|
|
19003
19003
|
}
|
|
19004
19004
|
var NS, DS, OS, kS, MS, Nx = function(e, t) {
|
|
19005
19005
|
};
|
|
@@ -19008,7 +19008,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
19008
19008
|
if (typeof e._store != "object")
|
|
19009
19009
|
throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
|
|
19010
19010
|
e._store.validated = !0;
|
|
19011
|
-
var l =
|
|
19011
|
+
var l = St(t) || "Component";
|
|
19012
19012
|
kS[l] || (kS[l] = !0, p('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'));
|
|
19013
19013
|
}
|
|
19014
19014
|
};
|
|
@@ -19019,7 +19019,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
19019
19019
|
// because these cannot be automatically converted to an arrow function
|
|
19020
19020
|
// using a codemod. Therefore, we don't have to warn about string refs again.
|
|
19021
19021
|
!(l._owner && l._self && l._owner.stateNode !== l._self)) {
|
|
19022
|
-
var c =
|
|
19022
|
+
var c = St(e) || "Component";
|
|
19023
19023
|
OS[c] || (p('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', i), OS[c] = !0);
|
|
19024
19024
|
}
|
|
19025
19025
|
if (l._owner) {
|
|
@@ -19037,9 +19037,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Ve, st, X !== null ? `
|
|
|
19037
19037
|
var D = "" + i;
|
|
19038
19038
|
if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === D)
|
|
19039
19039
|
return t.ref;
|
|
19040
|
-
var k = function(
|
|
19040
|
+
var k = function(B) {
|
|
19041
19041
|
var H = E.refs;
|
|
19042
|
-
H === Cx && (H = E.refs = {}),
|
|
19042
|
+
H === Cx && (H = E.refs = {}), B === null ? delete H[D] : H[D] = B;
|
|
19043
19043
|
};
|
|
19044
19044
|
return k._stringRef = D, k;
|
|
19045
19045
|
} else {
|
|
@@ -19061,7 +19061,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
19061
19061
|
}
|
|
19062
19062
|
function _g(e) {
|
|
19063
19063
|
{
|
|
19064
|
-
var t =
|
|
19064
|
+
var t = St(e) || "Component";
|
|
19065
19065
|
if (MS[t])
|
|
19066
19066
|
return;
|
|
19067
19067
|
MS[t] = !0, p("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
|
|
@@ -19150,7 +19150,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
19150
19150
|
return vt.return = Q, vt;
|
|
19151
19151
|
}
|
|
19152
19152
|
}
|
|
19153
|
-
function
|
|
19153
|
+
function B(Q, ae, W) {
|
|
19154
19154
|
if (typeof ae == "string" && ae !== "" || typeof ae == "number") {
|
|
19155
19155
|
var be = l1("" + ae, Q.mode, W);
|
|
19156
19156
|
return be.return = Q, be;
|
|
@@ -19167,7 +19167,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
19167
19167
|
}
|
|
19168
19168
|
case ut: {
|
|
19169
19169
|
var vt = ae._payload, xt = ae._init;
|
|
19170
|
-
return
|
|
19170
|
+
return B(Q, xt(vt), W);
|
|
19171
19171
|
}
|
|
19172
19172
|
}
|
|
19173
19173
|
if (Rr(ae) || Fl(ae)) {
|
|
@@ -19278,7 +19278,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
19278
19278
|
}
|
|
19279
19279
|
if (en === null) {
|
|
19280
19280
|
for (; tn < W.length; tn++) {
|
|
19281
|
-
var Gl =
|
|
19281
|
+
var Gl = B(Q, W[tn], be);
|
|
19282
19282
|
Gl !== null && (xr = v(Gl, xr, tn), yn === null ? xt = Gl : yn.sibling = Gl, yn = Gl);
|
|
19283
19283
|
}
|
|
19284
19284
|
if (pa()) {
|
|
@@ -19334,7 +19334,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
19334
19334
|
}
|
|
19335
19335
|
if (pr === null) {
|
|
19336
19336
|
for (; !rl.done; ba++, rl = en.next()) {
|
|
19337
|
-
var _u =
|
|
19337
|
+
var _u = B(Q, rl.value, be);
|
|
19338
19338
|
_u !== null && (Pa = v(_u, Pa, ba), tn === null ? xr = _u : tn.sibling = _u, tn = _u);
|
|
19339
19339
|
}
|
|
19340
19340
|
if (pa()) {
|
|
@@ -19584,7 +19584,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
19584
19584
|
}
|
|
19585
19585
|
function ZN(e) {
|
|
19586
19586
|
{
|
|
19587
|
-
var t =
|
|
19587
|
+
var t = St(gn);
|
|
19588
19588
|
if (!US.has(t) && (US.add(t), ci !== null)) {
|
|
19589
19589
|
for (var l = "", i = 30, c = 0; c <= Rs; c++) {
|
|
19590
19590
|
for (var v = ci[c], y = c === Rs ? e : v, b = c + 1 + ". " + v; b.length < i; )
|
|
@@ -19734,7 +19734,7 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
19734
19734
|
v.baseQueue !== y && p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), v.baseQueue = y = b, c.pending = null;
|
|
19735
19735
|
}
|
|
19736
19736
|
if (y !== null) {
|
|
19737
|
-
var k = y.next,
|
|
19737
|
+
var k = y.next, B = v.baseState, H = null, X = null, K = null, re = k;
|
|
19738
19738
|
do {
|
|
19739
19739
|
var Ve = re.lane;
|
|
19740
19740
|
if (lu(Ic, Ve)) {
|
|
@@ -19752,10 +19752,10 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
19752
19752
|
K = K.next = tt;
|
|
19753
19753
|
}
|
|
19754
19754
|
if (re.hasEagerState)
|
|
19755
|
-
|
|
19755
|
+
B = re.eagerState;
|
|
19756
19756
|
else {
|
|
19757
19757
|
var jt = re.action;
|
|
19758
|
-
|
|
19758
|
+
B = e(B, jt);
|
|
19759
19759
|
}
|
|
19760
19760
|
} else {
|
|
19761
19761
|
var st = {
|
|
@@ -19765,11 +19765,11 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
19765
19765
|
eagerState: re.eagerState,
|
|
19766
19766
|
next: null
|
|
19767
19767
|
};
|
|
19768
|
-
K === null ? (X = K = st, H =
|
|
19768
|
+
K === null ? (X = K = st, H = B) : K = K.next = st, gn.lanes = Dt(gn.lanes, Ve), nm(Ve);
|
|
19769
19769
|
}
|
|
19770
19770
|
re = re.next;
|
|
19771
19771
|
} while (re !== null && re !== k);
|
|
19772
|
-
K === null ? H =
|
|
19772
|
+
K === null ? H = B : K.next = X, Ye(B, i.memoizedState) || Bv(), i.memoizedState = B, i.baseState = H, i.baseQueue = K, c.lastRenderedState = B;
|
|
19773
19773
|
}
|
|
19774
19774
|
var Pt = c.interleaved;
|
|
19775
19775
|
if (Pt !== null) {
|
|
@@ -20157,8 +20157,8 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20157
20157
|
}
|
|
20158
20158
|
var k = mx(e, t, c, i);
|
|
20159
20159
|
if (k !== null) {
|
|
20160
|
-
var
|
|
20161
|
-
Yr(k, e, i,
|
|
20160
|
+
var B = nl();
|
|
20161
|
+
Yr(k, e, i, B), Jx(k, t, i);
|
|
20162
20162
|
}
|
|
20163
20163
|
}
|
|
20164
20164
|
eE(e, i);
|
|
@@ -20206,7 +20206,7 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20206
20206
|
{
|
|
20207
20207
|
var lb = function() {
|
|
20208
20208
|
p("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
20209
|
-
},
|
|
20209
|
+
}, bt = function() {
|
|
20210
20210
|
p("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks");
|
|
20211
20211
|
};
|
|
20212
20212
|
tE = {
|
|
@@ -20510,25 +20510,25 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20510
20510
|
return lb(), Mr(e);
|
|
20511
20511
|
},
|
|
20512
20512
|
useCallback: function(e, t) {
|
|
20513
|
-
return de = "useCallback",
|
|
20513
|
+
return de = "useCallback", bt(), sn(), eb(e, t);
|
|
20514
20514
|
},
|
|
20515
20515
|
useContext: function(e) {
|
|
20516
|
-
return de = "useContext",
|
|
20516
|
+
return de = "useContext", bt(), sn(), Mr(e);
|
|
20517
20517
|
},
|
|
20518
20518
|
useEffect: function(e, t) {
|
|
20519
|
-
return de = "useEffect",
|
|
20519
|
+
return de = "useEffect", bt(), sn(), Fg(e, t);
|
|
20520
20520
|
},
|
|
20521
20521
|
useImperativeHandle: function(e, t, l) {
|
|
20522
|
-
return de = "useImperativeHandle",
|
|
20522
|
+
return de = "useImperativeHandle", bt(), sn(), JS(e, t, l);
|
|
20523
20523
|
},
|
|
20524
20524
|
useInsertionEffect: function(e, t) {
|
|
20525
|
-
return de = "useInsertionEffect",
|
|
20525
|
+
return de = "useInsertionEffect", bt(), sn(), KS(e, t);
|
|
20526
20526
|
},
|
|
20527
20527
|
useLayoutEffect: function(e, t) {
|
|
20528
|
-
return de = "useLayoutEffect",
|
|
20528
|
+
return de = "useLayoutEffect", bt(), sn(), ZS(e, t);
|
|
20529
20529
|
},
|
|
20530
20530
|
useMemo: function(e, t) {
|
|
20531
|
-
de = "useMemo",
|
|
20531
|
+
de = "useMemo", bt(), sn();
|
|
20532
20532
|
var l = He.current;
|
|
20533
20533
|
He.current = To;
|
|
20534
20534
|
try {
|
|
@@ -20538,7 +20538,7 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20538
20538
|
}
|
|
20539
20539
|
},
|
|
20540
20540
|
useReducer: function(e, t, l) {
|
|
20541
|
-
de = "useReducer",
|
|
20541
|
+
de = "useReducer", bt(), sn();
|
|
20542
20542
|
var i = He.current;
|
|
20543
20543
|
He.current = To;
|
|
20544
20544
|
try {
|
|
@@ -20548,10 +20548,10 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20548
20548
|
}
|
|
20549
20549
|
},
|
|
20550
20550
|
useRef: function(e) {
|
|
20551
|
-
return de = "useRef",
|
|
20551
|
+
return de = "useRef", bt(), sn(), XS(e);
|
|
20552
20552
|
},
|
|
20553
20553
|
useState: function(e) {
|
|
20554
|
-
de = "useState",
|
|
20554
|
+
de = "useState", bt(), sn();
|
|
20555
20555
|
var t = He.current;
|
|
20556
20556
|
He.current = To;
|
|
20557
20557
|
try {
|
|
@@ -20561,22 +20561,22 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20561
20561
|
}
|
|
20562
20562
|
},
|
|
20563
20563
|
useDebugValue: function(e, t) {
|
|
20564
|
-
return de = "useDebugValue",
|
|
20564
|
+
return de = "useDebugValue", bt(), sn(), void 0;
|
|
20565
20565
|
},
|
|
20566
20566
|
useDeferredValue: function(e) {
|
|
20567
|
-
return de = "useDeferredValue",
|
|
20567
|
+
return de = "useDeferredValue", bt(), sn(), nb(e);
|
|
20568
20568
|
},
|
|
20569
20569
|
useTransition: function() {
|
|
20570
|
-
return de = "useTransition",
|
|
20570
|
+
return de = "useTransition", bt(), sn(), rb();
|
|
20571
20571
|
},
|
|
20572
20572
|
useMutableSource: function(e, t, l) {
|
|
20573
|
-
return de = "useMutableSource",
|
|
20573
|
+
return de = "useMutableSource", bt(), sn(), void 0;
|
|
20574
20574
|
},
|
|
20575
20575
|
useSyncExternalStore: function(e, t, l) {
|
|
20576
|
-
return de = "useSyncExternalStore",
|
|
20576
|
+
return de = "useSyncExternalStore", bt(), sn(), QS(e, t, l);
|
|
20577
20577
|
},
|
|
20578
20578
|
useId: function() {
|
|
20579
|
-
return de = "useId",
|
|
20579
|
+
return de = "useId", bt(), sn(), ab();
|
|
20580
20580
|
},
|
|
20581
20581
|
unstable_isNewReconciler: ce
|
|
20582
20582
|
}, ji = {
|
|
@@ -20584,25 +20584,25 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20584
20584
|
return lb(), Mr(e);
|
|
20585
20585
|
},
|
|
20586
20586
|
useCallback: function(e, t) {
|
|
20587
|
-
return de = "useCallback",
|
|
20587
|
+
return de = "useCallback", bt(), Le(), Hg(e, t);
|
|
20588
20588
|
},
|
|
20589
20589
|
useContext: function(e) {
|
|
20590
|
-
return de = "useContext",
|
|
20590
|
+
return de = "useContext", bt(), Le(), Mr(e);
|
|
20591
20591
|
},
|
|
20592
20592
|
useEffect: function(e, t) {
|
|
20593
|
-
return de = "useEffect",
|
|
20593
|
+
return de = "useEffect", bt(), Le(), Uv(e, t);
|
|
20594
20594
|
},
|
|
20595
20595
|
useImperativeHandle: function(e, t, l) {
|
|
20596
|
-
return de = "useImperativeHandle",
|
|
20596
|
+
return de = "useImperativeHandle", bt(), Le(), Ig(e, t, l);
|
|
20597
20597
|
},
|
|
20598
20598
|
useInsertionEffect: function(e, t) {
|
|
20599
|
-
return de = "useInsertionEffect",
|
|
20599
|
+
return de = "useInsertionEffect", bt(), Le(), zg(e, t);
|
|
20600
20600
|
},
|
|
20601
20601
|
useLayoutEffect: function(e, t) {
|
|
20602
|
-
return de = "useLayoutEffect",
|
|
20602
|
+
return de = "useLayoutEffect", bt(), Le(), Pg(e, t);
|
|
20603
20603
|
},
|
|
20604
20604
|
useMemo: function(e, t) {
|
|
20605
|
-
de = "useMemo",
|
|
20605
|
+
de = "useMemo", bt(), Le();
|
|
20606
20606
|
var l = He.current;
|
|
20607
20607
|
He.current = ji;
|
|
20608
20608
|
try {
|
|
@@ -20612,7 +20612,7 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20612
20612
|
}
|
|
20613
20613
|
},
|
|
20614
20614
|
useReducer: function(e, t, l) {
|
|
20615
|
-
de = "useReducer",
|
|
20615
|
+
de = "useReducer", bt(), Le();
|
|
20616
20616
|
var i = He.current;
|
|
20617
20617
|
He.current = ji;
|
|
20618
20618
|
try {
|
|
@@ -20622,10 +20622,10 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20622
20622
|
}
|
|
20623
20623
|
},
|
|
20624
20624
|
useRef: function(e) {
|
|
20625
|
-
return de = "useRef",
|
|
20625
|
+
return de = "useRef", bt(), Le(), Ag();
|
|
20626
20626
|
},
|
|
20627
20627
|
useState: function(e) {
|
|
20628
|
-
de = "useState",
|
|
20628
|
+
de = "useState", bt(), Le();
|
|
20629
20629
|
var t = He.current;
|
|
20630
20630
|
He.current = ji;
|
|
20631
20631
|
try {
|
|
@@ -20635,22 +20635,22 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20635
20635
|
}
|
|
20636
20636
|
},
|
|
20637
20637
|
useDebugValue: function(e, t) {
|
|
20638
|
-
return de = "useDebugValue",
|
|
20638
|
+
return de = "useDebugValue", bt(), Le(), Ug();
|
|
20639
20639
|
},
|
|
20640
20640
|
useDeferredValue: function(e) {
|
|
20641
|
-
return de = "useDeferredValue",
|
|
20641
|
+
return de = "useDeferredValue", bt(), Le(), Gx(e);
|
|
20642
20642
|
},
|
|
20643
20643
|
useTransition: function() {
|
|
20644
|
-
return de = "useTransition",
|
|
20644
|
+
return de = "useTransition", bt(), Le(), Wx();
|
|
20645
20645
|
},
|
|
20646
20646
|
useMutableSource: function(e, t, l) {
|
|
20647
|
-
return de = "useMutableSource",
|
|
20647
|
+
return de = "useMutableSource", bt(), Le(), void 0;
|
|
20648
20648
|
},
|
|
20649
20649
|
useSyncExternalStore: function(e, t, l) {
|
|
20650
|
-
return de = "useSyncExternalStore",
|
|
20650
|
+
return de = "useSyncExternalStore", bt(), Le(), Mg(e, t);
|
|
20651
20651
|
},
|
|
20652
20652
|
useId: function() {
|
|
20653
|
-
return de = "useId",
|
|
20653
|
+
return de = "useId", bt(), Le(), jg();
|
|
20654
20654
|
},
|
|
20655
20655
|
unstable_isNewReconciler: ce
|
|
20656
20656
|
}, Gg = {
|
|
@@ -20658,25 +20658,25 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20658
20658
|
return lb(), Mr(e);
|
|
20659
20659
|
},
|
|
20660
20660
|
useCallback: function(e, t) {
|
|
20661
|
-
return de = "useCallback",
|
|
20661
|
+
return de = "useCallback", bt(), Le(), Hg(e, t);
|
|
20662
20662
|
},
|
|
20663
20663
|
useContext: function(e) {
|
|
20664
|
-
return de = "useContext",
|
|
20664
|
+
return de = "useContext", bt(), Le(), Mr(e);
|
|
20665
20665
|
},
|
|
20666
20666
|
useEffect: function(e, t) {
|
|
20667
|
-
return de = "useEffect",
|
|
20667
|
+
return de = "useEffect", bt(), Le(), Uv(e, t);
|
|
20668
20668
|
},
|
|
20669
20669
|
useImperativeHandle: function(e, t, l) {
|
|
20670
|
-
return de = "useImperativeHandle",
|
|
20670
|
+
return de = "useImperativeHandle", bt(), Le(), Ig(e, t, l);
|
|
20671
20671
|
},
|
|
20672
20672
|
useInsertionEffect: function(e, t) {
|
|
20673
|
-
return de = "useInsertionEffect",
|
|
20673
|
+
return de = "useInsertionEffect", bt(), Le(), zg(e, t);
|
|
20674
20674
|
},
|
|
20675
20675
|
useLayoutEffect: function(e, t) {
|
|
20676
|
-
return de = "useLayoutEffect",
|
|
20676
|
+
return de = "useLayoutEffect", bt(), Le(), Pg(e, t);
|
|
20677
20677
|
},
|
|
20678
20678
|
useMemo: function(e, t) {
|
|
20679
|
-
de = "useMemo",
|
|
20679
|
+
de = "useMemo", bt(), Le();
|
|
20680
20680
|
var l = He.current;
|
|
20681
20681
|
He.current = ji;
|
|
20682
20682
|
try {
|
|
@@ -20686,7 +20686,7 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20686
20686
|
}
|
|
20687
20687
|
},
|
|
20688
20688
|
useReducer: function(e, t, l) {
|
|
20689
|
-
de = "useReducer",
|
|
20689
|
+
de = "useReducer", bt(), Le();
|
|
20690
20690
|
var i = He.current;
|
|
20691
20691
|
He.current = ji;
|
|
20692
20692
|
try {
|
|
@@ -20696,10 +20696,10 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20696
20696
|
}
|
|
20697
20697
|
},
|
|
20698
20698
|
useRef: function(e) {
|
|
20699
|
-
return de = "useRef",
|
|
20699
|
+
return de = "useRef", bt(), Le(), Ag();
|
|
20700
20700
|
},
|
|
20701
20701
|
useState: function(e) {
|
|
20702
|
-
de = "useState",
|
|
20702
|
+
de = "useState", bt(), Le();
|
|
20703
20703
|
var t = He.current;
|
|
20704
20704
|
He.current = ji;
|
|
20705
20705
|
try {
|
|
@@ -20709,22 +20709,22 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20709
20709
|
}
|
|
20710
20710
|
},
|
|
20711
20711
|
useDebugValue: function(e, t) {
|
|
20712
|
-
return de = "useDebugValue",
|
|
20712
|
+
return de = "useDebugValue", bt(), Le(), Ug();
|
|
20713
20713
|
},
|
|
20714
20714
|
useDeferredValue: function(e) {
|
|
20715
|
-
return de = "useDeferredValue",
|
|
20715
|
+
return de = "useDeferredValue", bt(), Le(), Yx(e);
|
|
20716
20716
|
},
|
|
20717
20717
|
useTransition: function() {
|
|
20718
|
-
return de = "useTransition",
|
|
20718
|
+
return de = "useTransition", bt(), Le(), qx();
|
|
20719
20719
|
},
|
|
20720
20720
|
useMutableSource: function(e, t, l) {
|
|
20721
|
-
return de = "useMutableSource",
|
|
20721
|
+
return de = "useMutableSource", bt(), Le(), void 0;
|
|
20722
20722
|
},
|
|
20723
20723
|
useSyncExternalStore: function(e, t, l) {
|
|
20724
|
-
return de = "useSyncExternalStore",
|
|
20724
|
+
return de = "useSyncExternalStore", bt(), Le(), Mg(e, t);
|
|
20725
20725
|
},
|
|
20726
20726
|
useId: function() {
|
|
20727
|
-
return de = "useId",
|
|
20727
|
+
return de = "useId", bt(), Le(), jg();
|
|
20728
20728
|
},
|
|
20729
20729
|
unstable_isNewReconciler: ce
|
|
20730
20730
|
};
|
|
@@ -20838,19 +20838,19 @@ Incoming: %s`, de, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20838
20838
|
return;
|
|
20839
20839
|
console.error(i);
|
|
20840
20840
|
}
|
|
20841
|
-
var b = c ?
|
|
20841
|
+
var b = c ? St(c) : null, E = b ? "The above error occurred in the <" + b + "> component:" : "The above error occurred in one of your React components:", D;
|
|
20842
20842
|
if (e.tag === _)
|
|
20843
20843
|
D = `Consider adding an error boundary to your tree to customize error handling behavior.
|
|
20844
20844
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
|
|
20845
20845
|
else {
|
|
20846
|
-
var k =
|
|
20846
|
+
var k = St(e) || "Anonymous";
|
|
20847
20847
|
D = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + k + ".");
|
|
20848
20848
|
}
|
|
20849
|
-
var
|
|
20849
|
+
var B = E + `
|
|
20850
20850
|
` + y + `
|
|
20851
20851
|
|
|
20852
20852
|
` + ("" + D);
|
|
20853
|
-
console.error(
|
|
20853
|
+
console.error(B);
|
|
20854
20854
|
} catch (H) {
|
|
20855
20855
|
setTimeout(function() {
|
|
20856
20856
|
throw H;
|
|
@@ -20886,7 +20886,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
20886
20886
|
var E = t.value, D = t.stack;
|
|
20887
20887
|
this.componentDidCatch(E, {
|
|
20888
20888
|
componentStack: D !== null ? D : ""
|
|
20889
|
-
}), typeof c != "function" && (Aa(e.lanes, ft) || p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",
|
|
20889
|
+
}), typeof c != "function" && (Aa(e.lanes, ft) || p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", St(e) || "Unknown"));
|
|
20890
20890
|
}), i;
|
|
20891
20891
|
}
|
|
20892
20892
|
function dE(e, t, l) {
|
|
@@ -20972,9 +20972,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
20972
20972
|
case _: {
|
|
20973
20973
|
var k = i;
|
|
20974
20974
|
D.flags |= _r;
|
|
20975
|
-
var
|
|
20976
|
-
D.lanes = Dt(D.lanes,
|
|
20977
|
-
var H = cE(D, k,
|
|
20975
|
+
var B = yr(c);
|
|
20976
|
+
D.lanes = Dt(D.lanes, B);
|
|
20977
|
+
var H = cE(D, k, B);
|
|
20978
20978
|
mS(D, H);
|
|
20979
20979
|
return;
|
|
20980
20980
|
}
|
|
@@ -21061,14 +21061,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21061
21061
|
It(D)
|
|
21062
21062
|
);
|
|
21063
21063
|
}
|
|
21064
|
-
var
|
|
21064
|
+
var B = e.child, H = _b(e, c);
|
|
21065
21065
|
if (!H) {
|
|
21066
|
-
var X =
|
|
21066
|
+
var X = B.memoizedProps, K = l.compare;
|
|
21067
21067
|
if (K = K !== null ? K : at, K(X, i) && e.ref === t.ref)
|
|
21068
21068
|
return xu(e, t, c);
|
|
21069
21069
|
}
|
|
21070
21070
|
t.flags |= ao;
|
|
21071
|
-
var re = Yc(
|
|
21071
|
+
var re = Yc(B, i);
|
|
21072
21072
|
return re.ref = t.ref, re.return = t, t.child = re, re;
|
|
21073
21073
|
}
|
|
21074
21074
|
function hE(e, t, l, i, c) {
|
|
@@ -21113,12 +21113,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21113
21113
|
};
|
|
21114
21114
|
t.memoizedState = y, sy(t, l);
|
|
21115
21115
|
} else if (Aa(l, La)) {
|
|
21116
|
-
var
|
|
21116
|
+
var B = {
|
|
21117
21117
|
baseLanes: ue,
|
|
21118
21118
|
cachePool: null,
|
|
21119
21119
|
transitions: null
|
|
21120
21120
|
};
|
|
21121
|
-
t.memoizedState =
|
|
21121
|
+
t.memoizedState = B;
|
|
21122
21122
|
var H = v !== null ? v.baseLanes : l;
|
|
21123
21123
|
sy(t, H);
|
|
21124
21124
|
} else {
|
|
@@ -21208,8 +21208,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21208
21208
|
t.flags |= mt, t.flags |= _r;
|
|
21209
21209
|
var D = new Error("Simulated error coming from DevTools"), k = yr(c);
|
|
21210
21210
|
t.lanes = Dt(t.lanes, k);
|
|
21211
|
-
var
|
|
21212
|
-
mS(t,
|
|
21211
|
+
var B = pb(t, Uc(D, t), k);
|
|
21212
|
+
mS(t, B);
|
|
21213
21213
|
break;
|
|
21214
21214
|
}
|
|
21215
21215
|
}
|
|
@@ -21231,7 +21231,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21231
21231
|
var Ve = bb(e, t, l, re, X, c);
|
|
21232
21232
|
{
|
|
21233
21233
|
var st = t.stateNode;
|
|
21234
|
-
re && st.props !== i && (Hc || p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",
|
|
21234
|
+
re && st.props !== i && (Hc || p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", St(t) || "a component"), Hc = !0);
|
|
21235
21235
|
}
|
|
21236
21236
|
return Ve;
|
|
21237
21237
|
}
|
|
@@ -21286,8 +21286,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21286
21286
|
var k = Uc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
|
|
21287
21287
|
return CE(e, t, b, l, k);
|
|
21288
21288
|
} else if (b !== v) {
|
|
21289
|
-
var
|
|
21290
|
-
return CE(e, t, b, l,
|
|
21289
|
+
var B = Uc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), t);
|
|
21290
|
+
return CE(e, t, b, l, B);
|
|
21291
21291
|
} else {
|
|
21292
21292
|
CN(t);
|
|
21293
21293
|
var H = kx(t, null, b, l);
|
|
@@ -21317,14 +21317,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21317
21317
|
Zg(e, t);
|
|
21318
21318
|
var c = t.pendingProps, v = l, y = v._payload, b = v._init, E = b(y);
|
|
21319
21319
|
t.type = E;
|
|
21320
|
-
var D = t.tag = Sk(E), k = Hi(E, c),
|
|
21320
|
+
var D = t.tag = Sk(E), k = Hi(E, c), B;
|
|
21321
21321
|
switch (D) {
|
|
21322
21322
|
case x:
|
|
21323
|
-
return Cb(t, E), t.type = E = Vf(E),
|
|
21323
|
+
return Cb(t, E), t.type = E = Vf(E), B = Sb(null, t, E, k, i), B;
|
|
21324
21324
|
case w:
|
|
21325
|
-
return t.type = E = Kb(E),
|
|
21325
|
+
return t.type = E = Kb(E), B = SE(null, t, E, k, i), B;
|
|
21326
21326
|
case ee:
|
|
21327
|
-
return t.type = E = Zb(E),
|
|
21327
|
+
return t.type = E = Zb(E), B = vE(null, t, E, k, i), B;
|
|
21328
21328
|
case Ne: {
|
|
21329
21329
|
if (t.type !== t.elementType) {
|
|
21330
21330
|
var H = E.propTypes;
|
|
@@ -21336,14 +21336,14 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21336
21336
|
It(E)
|
|
21337
21337
|
);
|
|
21338
21338
|
}
|
|
21339
|
-
return
|
|
21339
|
+
return B = mE(
|
|
21340
21340
|
null,
|
|
21341
21341
|
t,
|
|
21342
21342
|
E,
|
|
21343
21343
|
Hi(E.type, k),
|
|
21344
21344
|
// The inner type can have defaults too
|
|
21345
21345
|
i
|
|
21346
|
-
),
|
|
21346
|
+
), B;
|
|
21347
21347
|
}
|
|
21348
21348
|
}
|
|
21349
21349
|
var X = "";
|
|
@@ -21381,8 +21381,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21381
21381
|
typeof b == "object" && b !== null && typeof b.render == "function" && b.$$typeof === void 0
|
|
21382
21382
|
) {
|
|
21383
21383
|
{
|
|
21384
|
-
var
|
|
21385
|
-
jv[
|
|
21384
|
+
var B = It(l) || "Unknown";
|
|
21385
|
+
jv[B] || (p("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", B, B, B), jv[B] = !0);
|
|
21386
21386
|
}
|
|
21387
21387
|
t.tag = w, t.memoizedState = null, t.updateQueue = null;
|
|
21388
21388
|
var H = !1;
|
|
@@ -21464,8 +21464,8 @@ Check the render method of \`` + i + "`.");
|
|
|
21464
21464
|
}
|
|
21465
21465
|
var D = i.children, k = i.fallback;
|
|
21466
21466
|
if (v) {
|
|
21467
|
-
var
|
|
21468
|
-
return H.memoizedState = Eb(l), t.memoizedState = xb,
|
|
21467
|
+
var B = TD(t, D, k, l), H = t.child;
|
|
21468
|
+
return H.memoizedState = Eb(l), t.memoizedState = xb, B;
|
|
21469
21469
|
} else
|
|
21470
21470
|
return wb(t, D);
|
|
21471
21471
|
} else {
|
|
@@ -21535,8 +21535,8 @@ Check the render method of \`` + i + "`.");
|
|
|
21535
21535
|
D = k, D.childLanes = ue, D.pendingProps = E, t.mode & dt && (D.actualDuration = 0, D.actualStartTime = -1, D.selfBaseDuration = y.selfBaseDuration, D.treeBaseDuration = y.treeBaseDuration), t.deletions = null;
|
|
21536
21536
|
} else
|
|
21537
21537
|
D = EE(y, E), D.subtreeFlags = y.subtreeFlags & Fr;
|
|
21538
|
-
var
|
|
21539
|
-
return b !== null ?
|
|
21538
|
+
var B;
|
|
21539
|
+
return b !== null ? B = Yc(b, i) : (B = Ms(i, v, c, null), B.flags |= On), B.return = t, D.return = t, D.sibling = B, t.child = D, B;
|
|
21540
21540
|
}
|
|
21541
21541
|
function Kg(e, t, l, i) {
|
|
21542
21542
|
i !== null && lS(i), _f(t, e.child, null, l);
|
|
@@ -21582,9 +21582,9 @@ Check the render method of \`` + i + "`.");
|
|
|
21582
21582
|
var k = F_(c);
|
|
21583
21583
|
b = k.digest, E = k.message, D = k.stack;
|
|
21584
21584
|
}
|
|
21585
|
-
var
|
|
21586
|
-
E ?
|
|
21587
|
-
var H = db(
|
|
21585
|
+
var B;
|
|
21586
|
+
E ? B = new Error(E) : B = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
|
|
21587
|
+
var H = db(B, b, D);
|
|
21588
21588
|
return Kg(e, t, y, H);
|
|
21589
21589
|
}
|
|
21590
21590
|
var X = Aa(y, e.childLanes);
|
|
@@ -21726,12 +21726,12 @@ Check the render method of \`` + i + "`.");
|
|
|
21726
21726
|
else
|
|
21727
21727
|
switch (c) {
|
|
21728
21728
|
case "forwards": {
|
|
21729
|
-
var k = LD(t.child),
|
|
21730
|
-
k === null ? (
|
|
21729
|
+
var k = LD(t.child), B;
|
|
21730
|
+
k === null ? (B = t.child, t.child = null) : (B = k.sibling, k.sibling = null), Tb(
|
|
21731
21731
|
t,
|
|
21732
21732
|
!1,
|
|
21733
21733
|
// isBackwards
|
|
21734
|
-
|
|
21734
|
+
B,
|
|
21735
21735
|
k,
|
|
21736
21736
|
v
|
|
21737
21737
|
);
|
|
@@ -21885,8 +21885,8 @@ Check the render method of \`` + i + "`.");
|
|
|
21885
21885
|
if (Aa(l, k))
|
|
21886
21886
|
return xE(e, t, l);
|
|
21887
21887
|
ws(t, Df(Vi.current));
|
|
21888
|
-
var
|
|
21889
|
-
return
|
|
21888
|
+
var B = xu(e, t, l);
|
|
21889
|
+
return B !== null ? B.sibling : null;
|
|
21890
21890
|
} else
|
|
21891
21891
|
ws(t, Df(Vi.current));
|
|
21892
21892
|
break;
|
|
@@ -21937,8 +21937,8 @@ Check the render method of \`` + i + "`.");
|
|
|
21937
21937
|
return bD(e, t, E, l);
|
|
21938
21938
|
}
|
|
21939
21939
|
case x: {
|
|
21940
|
-
var D = t.type, k = t.pendingProps,
|
|
21941
|
-
return Sb(e, t, D,
|
|
21940
|
+
var D = t.type, k = t.pendingProps, B = t.elementType === D ? k : Hi(D, k);
|
|
21941
|
+
return Sb(e, t, D, B, l);
|
|
21942
21942
|
}
|
|
21943
21943
|
case w: {
|
|
21944
21944
|
var H = t.type, X = t.pendingProps, K = t.elementType === H ? X : Hi(H, X);
|
|
@@ -21966,7 +21966,7 @@ Check the render method of \`` + i + "`.");
|
|
|
21966
21966
|
return hD(e, t, l);
|
|
21967
21967
|
case z:
|
|
21968
21968
|
return PD(e, t, l);
|
|
21969
|
-
case
|
|
21969
|
+
case V:
|
|
21970
21970
|
return ID(e, t, l);
|
|
21971
21971
|
case Ne: {
|
|
21972
21972
|
var tt = t.type, jt = t.pendingProps, Pt = Hi(tt, jt);
|
|
@@ -22113,7 +22113,7 @@ Check the render method of \`` + i + "`.");
|
|
|
22113
22113
|
case M:
|
|
22114
22114
|
case $:
|
|
22115
22115
|
case oe:
|
|
22116
|
-
case
|
|
22116
|
+
case V:
|
|
22117
22117
|
case Ne:
|
|
22118
22118
|
return ma(t), null;
|
|
22119
22119
|
case w: {
|
|
@@ -22146,8 +22146,8 @@ Check the render method of \`` + i + "`.");
|
|
|
22146
22146
|
throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
|
|
22147
22147
|
return ma(t), null;
|
|
22148
22148
|
}
|
|
22149
|
-
var k = AS(),
|
|
22150
|
-
if (
|
|
22149
|
+
var k = AS(), B = pg(t);
|
|
22150
|
+
if (B)
|
|
22151
22151
|
EN(t, E, k) && $f(t);
|
|
22152
22152
|
else {
|
|
22153
22153
|
var H = s_(D, i, E, k, t);
|
|
@@ -22415,7 +22415,7 @@ Check the render method of \`` + i + "`.");
|
|
|
22415
22415
|
} catch (c) {
|
|
22416
22416
|
An(e, t, c);
|
|
22417
22417
|
}
|
|
22418
|
-
typeof i == "function" && p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",
|
|
22418
|
+
typeof i == "function" && p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", St(e));
|
|
22419
22419
|
} else
|
|
22420
22420
|
l.current = null;
|
|
22421
22421
|
}
|
|
@@ -22467,11 +22467,11 @@ Check the render method of \`` + i + "`.");
|
|
|
22467
22467
|
case w: {
|
|
22468
22468
|
if (t !== null) {
|
|
22469
22469
|
var i = t.memoizedProps, c = t.memoizedState, v = e.stateNode;
|
|
22470
|
-
e.type === e.elementType && !Hc && (v.props !== e.memoizedProps && p("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
22470
|
+
e.type === e.elementType && !Hc && (v.props !== e.memoizedProps && p("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", St(e) || "instance"), v.state !== e.memoizedState && p("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", St(e) || "instance"));
|
|
22471
22471
|
var y = v.getSnapshotBeforeUpdate(e.elementType === e.type ? i : Hi(e.type, i), c);
|
|
22472
22472
|
{
|
|
22473
22473
|
var b = FE;
|
|
22474
|
-
y === void 0 && !b.has(e.type) && (b.add(e.type), p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",
|
|
22474
|
+
y === void 0 && !b.has(e.type) && (b.add(e.type), p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", St(e)));
|
|
22475
22475
|
}
|
|
22476
22476
|
v.__reactInternalSnapshotBeforeUpdate = y;
|
|
22477
22477
|
}
|
|
@@ -22590,7 +22590,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
22590
22590
|
var c = l.stateNode;
|
|
22591
22591
|
if (l.flags & Nt && !ha)
|
|
22592
22592
|
if (t === null)
|
|
22593
|
-
if (l.type === l.elementType && !Hc && (c.props !== l.memoizedProps && p("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
22593
|
+
if (l.type === l.elementType && !Hc && (c.props !== l.memoizedProps && p("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", St(l) || "instance"), c.state !== l.memoizedState && p("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", St(l) || "instance")), l.mode & dt)
|
|
22594
22594
|
try {
|
|
22595
22595
|
No(), c.componentDidMount();
|
|
22596
22596
|
} finally {
|
|
@@ -22600,7 +22600,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
22600
22600
|
c.componentDidMount();
|
|
22601
22601
|
else {
|
|
22602
22602
|
var v = l.elementType === l.type ? t.memoizedProps : Hi(l.type, t.memoizedProps), y = t.memoizedState;
|
|
22603
|
-
if (l.type === l.elementType && !Hc && (c.props !== l.memoizedProps && p("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
22603
|
+
if (l.type === l.elementType && !Hc && (c.props !== l.memoizedProps && p("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", St(l) || "instance"), c.state !== l.memoizedState && p("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", St(l) || "instance")), l.mode & dt)
|
|
22604
22604
|
try {
|
|
22605
22605
|
No(), c.componentDidUpdate(v, y, c.__reactInternalSnapshotBeforeUpdate);
|
|
22606
22606
|
} finally {
|
|
@@ -22610,7 +22610,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
22610
22610
|
c.componentDidUpdate(v, y, c.__reactInternalSnapshotBeforeUpdate);
|
|
22611
22611
|
}
|
|
22612
22612
|
var b = l.updateQueue;
|
|
22613
|
-
b !== null && (l.type === l.elementType && !Hc && (c.props !== l.memoizedProps && p("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
22613
|
+
b !== null && (l.type === l.elementType && !Hc && (c.props !== l.memoizedProps && p("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", St(l) || "instance"), c.state !== l.memoizedState && p("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", St(l) || "instance")), bx(l, b, c));
|
|
22614
22614
|
break;
|
|
22615
22615
|
}
|
|
22616
22616
|
case _: {
|
|
@@ -22633,8 +22633,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
22633
22633
|
case O: {
|
|
22634
22634
|
var k = l.stateNode;
|
|
22635
22635
|
if (t === null && l.flags & Nt) {
|
|
22636
|
-
var
|
|
22637
|
-
y_(k,
|
|
22636
|
+
var B = l.type, H = l.memoizedProps;
|
|
22637
|
+
y_(k, B, H);
|
|
22638
22638
|
}
|
|
22639
22639
|
break;
|
|
22640
22640
|
}
|
|
@@ -22766,9 +22766,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
22766
22766
|
}
|
|
22767
22767
|
else
|
|
22768
22768
|
c = t(i);
|
|
22769
|
-
typeof c == "function" && p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",
|
|
22769
|
+
typeof c == "function" && p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", St(e));
|
|
22770
22770
|
} else
|
|
22771
|
-
t.hasOwnProperty("current") || p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",
|
|
22771
|
+
t.hasOwnProperty("current") || p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", St(e)), t.current = i;
|
|
22772
22772
|
}
|
|
22773
22773
|
}
|
|
22774
22774
|
function nO(e) {
|
|
@@ -22928,7 +22928,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
22928
22928
|
if (E !== null) {
|
|
22929
22929
|
var D = E.next, k = D;
|
|
22930
22930
|
do {
|
|
22931
|
-
var
|
|
22931
|
+
var B = k, H = B.destroy, X = B.tag;
|
|
22932
22932
|
H !== void 0 && ((X & wo) !== _l ? ey(l, t, H) : (X & Ur) !== _l && (_d(l), l.mode & dt ? (No(), ey(l, t, H), _o(l)) : ey(l, t, H), Wu())), k = k.next;
|
|
22933
22933
|
} while (k !== D);
|
|
22934
22934
|
}
|
|
@@ -23084,9 +23084,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23084
23084
|
if (Qi(t, e), Do(e), c & Nt) {
|
|
23085
23085
|
if (e.stateNode === null)
|
|
23086
23086
|
throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");
|
|
23087
|
-
var
|
|
23087
|
+
var B = e.stateNode, H = e.memoizedProps, X = i !== null ? i.memoizedProps : H;
|
|
23088
23088
|
try {
|
|
23089
|
-
b_(
|
|
23089
|
+
b_(B, X, H);
|
|
23090
23090
|
} catch (vt) {
|
|
23091
23091
|
An(e, e.return, vt);
|
|
23092
23092
|
}
|
|
@@ -23186,7 +23186,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23186
23186
|
Mb(e, t, l);
|
|
23187
23187
|
continue;
|
|
23188
23188
|
} else {
|
|
23189
|
-
var E = c.alternate, D = E !== null && E.memoizedState !== null, k = D || ha,
|
|
23189
|
+
var E = c.alternate, D = E !== null && E.memoizedState !== null, k = D || ha, B = Jg, H = ha;
|
|
23190
23190
|
Jg = b, ha = k, ha && !H && (Qe = c, dO(c));
|
|
23191
23191
|
for (var X = v; X !== null; )
|
|
23192
23192
|
Qe = X, QE(
|
|
@@ -23195,7 +23195,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23195
23195
|
t,
|
|
23196
23196
|
l
|
|
23197
23197
|
), X = X.sibling;
|
|
23198
|
-
Qe = c, Jg =
|
|
23198
|
+
Qe = c, Jg = B, ha = H, Mb(e, t, l);
|
|
23199
23199
|
continue;
|
|
23200
23200
|
}
|
|
23201
23201
|
}
|
|
@@ -23685,8 +23685,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23685
23685
|
var D = !hc(e, c), k = e.current.alternate;
|
|
23686
23686
|
if (D && !IO(k)) {
|
|
23687
23687
|
if (y = cy(e, c), y === Vc) {
|
|
23688
|
-
var
|
|
23689
|
-
|
|
23688
|
+
var B = Ip(e);
|
|
23689
|
+
B !== ue && (c = B, y = jb(e, B));
|
|
23690
23690
|
}
|
|
23691
23691
|
if (y === Qv) {
|
|
23692
23692
|
var H = qv;
|
|
@@ -24052,8 +24052,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24052
24052
|
ya.transition = null;
|
|
24053
24053
|
var k = Cl();
|
|
24054
24054
|
Sr(Zr);
|
|
24055
|
-
var
|
|
24056
|
-
Vt |= fi, Ab.current = null, WD(e, c), uE(), uO(e, c, v), u_(e.containerInfo), e.current = c, hh(v), sO(c, e, v), qu(), sh(), Vt =
|
|
24055
|
+
var B = Vt;
|
|
24056
|
+
Vt |= fi, Ab.current = null, WD(e, c), uE(), uO(e, c, v), u_(e.containerInfo), e.current = c, hh(v), sO(c, e, v), qu(), sh(), Vt = B, Sr(k), ya.transition = D;
|
|
24057
24057
|
} else
|
|
24058
24058
|
e.current = c, uE();
|
|
24059
24059
|
var H = jc;
|
|
@@ -24213,7 +24213,7 @@ Error message:
|
|
|
24213
24213
|
var t = e.tag;
|
|
24214
24214
|
if (t !== R && t !== _ && t !== w && t !== x && t !== ee && t !== Ne && t !== le)
|
|
24215
24215
|
return;
|
|
24216
|
-
var l =
|
|
24216
|
+
var l = St(e) || "ReactComponent";
|
|
24217
24217
|
if (fy !== null) {
|
|
24218
24218
|
if (fy.has(l))
|
|
24219
24219
|
return;
|
|
@@ -24254,10 +24254,10 @@ Error message:
|
|
|
24254
24254
|
case x:
|
|
24255
24255
|
case ee:
|
|
24256
24256
|
case le: {
|
|
24257
|
-
var t = ir &&
|
|
24257
|
+
var t = ir && St(ir) || "Unknown", l = t;
|
|
24258
24258
|
if (!Wb.has(l)) {
|
|
24259
24259
|
Wb.add(l);
|
|
24260
|
-
var i =
|
|
24260
|
+
var i = St(e) || "Unknown";
|
|
24261
24261
|
p("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render", i, t, t);
|
|
24262
24262
|
}
|
|
24263
24263
|
break;
|
|
@@ -24309,7 +24309,7 @@ act(() => {
|
|
|
24309
24309
|
});
|
|
24310
24310
|
/* assert on the output */
|
|
24311
24311
|
|
|
24312
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,
|
|
24312
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`, St(e));
|
|
24313
24313
|
} finally {
|
|
24314
24314
|
t ? ln(e) : zn();
|
|
24315
24315
|
}
|
|
@@ -24442,8 +24442,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24442
24442
|
throw new Error("Expected resolveFamily to be set during hot reload.");
|
|
24443
24443
|
var D = !1, k = !1;
|
|
24444
24444
|
if (E !== null) {
|
|
24445
|
-
var
|
|
24446
|
-
|
|
24445
|
+
var B = pi(E);
|
|
24446
|
+
B !== void 0 && (l.has(B) ? k = !0 : t.has(B) && (y === w ? k = !0 : D = !0));
|
|
24447
24447
|
}
|
|
24448
24448
|
if (Hf !== null && (Hf.has(e) || i !== null && Hf.has(i)) && (k = !0), k && (e._debugNeedsRemount = !0), k || D) {
|
|
24449
24449
|
var H = Tl(e, ft);
|
|
@@ -24628,7 +24628,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24628
24628
|
y = z;
|
|
24629
24629
|
break e;
|
|
24630
24630
|
case ke:
|
|
24631
|
-
y =
|
|
24631
|
+
y = V;
|
|
24632
24632
|
break e;
|
|
24633
24633
|
case lt:
|
|
24634
24634
|
y = ee, b = Zb(b);
|
|
@@ -24643,7 +24643,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24643
24643
|
var E = "";
|
|
24644
24644
|
{
|
|
24645
24645
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
24646
|
-
var D = i ?
|
|
24646
|
+
var D = i ? St(i) : null;
|
|
24647
24647
|
D && (E += `
|
|
24648
24648
|
|
|
24649
24649
|
Check the render method of \`` + D + "`.");
|
|
@@ -24729,8 +24729,8 @@ Check the render method of \`` + D + "`.");
|
|
|
24729
24729
|
}
|
|
24730
24730
|
}
|
|
24731
24731
|
function Rw(e, t, l, i, c, v, y, b, E, D) {
|
|
24732
|
-
var k = new _k(e, t, l, b, E),
|
|
24733
|
-
k.current =
|
|
24732
|
+
var k = new _k(e, t, l, b, E), B = Ck(t, v);
|
|
24733
|
+
k.current = B, B.stateNode = k;
|
|
24734
24734
|
{
|
|
24735
24735
|
var H = {
|
|
24736
24736
|
element: i,
|
|
@@ -24740,9 +24740,9 @@ Check the render method of \`` + D + "`.");
|
|
|
24740
24740
|
transitions: null,
|
|
24741
24741
|
pendingSuspenseBoundaries: null
|
|
24742
24742
|
};
|
|
24743
|
-
|
|
24743
|
+
B.memoizedState = H;
|
|
24744
24744
|
}
|
|
24745
|
-
return vS(
|
|
24745
|
+
return vS(B), k;
|
|
24746
24746
|
}
|
|
24747
24747
|
var o1 = "18.2.0";
|
|
24748
24748
|
function Nk(e, t, l) {
|
|
@@ -24782,7 +24782,7 @@ Check the render method of \`` + D + "`.");
|
|
|
24782
24782
|
if (c === null)
|
|
24783
24783
|
return null;
|
|
24784
24784
|
if (c.mode & Yn) {
|
|
24785
|
-
var v =
|
|
24785
|
+
var v = St(l) || "Component";
|
|
24786
24786
|
if (!s1[v]) {
|
|
24787
24787
|
s1[v] = !0;
|
|
24788
24788
|
var y = Xn;
|
|
@@ -24801,10 +24801,10 @@ Check the render method of \`` + D + "`.");
|
|
|
24801
24801
|
return Rw(e, t, E, D, l, i, c, v, y);
|
|
24802
24802
|
}
|
|
24803
24803
|
function Nw(e, t, l, i, c, v, y, b, E, D) {
|
|
24804
|
-
var k = !0,
|
|
24805
|
-
|
|
24806
|
-
var H =
|
|
24807
|
-
return re.callback = t ?? null, xs(H, re, K), FO(
|
|
24804
|
+
var k = !0, B = Rw(l, i, k, e, c, v, y, b, E);
|
|
24805
|
+
B.context = Tw(null);
|
|
24806
|
+
var H = B.current, X = nl(), K = Os(H), re = Cu(X, K);
|
|
24807
|
+
return re.callback = t ?? null, xs(H, re, K), FO(B, K, X), B;
|
|
24808
24808
|
}
|
|
24809
24809
|
function lm(e, t, l, i) {
|
|
24810
24810
|
ch(t, e);
|
|
@@ -24813,7 +24813,7 @@ Check the render method of \`` + D + "`.");
|
|
|
24813
24813
|
var b = Tw(l);
|
|
24814
24814
|
t.context === null ? t.context = b : t.pendingContext = b, sr && Xn !== null && !u1 && (u1 = !0, p(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
24815
24815
|
|
|
24816
|
-
Check the render method of %s.`,
|
|
24816
|
+
Check the render method of %s.`, St(Xn) || "Unknown"));
|
|
24817
24817
|
var E = Cu(v, y);
|
|
24818
24818
|
E.payload = {
|
|
24819
24819
|
element: e
|
|
@@ -25095,8 +25095,8 @@ Check the render method of %s.`, yt(Xn) || "Unknown"));
|
|
|
25095
25095
|
var D = Nw(t, null, e, sg, i, v, y, b, E);
|
|
25096
25096
|
if (ng(D.current, e), pv(e), c)
|
|
25097
25097
|
for (var k = 0; k < c.length; k++) {
|
|
25098
|
-
var
|
|
25099
|
-
qN(D,
|
|
25098
|
+
var B = c[k];
|
|
25099
|
+
qN(D, B);
|
|
25100
25100
|
}
|
|
25101
25101
|
return new vy(D);
|
|
25102
25102
|
}
|
|
@@ -25174,8 +25174,8 @@ Check the render method of %s.`, yt(Xn) || "Unknown"));
|
|
|
25174
25174
|
Kw
|
|
25175
25175
|
);
|
|
25176
25176
|
e._reactRootContainer = k, ng(k.current, e);
|
|
25177
|
-
var
|
|
25178
|
-
return pv(
|
|
25177
|
+
var B = e.nodeType === cr ? e.parentNode : e;
|
|
25178
|
+
return pv(B), Ru(function() {
|
|
25179
25179
|
lm(t, k, l, i);
|
|
25180
25180
|
}), k;
|
|
25181
25181
|
}
|
|
@@ -25374,11 +25374,11 @@ function eT() {
|
|
|
25374
25374
|
}
|
|
25375
25375
|
function K2() {
|
|
25376
25376
|
let [r, s] = Sn([]);
|
|
25377
|
-
return [r.length > 0 ? r.join(" ") : void 0,
|
|
25377
|
+
return [r.length > 0 ? r.join(" ") : void 0, gt(() => function(o) {
|
|
25378
25378
|
let d = Ce((h) => (s((p) => [...p, h]), () => s((p) => {
|
|
25379
25379
|
let C = p.slice(), x = C.indexOf(h);
|
|
25380
25380
|
return x !== -1 && C.splice(x, 1), C;
|
|
25381
|
-
}))), m =
|
|
25381
|
+
}))), m = gt(() => ({ register: d, slot: o.slot, name: o.name, props: o.props }), [d, o.slot, o.name, o.props]);
|
|
25382
25382
|
return ie.createElement(JR.Provider, { value: m }, o.children);
|
|
25383
25383
|
}, [s])];
|
|
25384
25384
|
}
|
|
@@ -25577,12 +25577,12 @@ let NF = "div", DF = Ua.RenderStrategy | Ua.Static;
|
|
|
25577
25577
|
function OF(r, s) {
|
|
25578
25578
|
let o = Un(), { id: d = `headlessui-dialog-${o}`, open: m, onClose: h, initialFocus: p, __demoMode: C = !1, ...x } = r, [w, R] = Sn(0), _ = Hs();
|
|
25579
25579
|
m === void 0 && _ !== null && (m = (_ & pn.Open) === pn.Open);
|
|
25580
|
-
let N = qe(null), O = qt(N, s), A = qe(null), M = Vs(N), $ = r.hasOwnProperty("open") || _ !== null,
|
|
25581
|
-
if (!$ && !
|
|
25580
|
+
let N = qe(null), O = qt(N, s), A = qe(null), M = Vs(N), $ = r.hasOwnProperty("open") || _ !== null, V = r.hasOwnProperty("onClose");
|
|
25581
|
+
if (!$ && !V)
|
|
25582
25582
|
throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
|
|
25583
25583
|
if (!$)
|
|
25584
25584
|
throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
|
|
25585
|
-
if (!
|
|
25585
|
+
if (!V)
|
|
25586
25586
|
throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
|
|
25587
25587
|
if (typeof m != "boolean")
|
|
25588
25588
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${m}`);
|
|
@@ -25619,7 +25619,7 @@ function OF(r, s) {
|
|
|
25619
25619
|
});
|
|
25620
25620
|
return Z.observe(N.current), () => Z.disconnect();
|
|
25621
25621
|
}, [z, N, ne]);
|
|
25622
|
-
let [_e, Je] = K2(), Rt =
|
|
25622
|
+
let [_e, Je] = K2(), Rt = gt(() => [{ dialogState: z, close: ne, setTitleId: Ne }, ee], [z, ee, ne, Ne]), Ee = gt(() => ({ open: z === 0 }), [z]), Pe = { ref: O, id: d, role: "dialog", "aria-modal": z === 0 ? !0 : void 0, "aria-labelledby": ee.titleId, "aria-describedby": _e };
|
|
25623
25623
|
return ie.createElement(rF, { type: "Dialog", enabled: z === 0, element: N, onUpdate: Ce((Z, ve) => {
|
|
25624
25624
|
ve === "Dialog" && At(Z, { [V1.Add]: () => R((et) => et + 1), [V1.Remove]: () => R((et) => et - 1) });
|
|
25625
25625
|
}) }, ie.createElement(U1, { force: !0 }, ie.createElement(H1, null, ie.createElement(Oy.Provider, { value: Rt }, ie.createElement(H1.Group, { target: N }, ie.createElement(U1, { force: !1 }, ie.createElement(Je, { slot: Ee, name: "Dialog.Description" }, ie.createElement(dm, { initialFocus: p, containers: Ke, features: le ? At(we, { parent: dm.features.RestoreFocus, leaf: dm.features.All & ~dm.features.FocusLock }) : dm.features.None }, Gt({ ourProps: Pe, theirProps: x, slot: Ee, defaultTag: NF, features: DF, visible: z === 0, name: "Dialog" })))))))), ie.createElement($o, { features: Ao.Hidden, ref: A }));
|
|
@@ -25632,7 +25632,7 @@ function MF(r, s) {
|
|
|
25632
25632
|
return R.preventDefault();
|
|
25633
25633
|
R.preventDefault(), R.stopPropagation(), p();
|
|
25634
25634
|
}
|
|
25635
|
-
}), w =
|
|
25635
|
+
}), w = gt(() => ({ open: h === 0 }), [h]);
|
|
25636
25636
|
return Gt({ ourProps: { ref: C, id: d, "aria-hidden": !0, onClick: x }, theirProps: m, slot: w, defaultTag: kF, name: "Dialog.Overlay" });
|
|
25637
25637
|
}
|
|
25638
25638
|
let LF = "div";
|
|
@@ -25642,12 +25642,12 @@ function AF(r, s) {
|
|
|
25642
25642
|
if (p.panelRef.current === null)
|
|
25643
25643
|
throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.");
|
|
25644
25644
|
}, [p.panelRef]);
|
|
25645
|
-
let x =
|
|
25645
|
+
let x = gt(() => ({ open: h === 0 }), [h]);
|
|
25646
25646
|
return ie.createElement(U1, { force: !0 }, ie.createElement(H1, null, Gt({ ourProps: { ref: C, id: d, "aria-hidden": !0 }, theirProps: m, slot: x, defaultTag: LF, name: "Dialog.Backdrop" })));
|
|
25647
25647
|
}
|
|
25648
25648
|
let $F = "div";
|
|
25649
25649
|
function FF(r, s) {
|
|
25650
|
-
let o = Un(), { id: d = `headlessui-dialog-panel-${o}`, ...m } = r, [{ dialogState: h }, p] = Rm("Dialog.Panel"), C = qt(s, p.panelRef), x =
|
|
25650
|
+
let o = Un(), { id: d = `headlessui-dialog-panel-${o}`, ...m } = r, [{ dialogState: h }, p] = Rm("Dialog.Panel"), C = qt(s, p.panelRef), x = gt(() => ({ open: h === 0 }), [h]), w = Ce((R) => {
|
|
25651
25651
|
R.stopPropagation();
|
|
25652
25652
|
});
|
|
25653
25653
|
return Gt({ ourProps: { ref: C, id: d, onClick: w }, theirProps: m, slot: x, defaultTag: $F, name: "Dialog.Panel" });
|
|
@@ -25656,7 +25656,7 @@ let zF = "h2";
|
|
|
25656
25656
|
function PF(r, s) {
|
|
25657
25657
|
let o = Un(), { id: d = `headlessui-dialog-title-${o}`, ...m } = r, [{ dialogState: h, setTitleId: p }] = Rm("Dialog.Title"), C = qt(s);
|
|
25658
25658
|
wt(() => (p(d), () => p(null)), [d, p]);
|
|
25659
|
-
let x =
|
|
25659
|
+
let x = gt(() => ({ open: h === 0 }), [h]);
|
|
25660
25660
|
return Gt({ ourProps: { ref: C, id: d }, theirProps: m, slot: x, defaultTag: zF, name: "Dialog.Title" });
|
|
25661
25661
|
}
|
|
25662
25662
|
let IF = Ut(OF), UF = Ut(AF), HF = Ut(FF), VF = Ut(MF), jF = Ut(PF), w1 = Object.assign(IF, { Backdrop: UF, Panel: HF, Overlay: VF, Title: jF, Description: tF });
|
|
@@ -25724,17 +25724,17 @@ let XF = Lr;
|
|
|
25724
25724
|
function KF(r, s) {
|
|
25725
25725
|
let { value: o, defaultValue: d, name: m, onChange: h, by: p = (Ee, Pe) => Ee === Pe, disabled: C = !1, horizontal: x = !1, multiple: w = !1, ...R } = r;
|
|
25726
25726
|
const _ = x ? "horizontal" : "vertical";
|
|
25727
|
-
let N = qt(s), [O = w ? [] : void 0, A] = GR(o, h, d), [M, $] = Yf(qF, { dataRef: Ps(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }),
|
|
25727
|
+
let N = qt(s), [O = w ? [] : void 0, A] = GR(o, h, d), [M, $] = Yf(qF, { dataRef: Ps(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }), V = qe({ static: !1, hold: !1 }), z = qe(null), ee = qe(null), oe = qe(null), ne = Ce(typeof p == "string" ? (Ee, Pe) => {
|
|
25728
25728
|
let Z = p;
|
|
25729
25729
|
return (Ee == null ? void 0 : Ee[Z]) === (Pe == null ? void 0 : Pe[Z]);
|
|
25730
|
-
} : p), Ne = $s((Ee) => At(le.mode, { [1]: () => O.some((Pe) => ne(Pe, Ee)), [0]: () => ne(O, Ee) }), [O]), le =
|
|
25730
|
+
} : p), Ne = $s((Ee) => At(le.mode, { [1]: () => O.some((Pe) => ne(Pe, Ee)), [0]: () => ne(O, Ee) }), [O]), le = gt(() => ({ ...M, value: O, disabled: C, mode: w ? 1 : 0, orientation: _, compare: ne, isSelected: Ne, optionsPropsRef: V, labelRef: z, buttonRef: ee, optionsRef: oe }), [O, C, w, M]);
|
|
25731
25731
|
rn(() => {
|
|
25732
25732
|
M.dataRef.current = le;
|
|
25733
25733
|
}, [le]), Cm([le.buttonRef, le.optionsRef], (Ee, Pe) => {
|
|
25734
25734
|
var Z;
|
|
25735
25735
|
$({ type: 1 }), bm(Pe, Sm.Loose) || (Ee.preventDefault(), (Z = le.buttonRef.current) == null || Z.focus());
|
|
25736
25736
|
}, le.listboxState === 0);
|
|
25737
|
-
let pe =
|
|
25737
|
+
let pe = gt(() => ({ open: le.listboxState === 0, disabled: C, value: O }), [le, C, O]), De = Ce((Ee) => {
|
|
25738
25738
|
let Pe = le.options.find((Z) => Z.id === Ee);
|
|
25739
25739
|
Pe && Ke(Pe.dataRef.current.value);
|
|
25740
25740
|
}), we = Ce(() => {
|
|
@@ -25747,7 +25747,7 @@ function KF(r, s) {
|
|
|
25747
25747
|
}, [1]() {
|
|
25748
25748
|
let Pe = le.value.slice(), Z = Pe.findIndex((ve) => ne(ve, Ee));
|
|
25749
25749
|
return Z === -1 ? Pe.push(Ee) : Pe.splice(Z, 1), A == null ? void 0 : A(Pe);
|
|
25750
|
-
} })), Lt = Ce((Ee) => $({ type: 3, value: Ee })), ce = Ce(() => $({ type: 4 })), xe =
|
|
25750
|
+
} })), Lt = Ce((Ee) => $({ type: 3, value: Ee })), ce = Ce(() => $({ type: 4 })), xe = gt(() => ({ onChange: Ke, registerOption: $e, registerLabel: ot, goToOption: se, closeListbox: ye, openListbox: te, selectActiveOption: we, selectOption: De, search: Lt, clearSearch: ce }), []), _e = { ref: N }, Je = qe(null), Rt = hi();
|
|
25751
25751
|
return wt(() => {
|
|
25752
25752
|
Je.current && d !== void 0 && Rt.addEventListener(Je.current, "reset", () => {
|
|
25753
25753
|
Ke(d);
|
|
@@ -25785,13 +25785,13 @@ function JF(r, s) {
|
|
|
25785
25785
|
if (Kf($.currentTarget))
|
|
25786
25786
|
return $.preventDefault();
|
|
25787
25787
|
p.listboxState === 0 ? (C.closeListbox(), w.nextFrame(() => {
|
|
25788
|
-
var
|
|
25789
|
-
return (
|
|
25788
|
+
var V;
|
|
25789
|
+
return (V = p.buttonRef.current) == null ? void 0 : V.focus({ preventScroll: !0 });
|
|
25790
25790
|
})) : ($.preventDefault(), C.openListbox());
|
|
25791
25791
|
}), O = gm(() => {
|
|
25792
25792
|
if (p.labelId)
|
|
25793
25793
|
return [p.labelId, m].join(" ");
|
|
25794
|
-
}, [p.labelId, m]), A =
|
|
25794
|
+
}, [p.labelId, m]), A = gt(() => ({ open: p.listboxState === 0, disabled: p.disabled, value: p.value }), [p]), M = { ref: x, id: m, type: xm(r, p.buttonRef), "aria-haspopup": "listbox", "aria-controls": (o = p.optionsRef.current) == null ? void 0 : o.id, "aria-expanded": p.disabled ? void 0 : p.listboxState === 0, "aria-labelledby": O, disabled: p.disabled, onKeyDown: R, onKeyUp: _, onClick: N };
|
|
25795
25795
|
return Gt({ ourProps: M, theirProps: h, slot: A, defaultTag: ZF, name: "Listbox.Button" });
|
|
25796
25796
|
}
|
|
25797
25797
|
let ez = "label";
|
|
@@ -25801,7 +25801,7 @@ function tz(r, s) {
|
|
|
25801
25801
|
let x = Ce(() => {
|
|
25802
25802
|
var R;
|
|
25803
25803
|
return (R = h.buttonRef.current) == null ? void 0 : R.focus({ preventScroll: !0 });
|
|
25804
|
-
}), w =
|
|
25804
|
+
}), w = gt(() => ({ open: h.listboxState === 0, disabled: h.disabled }), [h]);
|
|
25805
25805
|
return Gt({ ourProps: { ref: C, id: d, onClick: x }, theirProps: m, slot: w, defaultTag: ez, name: "Listbox.Label" });
|
|
25806
25806
|
}
|
|
25807
25807
|
let nz = "ul", rz = Ua.RenderStrategy | Ua.Static;
|
|
@@ -25809,17 +25809,17 @@ function az(r, s) {
|
|
|
25809
25809
|
var o;
|
|
25810
25810
|
let d = Un(), { id: m = `headlessui-listbox-options-${d}`, ...h } = r, p = _m("Listbox.Options"), C = Tm("Listbox.Options"), x = qt(p.optionsRef, s), w = hi(), R = hi(), _ = Hs(), N = (() => _ !== null ? (_ & pn.Open) === pn.Open : p.listboxState === 0)();
|
|
25811
25811
|
wt(() => {
|
|
25812
|
-
var
|
|
25812
|
+
var V;
|
|
25813
25813
|
let z = p.optionsRef.current;
|
|
25814
|
-
z && p.listboxState === 0 && z !== ((
|
|
25814
|
+
z && p.listboxState === 0 && z !== ((V = Zc(z)) == null ? void 0 : V.activeElement) && z.focus({ preventScroll: !0 });
|
|
25815
25815
|
}, [p.listboxState, p.optionsRef]);
|
|
25816
|
-
let O = Ce((
|
|
25817
|
-
switch (R.dispose(),
|
|
25816
|
+
let O = Ce((V) => {
|
|
25817
|
+
switch (R.dispose(), V.key) {
|
|
25818
25818
|
case We.Space:
|
|
25819
25819
|
if (p.searchQuery !== "")
|
|
25820
|
-
return
|
|
25820
|
+
return V.preventDefault(), V.stopPropagation(), C.search(V.key);
|
|
25821
25821
|
case We.Enter:
|
|
25822
|
-
if (
|
|
25822
|
+
if (V.preventDefault(), V.stopPropagation(), p.activeOptionIndex !== null) {
|
|
25823
25823
|
let { dataRef: z } = p.options[p.activeOptionIndex];
|
|
25824
25824
|
C.onChange(z.current.value);
|
|
25825
25825
|
}
|
|
@@ -25829,31 +25829,31 @@ function az(r, s) {
|
|
|
25829
25829
|
}));
|
|
25830
25830
|
break;
|
|
25831
25831
|
case At(p.orientation, { vertical: We.ArrowDown, horizontal: We.ArrowRight }):
|
|
25832
|
-
return
|
|
25832
|
+
return V.preventDefault(), V.stopPropagation(), C.goToOption(Ft.Next);
|
|
25833
25833
|
case At(p.orientation, { vertical: We.ArrowUp, horizontal: We.ArrowLeft }):
|
|
25834
|
-
return
|
|
25834
|
+
return V.preventDefault(), V.stopPropagation(), C.goToOption(Ft.Previous);
|
|
25835
25835
|
case We.Home:
|
|
25836
25836
|
case We.PageUp:
|
|
25837
|
-
return
|
|
25837
|
+
return V.preventDefault(), V.stopPropagation(), C.goToOption(Ft.First);
|
|
25838
25838
|
case We.End:
|
|
25839
25839
|
case We.PageDown:
|
|
25840
|
-
return
|
|
25840
|
+
return V.preventDefault(), V.stopPropagation(), C.goToOption(Ft.Last);
|
|
25841
25841
|
case We.Escape:
|
|
25842
|
-
return
|
|
25842
|
+
return V.preventDefault(), V.stopPropagation(), C.closeListbox(), w.nextFrame(() => {
|
|
25843
25843
|
var z;
|
|
25844
25844
|
return (z = p.buttonRef.current) == null ? void 0 : z.focus({ preventScroll: !0 });
|
|
25845
25845
|
});
|
|
25846
25846
|
case We.Tab:
|
|
25847
|
-
|
|
25847
|
+
V.preventDefault(), V.stopPropagation();
|
|
25848
25848
|
break;
|
|
25849
25849
|
default:
|
|
25850
|
-
|
|
25850
|
+
V.key.length === 1 && (C.search(V.key), R.setTimeout(() => C.clearSearch(), 350));
|
|
25851
25851
|
break;
|
|
25852
25852
|
}
|
|
25853
25853
|
}), A = gm(() => {
|
|
25854
|
-
var
|
|
25855
|
-
return (ee = (
|
|
25856
|
-
}, [p.labelRef.current, p.buttonRef.current]), M =
|
|
25854
|
+
var V, z, ee;
|
|
25855
|
+
return (ee = (V = p.labelRef.current) == null ? void 0 : V.id) != null ? ee : (z = p.buttonRef.current) == null ? void 0 : z.id;
|
|
25856
|
+
}, [p.labelRef.current, p.buttonRef.current]), M = gt(() => ({ open: p.listboxState === 0 }), [p]), $ = { "aria-activedescendant": p.activeOptionIndex === null || (o = p.options[p.activeOptionIndex]) == null ? void 0 : o.id, "aria-multiselectable": p.mode === 1 ? !0 : void 0, "aria-labelledby": A, "aria-orientation": p.orientation, id: m, onKeyDown: O, role: "listbox", tabIndex: 0, ref: x };
|
|
25857
25857
|
return Gt({ ourProps: $, theirProps: h, slot: M, defaultTag: nz, features: rz, visible: N, name: "Listbox.Options" });
|
|
25858
25858
|
}
|
|
25859
25859
|
let lz = "li";
|
|
@@ -25882,12 +25882,12 @@ function iz(r, s) {
|
|
|
25882
25882
|
if (m)
|
|
25883
25883
|
return x.goToOption(Ft.Nothing);
|
|
25884
25884
|
x.goToOption(Ft.Specific, d);
|
|
25885
|
-
}), $ = eC(),
|
|
25885
|
+
}), $ = eC(), V = Ce((ne) => $.update(ne)), z = Ce((ne) => {
|
|
25886
25886
|
$.wasMoved(ne) && (m || w || x.goToOption(Ft.Specific, d, 0));
|
|
25887
25887
|
}), ee = Ce((ne) => {
|
|
25888
25888
|
$.wasMoved(ne) && (m || w && x.goToOption(Ft.Nothing));
|
|
25889
|
-
}), oe =
|
|
25890
|
-
return Gt({ ourProps: { id: d, ref: O, role: "option", tabIndex: m === !0 ? void 0 : -1, "aria-disabled": m === !0 ? !0 : void 0, "aria-selected": R, disabled: void 0, onClick: A, onFocus: M, onPointerEnter:
|
|
25889
|
+
}), oe = gt(() => ({ active: w, selected: R, disabled: m }), [w, R, m]);
|
|
25890
|
+
return Gt({ ourProps: { id: d, ref: O, role: "option", tabIndex: m === !0 ? void 0 : -1, "aria-disabled": m === !0 ? !0 : void 0, "aria-selected": R, disabled: void 0, onClick: A, onFocus: M, onPointerEnter: V, onMouseEnter: V, onPointerMove: z, onMouseMove: z, onPointerLeave: ee, onMouseLeave: ee }, theirProps: p, slot: oe, defaultTag: lz, name: "Listbox.Option" });
|
|
25891
25891
|
}
|
|
25892
25892
|
let oz = Ut(KF), uz = Ut(JF), sz = Ut(tz), cz = Ut(az), dz = Ut(iz), by = Object.assign(oz, { Button: uz, Label: sz, Options: cz, Option: dz });
|
|
25893
25893
|
var fz = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(fz || {}), pz = ((r) => (r[r.Pointer = 0] = "Pointer", r[r.Other = 1] = "Other", r))(pz || {}), vz = ((r) => (r[r.OpenMenu = 0] = "OpenMenu", r[r.CloseMenu = 1] = "CloseMenu", r[r.GoToItem = 2] = "GoToItem", r[r.Search = 3] = "Search", r[r.ClearSearch = 4] = "ClearSearch", r[r.RegisterItem = 5] = "RegisterItem", r[r.UnregisterItem = 6] = "UnregisterItem", r))(vz || {});
|
|
@@ -25942,7 +25942,7 @@ function yz(r, s) {
|
|
|
25942
25942
|
}, d === 0);
|
|
25943
25943
|
let x = Ce(() => {
|
|
25944
25944
|
p({ type: 1 });
|
|
25945
|
-
}), w =
|
|
25945
|
+
}), w = gt(() => ({ open: d === 0, close: x }), [d, x]), R = r, _ = { ref: C };
|
|
25946
25946
|
return ie.createElement(uC.Provider, { value: o }, ie.createElement(Em, { value: At(d, { [0]: pn.Open, [1]: pn.Closed }) }, Gt({ ourProps: _, theirProps: R, slot: w, defaultTag: gz, name: "Menu" })));
|
|
25947
25947
|
}
|
|
25948
25948
|
let Sz = "button";
|
|
@@ -25972,7 +25972,7 @@ function bz(r, s) {
|
|
|
25972
25972
|
var $;
|
|
25973
25973
|
return ($ = p.buttonRef.current) == null ? void 0 : $.focus({ preventScroll: !0 });
|
|
25974
25974
|
})) : (M.preventDefault(), C({ type: 0 })));
|
|
25975
|
-
}), O =
|
|
25975
|
+
}), O = gt(() => ({ open: p.menuState === 0 }), [p]), A = { ref: x, id: m, type: xm(r, p.buttonRef), "aria-haspopup": "menu", "aria-controls": (o = p.itemsRef.current) == null ? void 0 : o.id, "aria-expanded": r.disabled ? void 0 : p.menuState === 0, onKeyDown: R, onKeyUp: _, onClick: N };
|
|
25976
25976
|
return Gt({ ourProps: A, theirProps: h, slot: O, defaultTag: Sz, name: "Menu.Button" });
|
|
25977
25977
|
}
|
|
25978
25978
|
let Cz = "div", xz = Ua.RenderStrategy | Ua.Static;
|
|
@@ -26031,8 +26031,8 @@ function Ez(r, s) {
|
|
|
26031
26031
|
z.preventDefault();
|
|
26032
26032
|
break;
|
|
26033
26033
|
}
|
|
26034
|
-
}), $ =
|
|
26035
|
-
return Gt({ ourProps:
|
|
26034
|
+
}), $ = gt(() => ({ open: C.menuState === 0 }), [C]), V = { "aria-activedescendant": C.activeItemIndex === null || (o = C.items[C.activeItemIndex]) == null ? void 0 : o.id, "aria-labelledby": (d = C.buttonRef.current) == null ? void 0 : d.id, id: h, onKeyDown: A, onKeyUp: M, role: "menu", tabIndex: 0, ref: w };
|
|
26035
|
+
return Gt({ ourProps: V, theirProps: p, slot: $, defaultTag: Cz, features: xz, visible: O, name: "Menu.Items" });
|
|
26036
26036
|
}
|
|
26037
26037
|
let wz = Lr;
|
|
26038
26038
|
function Rz(r, s) {
|
|
@@ -26063,12 +26063,12 @@ function Rz(r, s) {
|
|
|
26063
26063
|
if (m)
|
|
26064
26064
|
return C({ type: 2, focus: Ft.Nothing });
|
|
26065
26065
|
C({ type: 2, focus: Ft.Specific, id: d });
|
|
26066
|
-
}), M = eC(), $ = Ce((oe) => M.update(oe)),
|
|
26066
|
+
}), M = eC(), $ = Ce((oe) => M.update(oe)), V = Ce((oe) => {
|
|
26067
26067
|
M.wasMoved(oe) && (m || x || C({ type: 2, focus: Ft.Specific, id: d, trigger: 0 }));
|
|
26068
26068
|
}), z = Ce((oe) => {
|
|
26069
26069
|
M.wasMoved(oe) && (m || x && C({ type: 2, focus: Ft.Nothing }));
|
|
26070
|
-
}), ee =
|
|
26071
|
-
return Gt({ ourProps: { id: d, ref: R, role: "menuitem", tabIndex: m === !0 ? void 0 : -1, "aria-disabled": m === !0 ? !0 : void 0, disabled: void 0, onClick: O, onFocus: A, onPointerEnter: $, onMouseEnter: $, onPointerMove:
|
|
26070
|
+
}), ee = gt(() => ({ active: x, disabled: m, close: N }), [x, m, N]);
|
|
26071
|
+
return Gt({ ourProps: { id: d, ref: R, role: "menuitem", tabIndex: m === !0 ? void 0 : -1, "aria-disabled": m === !0 ? !0 : void 0, disabled: void 0, onClick: O, onFocus: A, onPointerEnter: $, onMouseEnter: $, onPointerMove: V, onMouseMove: V, onPointerLeave: z, onMouseLeave: z }, theirProps: h, slot: ee, defaultTag: wz, name: "Menu.Item" });
|
|
26072
26072
|
}
|
|
26073
26073
|
let Tz = Ut(yz), _z = Ut(bz), Nz = Ut(Ez), Dz = Ut(Rz), Cy = Object.assign(Tz, { Button: _z, Items: Nz, Item: Dz });
|
|
26074
26074
|
var Oz = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(Oz || {}), kz = ((r) => (r[r.TogglePopover = 0] = "TogglePopover", r[r.ClosePopover = 1] = "ClosePopover", r[r.SetButton = 2] = "SetButton", r[r.SetButtonId = 3] = "SetButtonId", r[r.SetPanel = 4] = "SetPanel", r[r.SetPanelId = 5] = "SetPanelId", r))(kz || {});
|
|
@@ -26120,7 +26120,7 @@ function Fz(r, s) {
|
|
|
26120
26120
|
var o;
|
|
26121
26121
|
let d = qe(null), m = qt(s, IR((ye) => {
|
|
26122
26122
|
d.current = ye;
|
|
26123
|
-
})), h = qe([]), p = Yf(Az, { popoverState: 1, buttons: h, button: null, buttonId: null, panel: null, panelId: null, beforePanelSentinel: Ps(), afterPanelSentinel: Ps() }), [{ popoverState: C, button: x, buttonId: w, panel: R, panelId: _, beforePanelSentinel: N, afterPanelSentinel: O }, A] = p, M = Vs((o = d.current) != null ? o : x), $ =
|
|
26123
|
+
})), h = qe([]), p = Yf(Az, { popoverState: 1, buttons: h, button: null, buttonId: null, panel: null, panelId: null, beforePanelSentinel: Ps(), afterPanelSentinel: Ps() }), [{ popoverState: C, button: x, buttonId: w, panel: R, panelId: _, beforePanelSentinel: N, afterPanelSentinel: O }, A] = p, M = Vs((o = d.current) != null ? o : x), $ = gt(() => {
|
|
26124
26124
|
if (!x || !R)
|
|
26125
26125
|
return !1;
|
|
26126
26126
|
for (let ce of document.querySelectorAll("body > *"))
|
|
@@ -26128,7 +26128,7 @@ function Fz(r, s) {
|
|
|
26128
26128
|
return !0;
|
|
26129
26129
|
let ye = ym(), se = ye.indexOf(x), $e = (se + ye.length - 1) % ye.length, ot = (se + 1) % ye.length, Ke = ye[$e], Lt = ye[ot];
|
|
26130
26130
|
return !R.contains(Ke) && !R.contains(Lt);
|
|
26131
|
-
}, [x, R]),
|
|
26131
|
+
}, [x, R]), V = xa(w), z = xa(_), ee = gt(() => ({ buttonId: V, panelId: z, close: () => A({ type: 1 }) }), [V, z, A]), oe = tT(), ne = oe == null ? void 0 : oe.registerPopover, Ne = Ce(() => {
|
|
26132
26132
|
var ye;
|
|
26133
26133
|
return (ye = oe == null ? void 0 : oe.isFocusWithinPopoverGroup()) != null ? ye : (M == null ? void 0 : M.activeElement) && ((x == null ? void 0 : x.contains(M.activeElement)) || (R == null ? void 0 : R.contains(M.activeElement)));
|
|
26134
26134
|
});
|
|
@@ -26142,7 +26142,7 @@ function Fz(r, s) {
|
|
|
26142
26142
|
A({ type: 1 });
|
|
26143
26143
|
let se = (() => ye ? ye instanceof HTMLElement ? ye : "current" in ye && ye.current instanceof HTMLElement ? ye.current : x : x)();
|
|
26144
26144
|
se == null || se.focus();
|
|
26145
|
-
}), pe =
|
|
26145
|
+
}), pe = gt(() => ({ close: le, isPortalled: $ }), [le, $]), De = gt(() => ({ open: C === 0, close: le }), [C, le]), we = r, te = { ref: m };
|
|
26146
26146
|
return ie.createElement(Fy.Provider, { value: null }, ie.createElement(sC.Provider, { value: p }, ie.createElement(cC.Provider, { value: pe }, ie.createElement(Em, { value: At(C, { [0]: pn.Open, [1]: pn.Closed }) }, Gt({ ourProps: te, theirProps: we, slot: De, defaultTag: $z, name: "Popover" })))));
|
|
26147
26147
|
}
|
|
26148
26148
|
let zz = "button";
|
|
@@ -26162,7 +26162,7 @@ function Pz(r, s) {
|
|
|
26162
26162
|
ye !== -1 && h.buttons.current.splice(ye, 1);
|
|
26163
26163
|
}
|
|
26164
26164
|
h.buttons.current.length > 1 && console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."), te && p({ type: 2, button: te });
|
|
26165
|
-
}), M = qt(x, s), $ = Vs(x),
|
|
26165
|
+
}), M = qt(x, s), $ = Vs(x), V = Ce((te) => {
|
|
26166
26166
|
var ye, se, $e;
|
|
26167
26167
|
if (N) {
|
|
26168
26168
|
if (h.popoverState === 1)
|
|
@@ -26194,7 +26194,7 @@ function Pz(r, s) {
|
|
|
26194
26194
|
Kf(te.currentTarget) || r.disabled || (N ? (p({ type: 1 }), (ye = h.button) == null || ye.focus()) : (te.preventDefault(), te.stopPropagation(), h.popoverState === 1 && (_ == null || _(h.buttonId)), p({ type: 0 }), (se = h.button) == null || se.focus()));
|
|
26195
26195
|
}), oe = Ce((te) => {
|
|
26196
26196
|
te.preventDefault(), te.stopPropagation();
|
|
26197
|
-
}), ne = h.popoverState === 0, Ne =
|
|
26197
|
+
}), ne = h.popoverState === 0, Ne = gt(() => ({ open: ne }), [ne]), le = xm(r, x), pe = N ? { ref: M, type: le, onKeyDown: V, onClick: ee } : { ref: A, id: h.buttonId, type: le, "aria-expanded": r.disabled ? void 0 : h.popoverState === 0, "aria-controls": h.panel ? h.panelId : void 0, onKeyDown: V, onKeyUp: z, onClick: ee, onMouseDown: oe }, De = rC(), we = Ce(() => {
|
|
26198
26198
|
let te = h.panel;
|
|
26199
26199
|
if (!te)
|
|
26200
26200
|
return;
|
|
@@ -26211,7 +26211,7 @@ function Hz(r, s) {
|
|
|
26211
26211
|
if (Kf(N.currentTarget))
|
|
26212
26212
|
return N.preventDefault();
|
|
26213
26213
|
p({ type: 1 });
|
|
26214
|
-
}), _ =
|
|
26214
|
+
}), _ = gt(() => ({ open: h === 0 }), [h]);
|
|
26215
26215
|
return Gt({ ourProps: { ref: C, id: d, "aria-hidden": !0, onClick: R }, theirProps: m, slot: _, defaultTag: Iz, features: Uz, visible: w, name: "Popover.Overlay" });
|
|
26216
26216
|
}
|
|
26217
26217
|
let Vz = "div", jz = Ua.RenderStrategy | Ua.Static;
|
|
@@ -26222,7 +26222,7 @@ function Bz(r, s) {
|
|
|
26222
26222
|
rn(() => (C({ type: 5, panelId: d }), () => {
|
|
26223
26223
|
C({ type: 5, panelId: null });
|
|
26224
26224
|
}), [d, C]);
|
|
26225
|
-
let M = Hs(), $ = (() => M !== null ? (M & pn.Open) === pn.Open : p.popoverState === 0)(),
|
|
26225
|
+
let M = Hs(), $ = (() => M !== null ? (M & pn.Open) === pn.Open : p.popoverState === 0)(), V = Ce((le) => {
|
|
26226
26226
|
var pe;
|
|
26227
26227
|
switch (le.key) {
|
|
26228
26228
|
case We.Escape:
|
|
@@ -26241,7 +26241,7 @@ function Bz(r, s) {
|
|
|
26241
26241
|
let le = A == null ? void 0 : A.activeElement;
|
|
26242
26242
|
N.current.contains(le) || aa(N.current, $n.First);
|
|
26243
26243
|
}, [m, N, p.popoverState]);
|
|
26244
|
-
let z =
|
|
26244
|
+
let z = gt(() => ({ open: p.popoverState === 0, close: x }), [p, x]), ee = { ref: O, id: d, onKeyDown: V, onBlur: m && p.popoverState === 0 ? (le) => {
|
|
26245
26245
|
var pe, De, we, te, ye;
|
|
26246
26246
|
let se = le.relatedTarget;
|
|
26247
26247
|
se && N.current && ((pe = N.current) != null && pe.contains(se) || (C({ type: 1 }), ((we = (De = p.beforePanelSentinel.current) == null ? void 0 : De.contains) != null && we.call(De, se) || (ye = (te = p.afterPanelSentinel.current) == null ? void 0 : te.contains) != null && ye.call(te, se)) && se.focus({ preventScroll: !0 })));
|
|
@@ -26290,8 +26290,8 @@ function Yz(r, s) {
|
|
|
26290
26290
|
h((M) => {
|
|
26291
26291
|
let $ = M.indexOf(A);
|
|
26292
26292
|
if ($ !== -1) {
|
|
26293
|
-
let
|
|
26294
|
-
return
|
|
26293
|
+
let V = M.slice();
|
|
26294
|
+
return V.splice($, 1), V;
|
|
26295
26295
|
}
|
|
26296
26296
|
return M;
|
|
26297
26297
|
});
|
|
@@ -26301,14 +26301,14 @@ function Yz(r, s) {
|
|
|
26301
26301
|
if (!M)
|
|
26302
26302
|
return !1;
|
|
26303
26303
|
let $ = M.activeElement;
|
|
26304
|
-
return (A = o.current) != null && A.contains($) ? !0 : m.some((
|
|
26304
|
+
return (A = o.current) != null && A.contains($) ? !0 : m.some((V) => {
|
|
26305
26305
|
var z, ee;
|
|
26306
|
-
return ((z = M.getElementById(
|
|
26306
|
+
return ((z = M.getElementById(V.buttonId.current)) == null ? void 0 : z.contains($)) || ((ee = M.getElementById(V.panelId.current)) == null ? void 0 : ee.contains($));
|
|
26307
26307
|
});
|
|
26308
26308
|
}), w = Ce((A) => {
|
|
26309
26309
|
for (let M of m)
|
|
26310
26310
|
M.buttonId.current !== A && M.close();
|
|
26311
|
-
}), R =
|
|
26311
|
+
}), R = gt(() => ({ registerPopover: C, unregisterPopover: p, isFocusWithinPopoverGroup: x, closeOthers: w }), [C, p, x, w]), _ = gt(() => ({}), []), N = r, O = { ref: d };
|
|
26312
26312
|
return ie.createElement(fC.Provider, { value: R }, Gt({ ourProps: O, theirProps: N, slot: _, defaultTag: Gz, name: "Popover.Group" }));
|
|
26313
26313
|
}
|
|
26314
26314
|
let Qz = Ut(Fz), Wz = Ut(Pz), qz = Ut(Hz), Xz = Ut(Bz), Kz = Ut(Yz), xy = Object.assign(Qz, { Button: Wz, Overlay: qz, Panel: Xz, Group: Kz });
|
|
@@ -26427,10 +26427,10 @@ let uP = Lr;
|
|
|
26427
26427
|
function sP(r, s) {
|
|
26428
26428
|
let { defaultIndex: o = 0, vertical: d = !1, manual: m = !1, onChange: h, selectedIndex: p = null, ...C } = r;
|
|
26429
26429
|
const x = d ? "vertical" : "horizontal", w = m ? "manual" : "auto";
|
|
26430
|
-
let R = p !== null, _ = qt(s), [N, O] = Yf(oP, { selectedIndex: p ?? o, tabs: [], panels: [] }), A =
|
|
26431
|
-
})), $ = xa(N.tabs),
|
|
26430
|
+
let R = p !== null, _ = qt(s), [N, O] = Yf(oP, { selectedIndex: p ?? o, tabs: [], panels: [] }), A = gt(() => ({ selectedIndex: N.selectedIndex }), [N.selectedIndex]), M = xa(h || (() => {
|
|
26431
|
+
})), $ = xa(N.tabs), V = gt(() => ({ orientation: x, activation: w, ...N }), [x, w, N]), z = Ce((pe) => (O({ type: 1, tab: pe }), () => O({ type: 2, tab: pe }))), ee = Ce((pe) => (O({ type: 3, panel: pe }), () => O({ type: 4, panel: pe }))), oe = Ce((pe) => {
|
|
26432
26432
|
ne.current !== pe && M.current(pe), R || O({ type: 0, index: pe });
|
|
26433
|
-
}), ne = xa(R ? r.selectedIndex : N.selectedIndex), Ne =
|
|
26433
|
+
}), ne = xa(R ? r.selectedIndex : N.selectedIndex), Ne = gt(() => ({ registerTab: z, registerPanel: ee, change: oe }), []);
|
|
26434
26434
|
rn(() => {
|
|
26435
26435
|
O({ type: 0, index: p ?? o });
|
|
26436
26436
|
}, [p]), rn(() => {
|
|
@@ -26440,7 +26440,7 @@ function sP(r, s) {
|
|
|
26440
26440
|
pe.some((De, we) => N.tabs[we] !== De) && oe(pe.indexOf(N.tabs[ne.current]));
|
|
26441
26441
|
});
|
|
26442
26442
|
let le = { ref: _ };
|
|
26443
|
-
return ie.createElement(tP, null, ie.createElement(vC.Provider, { value: Ne }, ie.createElement(pC.Provider, { value:
|
|
26443
|
+
return ie.createElement(tP, null, ie.createElement(vC.Provider, { value: Ne }, ie.createElement(pC.Provider, { value: V }, V.tabs.length <= 0 && ie.createElement(Jz, { onFocus: () => {
|
|
26444
26444
|
var pe, De;
|
|
26445
26445
|
for (let we of $.current)
|
|
26446
26446
|
if (((pe = we.current) == null ? void 0 : pe.tabIndex) === 0)
|
|
@@ -26458,9 +26458,9 @@ function pP(r, s) {
|
|
|
26458
26458
|
var o, d;
|
|
26459
26459
|
let m = Un(), { id: h = `headlessui-tabs-tab-${m}`, ...p } = r, { orientation: C, activation: x, selectedIndex: w, tabs: R, panels: _ } = Gf("Tab"), N = mC("Tab"), O = Gf("Tab"), A = qe(null), M = qt(A, s);
|
|
26460
26460
|
rn(() => N.registerTab(A), [N, A]);
|
|
26461
|
-
let $ = rT("tabs"),
|
|
26462
|
-
|
|
26463
|
-
let z =
|
|
26461
|
+
let $ = rT("tabs"), V = R.indexOf(A);
|
|
26462
|
+
V === -1 && (V = $);
|
|
26463
|
+
let z = V === w, ee = Ce((we) => {
|
|
26464
26464
|
var te;
|
|
26465
26465
|
let ye = we();
|
|
26466
26466
|
if (ye === Du.Success && x === "auto") {
|
|
@@ -26471,7 +26471,7 @@ function pP(r, s) {
|
|
|
26471
26471
|
}), oe = Ce((we) => {
|
|
26472
26472
|
let te = R.map((ye) => ye.current).filter(Boolean);
|
|
26473
26473
|
if (we.key === We.Space || we.key === We.Enter) {
|
|
26474
|
-
we.preventDefault(), we.stopPropagation(), N.change(
|
|
26474
|
+
we.preventDefault(), we.stopPropagation(), N.change(V);
|
|
26475
26475
|
return;
|
|
26476
26476
|
}
|
|
26477
26477
|
switch (we.key) {
|
|
@@ -26490,17 +26490,17 @@ function pP(r, s) {
|
|
|
26490
26490
|
return we.preventDefault();
|
|
26491
26491
|
}), ne = qe(!1), Ne = Ce(() => {
|
|
26492
26492
|
var we;
|
|
26493
|
-
ne.current || (ne.current = !0, (we = A.current) == null || we.focus(), N.change(
|
|
26493
|
+
ne.current || (ne.current = !0, (we = A.current) == null || we.focus(), N.change(V), qf(() => {
|
|
26494
26494
|
ne.current = !1;
|
|
26495
26495
|
}));
|
|
26496
26496
|
}), le = Ce((we) => {
|
|
26497
26497
|
we.preventDefault();
|
|
26498
|
-
}), pe =
|
|
26498
|
+
}), pe = gt(() => ({ selected: z }), [z]), De = { ref: M, onKeyDown: oe, onMouseDown: le, onClick: Ne, id: h, role: "tab", type: xm(r, A), "aria-controls": (d = (o = _[V]) == null ? void 0 : o.current) == null ? void 0 : d.id, "aria-selected": z, tabIndex: z ? 0 : -1 };
|
|
26499
26499
|
return Gt({ ourProps: De, theirProps: p, slot: pe, defaultTag: fP, name: "Tabs.Tab" });
|
|
26500
26500
|
}
|
|
26501
26501
|
let vP = "div";
|
|
26502
26502
|
function mP(r, s) {
|
|
26503
|
-
let { selectedIndex: o } = Gf("Tab.Panels"), d = qt(s), m =
|
|
26503
|
+
let { selectedIndex: o } = Gf("Tab.Panels"), d = qt(s), m = gt(() => ({ selectedIndex: o }), [o]);
|
|
26504
26504
|
return Gt({ ourProps: { ref: d }, theirProps: r, slot: m, defaultTag: vP, name: "Tabs.Panels" });
|
|
26505
26505
|
}
|
|
26506
26506
|
let hP = "div", gP = Ua.RenderStrategy | Ua.Static;
|
|
@@ -26508,9 +26508,9 @@ function yP(r, s) {
|
|
|
26508
26508
|
var o, d, m, h;
|
|
26509
26509
|
let p = Un(), { id: C = `headlessui-tabs-panel-${p}`, tabIndex: x = 0, ...w } = r, { selectedIndex: R, tabs: _, panels: N } = Gf("Tab.Panel"), O = mC("Tab.Panel"), A = qe(null), M = qt(A, s);
|
|
26510
26510
|
rn(() => O.registerPanel(A), [O, A]);
|
|
26511
|
-
let $ = rT("panels"),
|
|
26512
|
-
|
|
26513
|
-
let z =
|
|
26511
|
+
let $ = rT("panels"), V = N.indexOf(A);
|
|
26512
|
+
V === -1 && (V = $);
|
|
26513
|
+
let z = V === R, ee = gt(() => ({ selected: z }), [z]), oe = { ref: M, id: C, role: "tabpanel", "aria-labelledby": (d = (o = _[V]) == null ? void 0 : o.current) == null ? void 0 : d.id, tabIndex: z ? x : -1 };
|
|
26514
26514
|
return !z && ((m = w.unmount) == null || m) && !((h = w.static) != null && h) ? ie.createElement($o, { as: "span", ...oe }) : Gt({ ourProps: oe, theirProps: w, slot: ee, defaultTag: hP, features: gP, visible: z, name: "Tabs.Panel" });
|
|
26515
26515
|
}
|
|
26516
26516
|
let SP = Ut(pP), bP = Ut(sP), CP = Ut(dP), xP = Ut(mP), EP = Ut(yP), Ey = Object.assign(SP, { Group: bP, List: CP, Panels: xP, Panel: EP });
|
|
@@ -26612,15 +26612,15 @@ function aT(r, s) {
|
|
|
26612
26612
|
x.current.splice(0), s && (s.chains.current[A] = s.chains.current[A].filter(([$]) => $ !== O)), s == null || s.chains.current[A].push([O, new Promise(($) => {
|
|
26613
26613
|
x.current.push($);
|
|
26614
26614
|
})]), s == null || s.chains.current[A].push([O, new Promise(($) => {
|
|
26615
|
-
Promise.all(R.current[A].map(([
|
|
26615
|
+
Promise.all(R.current[A].map(([V, z]) => z)).then(() => $());
|
|
26616
26616
|
})]), A === "enter" ? w.current = w.current.then(() => s == null ? void 0 : s.wait.current).then(() => M(A)) : M(A);
|
|
26617
26617
|
}), N = Ce((O, A, M) => {
|
|
26618
|
-
Promise.all(R.current[A].splice(0).map(([$,
|
|
26618
|
+
Promise.all(R.current[A].splice(0).map(([$, V]) => V)).then(() => {
|
|
26619
26619
|
var $;
|
|
26620
26620
|
($ = x.current.shift()) == null || $();
|
|
26621
26621
|
}).then(() => M(A));
|
|
26622
26622
|
});
|
|
26623
|
-
return
|
|
26623
|
+
return gt(() => ({ children: d, register: C, unregister: p, onStart: _, onStop: N, wait: w, chains: R }), [C, p, d, _, N, R, w]);
|
|
26624
26624
|
}
|
|
26625
26625
|
function kP() {
|
|
26626
26626
|
}
|
|
@@ -26640,22 +26640,22 @@ function LP(r) {
|
|
|
26640
26640
|
}
|
|
26641
26641
|
let AP = "div", lT = Ua.RenderStrategy;
|
|
26642
26642
|
function $P(r, s) {
|
|
26643
|
-
let { beforeEnter: o, afterEnter: d, beforeLeave: m, afterLeave: h, enter: p, enterFrom: C, enterTo: x, entered: w, leave: R, leaveFrom: _, leaveTo: N, ...O } = r, A = qe(null), M = qt(A, s), $ = O.unmount ? ku.Unmount : ku.Hidden, { show:
|
|
26643
|
+
let { beforeEnter: o, afterEnter: d, beforeLeave: m, afterLeave: h, enter: p, enterFrom: C, enterTo: x, entered: w, leave: R, leaveFrom: _, leaveTo: N, ...O } = r, A = qe(null), M = qt(A, s), $ = O.unmount ? ku.Unmount : ku.Hidden, { show: V, appear: z, initial: ee } = DP(), [oe, ne] = Sn(V ? "visible" : "hidden"), Ne = OP(), { register: le, unregister: pe } = Ne, De = qe(null);
|
|
26644
26644
|
wt(() => le(A), [le, A]), wt(() => {
|
|
26645
26645
|
if ($ === ku.Hidden && A.current) {
|
|
26646
|
-
if (
|
|
26646
|
+
if (V && oe !== "visible") {
|
|
26647
26647
|
ne("visible");
|
|
26648
26648
|
return;
|
|
26649
26649
|
}
|
|
26650
26650
|
return At(oe, { hidden: () => pe(A), visible: () => le(A) });
|
|
26651
26651
|
}
|
|
26652
|
-
}, [oe, A, le, pe,
|
|
26652
|
+
}, [oe, A, le, pe, V, $]);
|
|
26653
26653
|
let we = xa({ enter: Qc(p), enterFrom: Qc(C), enterTo: Qc(x), entered: Qc(w), leave: Qc(R), leaveFrom: Qc(_), leaveTo: Qc(N) }), te = LP({ beforeEnter: o, afterEnter: d, beforeLeave: m, afterLeave: h }), ye = Xf();
|
|
26654
26654
|
wt(() => {
|
|
26655
26655
|
if (ye && oe === "visible" && A.current === null)
|
|
26656
26656
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
26657
26657
|
}, [A, oe, ye]);
|
|
26658
|
-
let se = ee && !z, $e = (() => !ye || se || De.current ===
|
|
26658
|
+
let se = ee && !z, $e = (() => !ye || se || De.current === V ? "idle" : V ? "enter" : "leave")(), ot = Zz(0), Ke = Ce((Je) => At(Je, { enter: () => {
|
|
26659
26659
|
ot.addFlag(pn.Opening), te.current.beforeEnter();
|
|
26660
26660
|
}, leave: () => {
|
|
26661
26661
|
ot.addFlag(pn.Closing), te.current.beforeLeave();
|
|
@@ -26673,10 +26673,10 @@ function $P(r, s) {
|
|
|
26673
26673
|
}), onStop: xa((Je) => {
|
|
26674
26674
|
ce.onStop(A, Je, Lt), Je === "leave" && !Iy(ce) && (ne("hidden"), pe(A));
|
|
26675
26675
|
}) }), wt(() => {
|
|
26676
|
-
se && ($ === ku.Hidden ? De.current = null : De.current =
|
|
26677
|
-
}, [
|
|
26676
|
+
se && ($ === ku.Hidden ? De.current = null : De.current = V);
|
|
26677
|
+
}, [V, se, oe]);
|
|
26678
26678
|
let xe = O, _e = { ref: M };
|
|
26679
|
-
return z &&
|
|
26679
|
+
return z && V && Lo.isServer && (xe = { ...xe, className: HR(O.className, ...we.current.enter, ...we.current.enterFrom) }), ie.createElement(Py.Provider, { value: ce }, ie.createElement(Em, { value: At(oe, { visible: pn.Open, hidden: pn.Closed }) | ot.flags }, Gt({ ourProps: _e, theirProps: xe, defaultTag: AP, features: lT, visible: oe === "visible", name: "Transition.Child" })));
|
|
26680
26680
|
}
|
|
26681
26681
|
function FP(r, s) {
|
|
26682
26682
|
let { show: o, appear: d = !1, unmount: m, ...h } = r, p = qe(null), C = qt(p, s);
|
|
@@ -26690,17 +26690,17 @@ function FP(r, s) {
|
|
|
26690
26690
|
rn(() => {
|
|
26691
26691
|
N !== !1 && A.current[A.current.length - 1] !== o && (A.current.push(o), O(!1));
|
|
26692
26692
|
}, [A, o]);
|
|
26693
|
-
let M =
|
|
26693
|
+
let M = gt(() => ({ show: o, appear: d, initial: N }), [o, d, N]);
|
|
26694
26694
|
wt(() => {
|
|
26695
26695
|
if (o)
|
|
26696
26696
|
R("visible");
|
|
26697
26697
|
else if (!Iy(_))
|
|
26698
26698
|
R("hidden");
|
|
26699
26699
|
else {
|
|
26700
|
-
let
|
|
26701
|
-
if (!
|
|
26700
|
+
let V = p.current;
|
|
26701
|
+
if (!V)
|
|
26702
26702
|
return;
|
|
26703
|
-
let z =
|
|
26703
|
+
let z = V.getBoundingClientRect();
|
|
26704
26704
|
z.x === 0 && z.y === 0 && z.width === 0 && z.height === 0 && R("hidden");
|
|
26705
26705
|
}
|
|
26706
26706
|
}, [o, _]);
|
|
@@ -26732,9 +26732,8 @@ const hm = Zt(
|
|
|
26732
26732
|
h && "disabled",
|
|
26733
26733
|
m
|
|
26734
26734
|
),
|
|
26735
|
-
ref: w,
|
|
26736
26735
|
children: [
|
|
26737
|
-
/* @__PURE__ */ Mt("a", { className: wn(r && "active"), ...x, children: [
|
|
26736
|
+
/* @__PURE__ */ Mt("a", { className: wn(r && "active"), ref: w, ...x, children: [
|
|
26738
26737
|
p !== void 0 ? /* @__PURE__ */ I("div", { className: "flex w-6 justify-center", children: p ? /* @__PURE__ */ I(O$, { className: "h-5 w-5" }) : null }) : null,
|
|
26739
26738
|
d
|
|
26740
26739
|
] }),
|
|
@@ -26854,7 +26853,7 @@ const UP = (r, s) => {
|
|
|
26854
26853
|
const [d, m] = Sn(!1), [h, p, C] = UP(
|
|
26855
26854
|
"",
|
|
26856
26855
|
r ?? 400
|
|
26857
|
-
), x =
|
|
26856
|
+
), x = gt(() => {
|
|
26858
26857
|
const w = h.trim();
|
|
26859
26858
|
return w === "" ? w : C.trim();
|
|
26860
26859
|
}, [h, C]);
|
|
@@ -26923,7 +26922,7 @@ const jP = ({
|
|
|
26923
26922
|
} = Qf({
|
|
26924
26923
|
...o,
|
|
26925
26924
|
name: R
|
|
26926
|
-
}), { setValue: $ } = Wf(),
|
|
26925
|
+
}), { setValue: $ } = Wf(), V = Nm(R, _), z = gt(
|
|
26927
26926
|
() => N !== void 0 ? N.input(A.value) : A.value,
|
|
26928
26927
|
[A.value, N]
|
|
26929
26928
|
);
|
|
@@ -26936,11 +26935,11 @@ const jP = ({
|
|
|
26936
26935
|
{
|
|
26937
26936
|
...A,
|
|
26938
26937
|
className: wn("w-full", p),
|
|
26939
|
-
color:
|
|
26938
|
+
color: V ?? s ?? "ghost",
|
|
26940
26939
|
name: R,
|
|
26941
26940
|
onChange: ({ target: { value: ee } }) => {
|
|
26942
26941
|
const oe = N === void 0 ? ee : N.output(ee);
|
|
26943
|
-
oe !==
|
|
26942
|
+
oe !== void 0 && $(R, oe, {
|
|
26944
26943
|
shouldDirty: !0,
|
|
26945
26944
|
shouldTouch: !0
|
|
26946
26945
|
});
|
|
@@ -27017,18 +27016,18 @@ const nn = YP(ie), QP = (r, s) => {
|
|
|
27017
27016
|
A == null && (A = 25), A = +A;
|
|
27018
27017
|
let M = r.maxValue;
|
|
27019
27018
|
M == null && (M = 75), M = +M, A < x && (A = x), A > w && (A = w), M < A && (M = +A + +R), M > w && (M = w), M < x && (M = x);
|
|
27020
|
-
const [$,
|
|
27019
|
+
const [$, V] = (0, nn.useState)(+A), [z, ee] = (0, nn.useState)(+M), [oe, ne] = (0, nn.useState)(($ - x) / (w - x) * 100), [Ne, le] = (0, nn.useState)((w - z) / (w - x) * 100), [pe, De] = (0, nn.useState)(""), [we, te] = (0, nn.useState)(""), [ye, se] = (0, nn.useState)(!0), $e = (Z) => {
|
|
27021
27020
|
let ve = $ - R;
|
|
27022
|
-
ve < x && (ve = x),
|
|
27021
|
+
ve < x && (ve = x), V(ve);
|
|
27023
27022
|
}, ot = (Z) => {
|
|
27024
27023
|
let ve = parseFloat(Z.target.value);
|
|
27025
|
-
ve > z - R && (ve = z - R),
|
|
27024
|
+
ve > z - R && (ve = z - R), V(ve);
|
|
27026
27025
|
}, Ke = (Z) => {
|
|
27027
27026
|
let ve = Z.clientX, Nn = Z.target.parentNode.getBoundingClientRect(), nr = $;
|
|
27028
27027
|
se(!1);
|
|
27029
27028
|
let cn = (Xt) => {
|
|
27030
27029
|
let Rn = (Xt.clientX - ve) / Nn.width, nt = nr + (w - x) * Rn;
|
|
27031
|
-
h && (nt = Math.round(nt / R) * R), nt = parseFloat(nt.toFixed(_)), nt < x ? nt = x : nt > z - R && (nt = z - R),
|
|
27030
|
+
h && (nt = Math.round(nt / R) * R), nt = parseFloat(nt.toFixed(_)), nt < x ? nt = x : nt > z - R && (nt = z - R), V(nt);
|
|
27032
27031
|
}, vn = (Xt) => {
|
|
27033
27032
|
se(!0), document.removeEventListener("mousemove", cn), document.removeEventListener("mouseup", vn);
|
|
27034
27033
|
};
|
|
@@ -27038,14 +27037,14 @@ const nn = YP(ie), QP = (r, s) => {
|
|
|
27038
27037
|
se(!1);
|
|
27039
27038
|
let cn = (Xt) => {
|
|
27040
27039
|
let Rn = (Xt.touches[0].clientX - ve) / Nn.width, nt = nr + (w - x) * Rn;
|
|
27041
|
-
h && (nt = Math.round(nt / R) * R), nt = parseFloat(nt.toFixed(_)), nt < x ? nt = x : nt > z - R && (nt = z - R),
|
|
27040
|
+
h && (nt = Math.round(nt / R) * R), nt = parseFloat(nt.toFixed(_)), nt < x ? nt = x : nt > z - R && (nt = z - R), V(nt);
|
|
27042
27041
|
}, vn = (Xt) => {
|
|
27043
27042
|
se(!0), document.removeEventListener("touchmove", cn), document.removeEventListener("touchend", vn);
|
|
27044
27043
|
};
|
|
27045
27044
|
document.addEventListener("touchmove", cn), document.addEventListener("touchend", vn);
|
|
27046
27045
|
}, ce = (Z) => {
|
|
27047
27046
|
let ve = $ + R;
|
|
27048
|
-
ve > z - R && (ve = z - R),
|
|
27047
|
+
ve > z - R && (ve = z - R), V(ve);
|
|
27049
27048
|
}, xe = (Z) => {
|
|
27050
27049
|
let ve = z - R;
|
|
27051
27050
|
ve < $ + R && (ve = $ + R), ee(ve);
|
|
@@ -27081,7 +27080,7 @@ const nn = YP(ie), QP = (r, s) => {
|
|
|
27081
27080
|
let ve = (w - x) / 100;
|
|
27082
27081
|
ve > 1 && (ve = 1), Z.deltaY < 0 && (ve = -ve);
|
|
27083
27082
|
let et = $, pt = z;
|
|
27084
|
-
Z.shiftKey && Z.ctrlKey ? et + ve >= x && pt + ve <= w && (et = et + ve, pt = pt + ve) : Z.ctrlKey ? (ve = pt + ve, ve < et + R ? ve = et + R : ve > w && (ve = w), pt = ve) : Z.shiftKey && (ve = et + ve, ve < x ? ve = x : ve > pt - R && (ve = pt - R), et = ve), ee(pt),
|
|
27083
|
+
Z.shiftKey && Z.ctrlKey ? et + ve >= x && pt + ve <= w && (et = et + ve, pt = pt + ve) : Z.ctrlKey ? (ve = pt + ve, ve < et + R ? ve = et + R : ve > w && (ve = w), pt = ve) : Z.shiftKey && (ve = et + ve, ve < x ? ve = x : ve > pt - R && (ve = pt - R), et = ve), ee(pt), V(et);
|
|
27085
27084
|
};
|
|
27086
27085
|
return (0, nn.useEffect)(() => {
|
|
27087
27086
|
C && C.current && C.current.parentNode.addEventListener("wheel", (et) => {
|
|
@@ -27101,7 +27100,7 @@ const nn = YP(ie), QP = (r, s) => {
|
|
|
27101
27100
|
le(et), window.setTimeout(Z);
|
|
27102
27101
|
}, [$, z, x, w, _, r, ye]), (0, nn.useEffect)(() => {
|
|
27103
27102
|
let Z = r.minValue;
|
|
27104
|
-
Z == null && (Z = 25), Z = +Z, Z < x && (Z = x), Z > w && (Z = w),
|
|
27103
|
+
Z == null && (Z = 25), Z = +Z, Z < x && (Z = x), Z > w && (Z = w), V(+Z);
|
|
27105
27104
|
}, [r.minValue, x, w]), (0, nn.useEffect)(() => {
|
|
27106
27105
|
let Z = r.maxValue;
|
|
27107
27106
|
Z == null && (Z = 75), Z = +Z, Z > w && (Z = w), Z < x && (Z = x), ee(+Z);
|
|
@@ -27164,7 +27163,7 @@ const qP = Zt(
|
|
|
27164
27163
|
thumbLeftColor: A,
|
|
27165
27164
|
thumbRightColor: M
|
|
27166
27165
|
}, $) => {
|
|
27167
|
-
const { setValue:
|
|
27166
|
+
const { setValue: V } = Wf();
|
|
27168
27167
|
return /* @__PURE__ */ Mt("div", { className: wn("form-control", d), children: [
|
|
27169
27168
|
/* @__PURE__ */ Mt("div", { className: "flex justify-between", children: [
|
|
27170
27169
|
/* @__PURE__ */ I(js, { children: m }),
|
|
@@ -27189,7 +27188,7 @@ const qP = Zt(
|
|
|
27189
27188
|
maxValue: p,
|
|
27190
27189
|
onChange: x,
|
|
27191
27190
|
onInput: (z) => {
|
|
27192
|
-
|
|
27191
|
+
V(C, [z.minValue, z.maxValue], {
|
|
27193
27192
|
shouldDirty: !0
|
|
27194
27193
|
}), w == null || w(z);
|
|
27195
27194
|
}
|
|
@@ -27214,14 +27213,14 @@ const ZI = ({
|
|
|
27214
27213
|
options: _,
|
|
27215
27214
|
showDirty: N
|
|
27216
27215
|
}) => {
|
|
27217
|
-
const [O, A] = Sn(!1), { setValue: M } = Wf(), [$,
|
|
27216
|
+
const [O, A] = Sn(!1), { setValue: M } = Wf(), [$, V] = Sn(null), z = Nm(R, N);
|
|
27218
27217
|
return wt(() => {
|
|
27219
27218
|
const ee = $ && p ? p($) : $;
|
|
27220
27219
|
M(R, ee, { shouldTouch: O, shouldDirty: !0 }), A(!0);
|
|
27221
27220
|
}, [$]), wt(() => {
|
|
27222
27221
|
if (d !== "") {
|
|
27223
27222
|
const ee = _.find(({ id: oe }) => oe === d) ?? _[0];
|
|
27224
|
-
|
|
27223
|
+
V(ee);
|
|
27225
27224
|
}
|
|
27226
27225
|
}, [d]), /* @__PURE__ */ Mt(
|
|
27227
27226
|
by,
|
|
@@ -27230,7 +27229,7 @@ const ZI = ({
|
|
|
27230
27229
|
by: "id",
|
|
27231
27230
|
className: wn("relative", o),
|
|
27232
27231
|
name: R,
|
|
27233
|
-
onChange:
|
|
27232
|
+
onChange: V,
|
|
27234
27233
|
value: $,
|
|
27235
27234
|
children: [
|
|
27236
27235
|
/* @__PURE__ */ Mt("div", { className: "form-control", children: [
|
|
@@ -27726,10 +27725,10 @@ function wy(r, s, o, d) {
|
|
|
27726
27725
|
headers: []
|
|
27727
27726
|
}, M = [];
|
|
27728
27727
|
N.forEach(($) => {
|
|
27729
|
-
const
|
|
27728
|
+
const V = [...M].reverse()[0], z = $.column.depth === A.depth;
|
|
27730
27729
|
let ee, oe = !1;
|
|
27731
|
-
if (z && $.column.parent ? ee = $.column.parent : (ee = $.column, oe = !0),
|
|
27732
|
-
|
|
27730
|
+
if (z && $.column.parent ? ee = $.column.parent : (ee = $.column, oe = !0), V && (V == null ? void 0 : V.column) === ee)
|
|
27731
|
+
V.subHeaders.push($);
|
|
27733
27732
|
else {
|
|
27734
27733
|
const ne = vR(o, ee, {
|
|
27735
27734
|
id: [d, O, ee.id, $ == null ? void 0 : $.id].filter(Boolean).join("_"),
|
|
@@ -27748,15 +27747,15 @@ function wy(r, s, o, d) {
|
|
|
27748
27747
|
}));
|
|
27749
27748
|
w(R, p - 1), x.reverse();
|
|
27750
27749
|
const _ = (N) => N.filter((A) => A.column.getIsVisible()).map((A) => {
|
|
27751
|
-
let M = 0, $ = 0,
|
|
27752
|
-
A.subHeaders && A.subHeaders.length ? (
|
|
27750
|
+
let M = 0, $ = 0, V = [0];
|
|
27751
|
+
A.subHeaders && A.subHeaders.length ? (V = [], _(A.subHeaders).forEach((ee) => {
|
|
27753
27752
|
let {
|
|
27754
27753
|
colSpan: oe,
|
|
27755
27754
|
rowSpan: ne
|
|
27756
27755
|
} = ee;
|
|
27757
|
-
M += oe,
|
|
27756
|
+
M += oe, V.push(ne);
|
|
27758
27757
|
})) : M = 1;
|
|
27759
|
-
const z = Math.min(...
|
|
27758
|
+
const z = Math.min(...V);
|
|
27760
27759
|
return $ = $ + z, A.colSpan = M, A.rowSpan = $, {
|
|
27761
27760
|
colSpan: M,
|
|
27762
27761
|
rowSpan: $
|
|
@@ -27842,19 +27841,19 @@ const Ry = {
|
|
|
27842
27841
|
if (!o || !d || (m.persist == null || m.persist(), O1(m) && m.touches && m.touches.length > 1))
|
|
27843
27842
|
return;
|
|
27844
27843
|
const h = r.getSize(), p = r ? r.getLeafHeaders().map((M) => [M.column.id, M.column.getSize()]) : [[o.id, o.getSize()]], C = O1(m) ? Math.round(m.touches[0].clientX) : m.clientX, x = {}, w = (M, $) => {
|
|
27845
|
-
typeof $ == "number" && (s.setColumnSizingInfo((
|
|
27844
|
+
typeof $ == "number" && (s.setColumnSizingInfo((V) => {
|
|
27846
27845
|
var z, ee;
|
|
27847
|
-
const oe = $ - ((z =
|
|
27848
|
-
return
|
|
27846
|
+
const oe = $ - ((z = V == null ? void 0 : V.startOffset) != null ? z : 0), ne = Math.max(oe / ((ee = V == null ? void 0 : V.startSize) != null ? ee : 0), -0.999999);
|
|
27847
|
+
return V.columnSizingStart.forEach((Ne) => {
|
|
27849
27848
|
let [le, pe] = Ne;
|
|
27850
27849
|
x[le] = Math.round(Math.max(pe + pe * ne, 0) * 100) / 100;
|
|
27851
27850
|
}), {
|
|
27852
|
-
...
|
|
27851
|
+
...V,
|
|
27853
27852
|
deltaOffset: oe,
|
|
27854
27853
|
deltaPercentage: ne
|
|
27855
27854
|
};
|
|
27856
|
-
}), (s.options.columnResizeMode === "onChange" || M === "end") && s.setColumnSizing((
|
|
27857
|
-
...
|
|
27855
|
+
}), (s.options.columnResizeMode === "onChange" || M === "end") && s.setColumnSizing((V) => ({
|
|
27856
|
+
...V,
|
|
27858
27857
|
...x
|
|
27859
27858
|
})));
|
|
27860
27859
|
}, R = (M) => w("move", M), _ = (M) => {
|
|
@@ -29181,8 +29180,8 @@ function DI(r) {
|
|
|
29181
29180
|
getAllColumns: Bt(() => [o._getColumnDefs()], (R) => {
|
|
29182
29181
|
const _ = function(N, O, A) {
|
|
29183
29182
|
return A === void 0 && (A = 0), N.map((M) => {
|
|
29184
|
-
const $ = eI(o, M, A, O),
|
|
29185
|
-
return $.columns =
|
|
29183
|
+
const $ = eI(o, M, A, O), V = M;
|
|
29184
|
+
return $.columns = V.columns ? _(V.columns, $, A + 1) : [], $;
|
|
29186
29185
|
});
|
|
29187
29186
|
};
|
|
29188
29187
|
return _(R);
|
|
@@ -29315,7 +29314,7 @@ const AI = ({
|
|
|
29315
29314
|
),
|
|
29316
29315
|
children: [
|
|
29317
29316
|
/* @__PURE__ */ I("thead", { children: N().map((M) => /* @__PURE__ */ I("tr", { children: M.headers.map(
|
|
29318
|
-
({ column: $, getContext:
|
|
29317
|
+
({ column: $, getContext: V, id: z, isPlaceholder: ee }) => /* @__PURE__ */ I(
|
|
29319
29318
|
"th",
|
|
29320
29319
|
{
|
|
29321
29320
|
className: wn(
|
|
@@ -29326,7 +29325,7 @@ const AI = ({
|
|
|
29326
29325
|
),
|
|
29327
29326
|
onClick: $.getCanSort() ? $.getToggleSortingHandler() : void 0,
|
|
29328
29327
|
children: ee ? null : /* @__PURE__ */ Mt("div", { className: "flex items-center", children: [
|
|
29329
|
-
yR($.columnDef.header,
|
|
29328
|
+
yR($.columnDef.header, V()),
|
|
29330
29329
|
/* @__PURE__ */ I(AI, { column: $ })
|
|
29331
29330
|
] })
|
|
29332
29331
|
},
|
|
@@ -29337,7 +29336,7 @@ const AI = ({
|
|
|
29337
29336
|
"tr",
|
|
29338
29337
|
{
|
|
29339
29338
|
className: h === !0 ? "hover" : void 0,
|
|
29340
|
-
children: M().map(({ column:
|
|
29339
|
+
children: M().map(({ column: V, getContext: z }) => /* @__PURE__ */ I("td", { className: r == null ? void 0 : r[V.id], children: yR(V.columnDef.cell, z()) }, V.id))
|
|
29341
29340
|
},
|
|
29342
29341
|
$
|
|
29343
29342
|
)) }) : null
|
|
@@ -29359,31 +29358,62 @@ const AI = ({
|
|
|
29359
29358
|
bordered: r,
|
|
29360
29359
|
boxed: s,
|
|
29361
29360
|
children: o,
|
|
29362
|
-
|
|
29363
|
-
|
|
29364
|
-
|
|
29365
|
-
|
|
29366
|
-
|
|
29367
|
-
|
|
29368
|
-
|
|
29369
|
-
|
|
29361
|
+
className: d,
|
|
29362
|
+
defaultTabId: m,
|
|
29363
|
+
manual: h,
|
|
29364
|
+
lifted: p,
|
|
29365
|
+
onChange: C,
|
|
29366
|
+
selectedTabId: x,
|
|
29367
|
+
size: w,
|
|
29368
|
+
tabs: R,
|
|
29369
|
+
vertical: _,
|
|
29370
|
+
...N
|
|
29371
|
+
}) => {
|
|
29372
|
+
const O = gt(
|
|
29373
|
+
() => R.findIndex(({ id: M }) => m === M),
|
|
29374
|
+
[m, R]
|
|
29375
|
+
), A = gt(
|
|
29376
|
+
() => R.findIndex(({ id: M }) => x === M),
|
|
29377
|
+
[x, R]
|
|
29378
|
+
);
|
|
29379
|
+
return /* @__PURE__ */ Mt(
|
|
29380
|
+
Ey.Group,
|
|
29370
29381
|
{
|
|
29371
|
-
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
|
|
29376
|
-
|
|
29377
|
-
|
|
29378
|
-
|
|
29379
|
-
|
|
29380
|
-
|
|
29381
|
-
|
|
29382
|
-
|
|
29383
|
-
|
|
29384
|
-
|
|
29385
|
-
|
|
29386
|
-
|
|
29382
|
+
defaultIndex: O > -1 ? O : 0,
|
|
29383
|
+
manual: h,
|
|
29384
|
+
onChange: (M) => C(R[M].id),
|
|
29385
|
+
selectedIndex: A > -1 ? A : 0,
|
|
29386
|
+
vertical: _,
|
|
29387
|
+
children: [
|
|
29388
|
+
/* @__PURE__ */ I(
|
|
29389
|
+
Ey.List,
|
|
29390
|
+
{
|
|
29391
|
+
className: wn("tabs", s && "tabs-boxed", d),
|
|
29392
|
+
...N,
|
|
29393
|
+
children: R.map(({ className: M, disabled: $, id: V, ...z }) => /* @__PURE__ */ I(
|
|
29394
|
+
Ey,
|
|
29395
|
+
{
|
|
29396
|
+
disabled: $,
|
|
29397
|
+
className: ({ selected: ee }) => wn(
|
|
29398
|
+
"tab",
|
|
29399
|
+
r && "tab-bordered",
|
|
29400
|
+
$ && "tab-disabled",
|
|
29401
|
+
p && "tab-lifted",
|
|
29402
|
+
ee && "tab-active",
|
|
29403
|
+
w && `tab-${w}`,
|
|
29404
|
+
M
|
|
29405
|
+
),
|
|
29406
|
+
...z
|
|
29407
|
+
},
|
|
29408
|
+
V
|
|
29409
|
+
))
|
|
29410
|
+
}
|
|
29411
|
+
),
|
|
29412
|
+
/* @__PURE__ */ I(Ey.Panels, { children: o })
|
|
29413
|
+
]
|
|
29414
|
+
}
|
|
29415
|
+
);
|
|
29416
|
+
};
|
|
29387
29417
|
var My = {}, $I = {
|
|
29388
29418
|
get exports() {
|
|
29389
29419
|
return My;
|
|
@@ -29393,7 +29423,7 @@ var My = {}, $I = {
|
|
|
29393
29423
|
}
|
|
29394
29424
|
};
|
|
29395
29425
|
(function(r, s) {
|
|
29396
|
-
var o = 200, d = "__lodash_hash_undefined__", m = 1, h = 2, p = 9007199254740991, C = "[object Arguments]", x = "[object Array]", w = "[object AsyncFunction]", R = "[object Boolean]", _ = "[object Date]", N = "[object Error]", O = "[object Function]", A = "[object GeneratorFunction]", M = "[object Map]", $ = "[object Number]",
|
|
29426
|
+
var o = 200, d = "__lodash_hash_undefined__", m = 1, h = 2, p = 9007199254740991, C = "[object Arguments]", x = "[object Array]", w = "[object AsyncFunction]", R = "[object Boolean]", _ = "[object Date]", N = "[object Error]", O = "[object Function]", A = "[object GeneratorFunction]", M = "[object Map]", $ = "[object Number]", V = "[object Null]", z = "[object Object]", ee = "[object Promise]", oe = "[object Proxy]", ne = "[object RegExp]", Ne = "[object Set]", le = "[object String]", pe = "[object Symbol]", De = "[object Undefined]", we = "[object WeakMap]", te = "[object ArrayBuffer]", ye = "[object DataView]", se = "[object Float32Array]", $e = "[object Float64Array]", ot = "[object Int8Array]", Ke = "[object Int16Array]", Lt = "[object Int32Array]", ce = "[object Uint8Array]", xe = "[object Uint8ClampedArray]", _e = "[object Uint16Array]", Je = "[object Uint32Array]", Rt = /[\\^$.*+?()[\]{}|]/g, Ee = /^\[object .+?Constructor\]$/, Pe = /^(?:0|[1-9]\d*)$/, Z = {};
|
|
29397
29427
|
Z[se] = Z[$e] = Z[ot] = Z[Ke] = Z[Lt] = Z[ce] = Z[xe] = Z[_e] = Z[Je] = !0, Z[C] = Z[x] = Z[te] = Z[R] = Z[ye] = Z[_] = Z[N] = Z[O] = Z[M] = Z[$] = Z[z] = Z[ne] = Z[Ne] = Z[le] = Z[we] = !1;
|
|
29398
29428
|
var ve = typeof Mo == "object" && Mo && Mo.Object === Object && Mo, et = typeof self == "object" && self && self.Object === Object && self, pt = ve || et || Function("return this")(), Nn = s && !s.nodeType && s, nr = Nn && !0 && r && !r.nodeType && r, cn = nr && nr.exports === Nn, vn = cn && ve.process, Xt = function() {
|
|
29399
29429
|
try {
|
|
@@ -29402,11 +29432,11 @@ var My = {}, $I = {
|
|
|
29402
29432
|
}
|
|
29403
29433
|
}(), Hn = Xt && Xt.isTypedArray;
|
|
29404
29434
|
function Vn(L, G) {
|
|
29405
|
-
for (var fe = -1, Ie = L == null ? 0 : L.length, on = 0,
|
|
29435
|
+
for (var fe = -1, Ie = L == null ? 0 : L.length, on = 0, yt = []; ++fe < Ie; ) {
|
|
29406
29436
|
var bn = L[fe];
|
|
29407
|
-
G(bn, fe, L) && (
|
|
29437
|
+
G(bn, fe, L) && (yt[on++] = bn);
|
|
29408
29438
|
}
|
|
29409
|
-
return
|
|
29439
|
+
return yt;
|
|
29410
29440
|
}
|
|
29411
29441
|
function Rn(L, G) {
|
|
29412
29442
|
for (var fe = -1, Ie = G.length, on = L.length; ++fe < Ie; )
|
|
@@ -29588,12 +29618,12 @@ var My = {}, $I = {
|
|
|
29588
29618
|
}
|
|
29589
29619
|
sl.prototype.clear = Fo, sl.prototype.delete = Ya, sl.prototype.get = ed, sl.prototype.has = wa, sl.prototype.set = td;
|
|
29590
29620
|
function nd(L, G) {
|
|
29591
|
-
var fe = zn(L), Ie = !fe && Po(L), on = !fe && !Ie && Qs(L),
|
|
29621
|
+
var fe = zn(L), Ie = !fe && Po(L), on = !fe && !Ie && Qs(L), yt = !fe && !Ie && !on && Iu(L), bn = fe || Ie || on || yt, Kn = bn ? Ea(L.length, String) : [], Cn = Kn.length;
|
|
29592
29622
|
for (var fn in L)
|
|
29593
29623
|
(G || qn.call(L, fn)) && !(bn && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
29594
29624
|
(fn == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
29595
29625
|
on && (fn == "offset" || fn == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
29596
|
-
|
|
29626
|
+
yt && (fn == "buffer" || fn == "byteLength" || fn == "byteOffset") || // Skip index properties.
|
|
29597
29627
|
ad(fn, Cn))) && Kn.push(fn);
|
|
29598
29628
|
return Kn;
|
|
29599
29629
|
}
|
|
@@ -29608,7 +29638,7 @@ var My = {}, $I = {
|
|
|
29608
29638
|
return zn(L) ? Ie : Rn(Ie, fe(L));
|
|
29609
29639
|
}
|
|
29610
29640
|
function cl(L) {
|
|
29611
|
-
return L == null ? L === void 0 ? De :
|
|
29641
|
+
return L == null ? L === void 0 ? De : V : Yt && Yt in Object(L) ? rd(L) : Xn(L);
|
|
29612
29642
|
}
|
|
29613
29643
|
function Zl(L) {
|
|
29614
29644
|
return dl(L) && cl(L) == C;
|
|
@@ -29616,7 +29646,7 @@ var My = {}, $I = {
|
|
|
29616
29646
|
function Ra(L, G, fe, Ie, on) {
|
|
29617
29647
|
return L === G ? !0 : L == null || G == null || !dl(L) && !dl(G) ? L !== L && G !== G : Bs(L, G, fe, Ie, Ra, on);
|
|
29618
29648
|
}
|
|
29619
|
-
function Bs(L, G, fe, Ie, on,
|
|
29649
|
+
function Bs(L, G, fe, Ie, on, yt) {
|
|
29620
29650
|
var bn = zn(L), Kn = zn(G), Cn = bn ? x : It(L), fn = Kn ? x : It(G);
|
|
29621
29651
|
Cn = Cn == C ? z : Cn, fn = fn == C ? z : fn;
|
|
29622
29652
|
var hr = Cn == z, sa = fn == z, Bn = Cn == fn;
|
|
@@ -29626,18 +29656,18 @@ var My = {}, $I = {
|
|
|
29626
29656
|
bn = !0, hr = !1;
|
|
29627
29657
|
}
|
|
29628
29658
|
if (Bn && !hr)
|
|
29629
|
-
return
|
|
29659
|
+
return yt || (yt = new sl()), bn || Iu(L) ? zu(L, G, fe, Ie, on, yt) : bi(L, G, Cn, fe, Ie, on, yt);
|
|
29630
29660
|
if (!(fe & m)) {
|
|
29631
29661
|
var Er = hr && qn.call(L, "__wrapped__"), ca = sa && qn.call(G, "__wrapped__");
|
|
29632
29662
|
if (Er || ca) {
|
|
29633
29663
|
var Zn = Er ? L.value() : L, wr = ca ? G.value() : G;
|
|
29634
|
-
return
|
|
29664
|
+
return yt || (yt = new sl()), on(Zn, wr, fe, Ie, yt);
|
|
29635
29665
|
}
|
|
29636
29666
|
}
|
|
29637
|
-
return Bn ? (
|
|
29667
|
+
return Bn ? (yt || (yt = new sl()), ep(L, G, fe, Ie, on, yt)) : !1;
|
|
29638
29668
|
}
|
|
29639
29669
|
function $u(L) {
|
|
29640
|
-
if (!Ws(L) ||
|
|
29670
|
+
if (!Ws(L) || St(L))
|
|
29641
29671
|
return !1;
|
|
29642
29672
|
var G = mr(L) ? kt : Ee;
|
|
29643
29673
|
return G.test(sr(L));
|
|
@@ -29653,18 +29683,18 @@ var My = {}, $I = {
|
|
|
29653
29683
|
qn.call(L, fe) && fe != "constructor" && G.push(fe);
|
|
29654
29684
|
return G;
|
|
29655
29685
|
}
|
|
29656
|
-
function zu(L, G, fe, Ie, on,
|
|
29686
|
+
function zu(L, G, fe, Ie, on, yt) {
|
|
29657
29687
|
var bn = fe & m, Kn = L.length, Cn = G.length;
|
|
29658
29688
|
if (Kn != Cn && !(bn && Cn > Kn))
|
|
29659
29689
|
return !1;
|
|
29660
|
-
var fn =
|
|
29661
|
-
if (fn &&
|
|
29690
|
+
var fn = yt.get(L);
|
|
29691
|
+
if (fn && yt.get(G))
|
|
29662
29692
|
return fn == G;
|
|
29663
29693
|
var hr = -1, sa = !0, Bn = fe & h ? new Ot() : void 0;
|
|
29664
|
-
for (
|
|
29694
|
+
for (yt.set(L, G), yt.set(G, L); ++hr < Kn; ) {
|
|
29665
29695
|
var Er = L[hr], ca = G[hr];
|
|
29666
29696
|
if (Ie)
|
|
29667
|
-
var Zn = bn ? Ie(ca, Er, hr, G, L,
|
|
29697
|
+
var Zn = bn ? Ie(ca, Er, hr, G, L, yt) : Ie(Er, ca, hr, L, G, yt);
|
|
29668
29698
|
if (Zn !== void 0) {
|
|
29669
29699
|
if (Zn)
|
|
29670
29700
|
continue;
|
|
@@ -29673,27 +29703,27 @@ var My = {}, $I = {
|
|
|
29673
29703
|
}
|
|
29674
29704
|
if (Bn) {
|
|
29675
29705
|
if (!nt(G, function(wr, fl) {
|
|
29676
|
-
if (!Al(Bn, fl) && (Er === wr || on(Er, wr, fe, Ie,
|
|
29706
|
+
if (!Al(Bn, fl) && (Er === wr || on(Er, wr, fe, Ie, yt)))
|
|
29677
29707
|
return Bn.push(fl);
|
|
29678
29708
|
})) {
|
|
29679
29709
|
sa = !1;
|
|
29680
29710
|
break;
|
|
29681
29711
|
}
|
|
29682
|
-
} else if (!(Er === ca || on(Er, ca, fe, Ie,
|
|
29712
|
+
} else if (!(Er === ca || on(Er, ca, fe, Ie, yt))) {
|
|
29683
29713
|
sa = !1;
|
|
29684
29714
|
break;
|
|
29685
29715
|
}
|
|
29686
29716
|
}
|
|
29687
|
-
return
|
|
29717
|
+
return yt.delete(L), yt.delete(G), sa;
|
|
29688
29718
|
}
|
|
29689
|
-
function bi(L, G, fe, Ie, on,
|
|
29719
|
+
function bi(L, G, fe, Ie, on, yt, bn) {
|
|
29690
29720
|
switch (fe) {
|
|
29691
29721
|
case ye:
|
|
29692
29722
|
if (L.byteLength != G.byteLength || L.byteOffset != G.byteOffset)
|
|
29693
29723
|
return !1;
|
|
29694
29724
|
L = L.buffer, G = G.buffer;
|
|
29695
29725
|
case te:
|
|
29696
|
-
return !(L.byteLength != G.byteLength || !
|
|
29726
|
+
return !(L.byteLength != G.byteLength || !yt(new rr(L), new rr(G)));
|
|
29697
29727
|
case R:
|
|
29698
29728
|
case _:
|
|
29699
29729
|
case $:
|
|
@@ -29713,7 +29743,7 @@ var My = {}, $I = {
|
|
|
29713
29743
|
if (fn)
|
|
29714
29744
|
return fn == G;
|
|
29715
29745
|
Ie |= h, bn.set(L, G);
|
|
29716
|
-
var hr = zu(Kn(L), Kn(G), Ie, on,
|
|
29746
|
+
var hr = zu(Kn(L), Kn(G), Ie, on, yt, bn);
|
|
29717
29747
|
return bn.delete(L), hr;
|
|
29718
29748
|
case pe:
|
|
29719
29749
|
if (oa)
|
|
@@ -29721,7 +29751,7 @@ var My = {}, $I = {
|
|
|
29721
29751
|
}
|
|
29722
29752
|
return !1;
|
|
29723
29753
|
}
|
|
29724
|
-
function ep(L, G, fe, Ie, on,
|
|
29754
|
+
function ep(L, G, fe, Ie, on, yt) {
|
|
29725
29755
|
var bn = fe & m, Kn = Ji(L), Cn = Kn.length, fn = Ji(G), hr = fn.length;
|
|
29726
29756
|
if (Cn != hr && !bn)
|
|
29727
29757
|
return !1;
|
|
@@ -29730,17 +29760,17 @@ var My = {}, $I = {
|
|
|
29730
29760
|
if (!(bn ? Bn in G : qn.call(G, Bn)))
|
|
29731
29761
|
return !1;
|
|
29732
29762
|
}
|
|
29733
|
-
var Er =
|
|
29734
|
-
if (Er &&
|
|
29763
|
+
var Er = yt.get(L);
|
|
29764
|
+
if (Er && yt.get(G))
|
|
29735
29765
|
return Er == G;
|
|
29736
29766
|
var ca = !0;
|
|
29737
|
-
|
|
29767
|
+
yt.set(L, G), yt.set(G, L);
|
|
29738
29768
|
for (var Zn = bn; ++sa < Cn; ) {
|
|
29739
29769
|
Bn = Kn[sa];
|
|
29740
29770
|
var wr = L[Bn], fl = G[Bn];
|
|
29741
29771
|
if (Ie)
|
|
29742
|
-
var Ci = bn ? Ie(fl, wr, Bn, G, L,
|
|
29743
|
-
if (!(Ci === void 0 ? wr === fl || on(wr, fl, fe, Ie,
|
|
29772
|
+
var Ci = bn ? Ie(fl, wr, Bn, G, L, yt) : Ie(wr, fl, Bn, L, G, yt);
|
|
29773
|
+
if (!(Ci === void 0 ? wr === fl || on(wr, fl, fe, Ie, yt) : Ci)) {
|
|
29744
29774
|
ca = !1;
|
|
29745
29775
|
break;
|
|
29746
29776
|
}
|
|
@@ -29750,7 +29780,7 @@ var My = {}, $I = {
|
|
|
29750
29780
|
var Ho = L.constructor, xi = G.constructor;
|
|
29751
29781
|
Ho != xi && "constructor" in L && "constructor" in G && !(typeof Ho == "function" && Ho instanceof Ho && typeof xi == "function" && xi instanceof xi) && (ca = !1);
|
|
29752
29782
|
}
|
|
29753
|
-
return
|
|
29783
|
+
return yt.delete(L), yt.delete(G), ca;
|
|
29754
29784
|
}
|
|
29755
29785
|
function Ji(L) {
|
|
29756
29786
|
return Au(L, ld, Pu);
|
|
@@ -29802,7 +29832,7 @@ var My = {}, $I = {
|
|
|
29802
29832
|
var G = typeof L;
|
|
29803
29833
|
return G == "string" || G == "number" || G == "symbol" || G == "boolean" ? L !== "__proto__" : L === null;
|
|
29804
29834
|
}
|
|
29805
|
-
function
|
|
29835
|
+
function St(L) {
|
|
29806
29836
|
return !!Oe && Oe in L;
|
|
29807
29837
|
}
|
|
29808
29838
|
function zo(L) {
|
|
@@ -29885,13 +29915,13 @@ const FI = My, zI = ({
|
|
|
29885
29915
|
debounceTime: s,
|
|
29886
29916
|
onDebouncedChange: d,
|
|
29887
29917
|
options: m
|
|
29888
|
-
}), $ = (
|
|
29889
|
-
(z) => z.filter((ee, oe) =>
|
|
29918
|
+
}), $ = (V) => x(
|
|
29919
|
+
(z) => z.filter((ee, oe) => V !== oe)
|
|
29890
29920
|
);
|
|
29891
29921
|
return HP(_, () => R(!1)), wt(() => {
|
|
29892
29922
|
w ? setTimeout(() => {
|
|
29893
|
-
var
|
|
29894
|
-
return (
|
|
29923
|
+
var V;
|
|
29924
|
+
return (V = N.current) == null ? void 0 : V.focus();
|
|
29895
29925
|
}) : M("");
|
|
29896
29926
|
}, [w]), wt(() => {
|
|
29897
29927
|
p === "" && x([]);
|
|
@@ -29975,7 +30005,7 @@ const FI = My, zI = ({
|
|
|
29975
30005
|
name: A,
|
|
29976
30006
|
onDebouncedChange: M,
|
|
29977
30007
|
options: $,
|
|
29978
|
-
placeholder:
|
|
30008
|
+
placeholder: V,
|
|
29979
30009
|
showDirty: z
|
|
29980
30010
|
}) => {
|
|
29981
30011
|
const ee = w ?? qe(null), {
|
|
@@ -30038,7 +30068,7 @@ const FI = My, zI = ({
|
|
|
30038
30068
|
children: (h == null ? void 0 : h(xe)) ?? p(xe)
|
|
30039
30069
|
},
|
|
30040
30070
|
xe.id
|
|
30041
|
-
)) :
|
|
30071
|
+
)) : V
|
|
30042
30072
|
}
|
|
30043
30073
|
) : /* @__PURE__ */ I(
|
|
30044
30074
|
qc.Input,
|
|
@@ -30048,7 +30078,7 @@ const FI = My, zI = ({
|
|
|
30048
30078
|
onChange: ({ target: { value: xe } }) => {
|
|
30049
30079
|
$e(xe), xe.length > 0 ? ye(!0) : (ye(!1), se([]));
|
|
30050
30080
|
},
|
|
30051
|
-
placeholder:
|
|
30081
|
+
placeholder: V,
|
|
30052
30082
|
ref: ee
|
|
30053
30083
|
}
|
|
30054
30084
|
)
|
|
@@ -30112,6 +30142,15 @@ const FI = My, zI = ({
|
|
|
30112
30142
|
]
|
|
30113
30143
|
}
|
|
30114
30144
|
);
|
|
30145
|
+
}, l3 = {
|
|
30146
|
+
input: (r) => r !== null ? r.toString() : "",
|
|
30147
|
+
output: (r) => {
|
|
30148
|
+
const s = parseInt(r);
|
|
30149
|
+
return Number.isNaN(s) ? null : s;
|
|
30150
|
+
}
|
|
30151
|
+
}, i3 = {
|
|
30152
|
+
input: (r) => r ?? "",
|
|
30153
|
+
output: (r) => r.length > 0 ? r : null
|
|
30115
30154
|
};
|
|
30116
30155
|
export {
|
|
30117
30156
|
YI as AlertMessages,
|
|
@@ -30148,6 +30187,8 @@ export {
|
|
|
30148
30187
|
r3 as Tabs,
|
|
30149
30188
|
a3 as TypeaheadSelect,
|
|
30150
30189
|
U$ as WarningIcon,
|
|
30190
|
+
l3 as integerInputTransformer,
|
|
30191
|
+
i3 as nullEmptyStringTransformer,
|
|
30151
30192
|
D$ as useAlertMessages,
|
|
30152
30193
|
UP as useDebouncedValue,
|
|
30153
30194
|
Nm as useFieldColor,
|