@xras/ui 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/xras-ui.cjs +15 -15
- package/dist/xras-ui.js +690 -653
- package/package.json +1 -1
package/dist/xras-ui.js
CHANGED
|
@@ -20,7 +20,7 @@ function Hw(e, t) {
|
|
|
20
20
|
function Xs(e) {
|
|
21
21
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
22
22
|
}
|
|
23
|
-
var
|
|
23
|
+
var Ng = { exports: {} }, fl = {}, kg = { exports: {} }, re = {};
|
|
24
24
|
/**
|
|
25
25
|
* @license React
|
|
26
26
|
* react.production.min.js
|
|
@@ -30,9 +30,9 @@ var kg = { exports: {} }, fl = {}, Ng = { exports: {} }, re = {};
|
|
|
30
30
|
* This source code is licensed under the MIT license found in the
|
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
|
32
32
|
*/
|
|
33
|
-
var Zs = Symbol.for("react.element"), Ww = Symbol.for("react.portal"), Kw = Symbol.for("react.fragment"), Gw = Symbol.for("react.strict_mode"), Yw = Symbol.for("react.profiler"), Qw = Symbol.for("react.provider"), Xw = Symbol.for("react.context"), Zw = Symbol.for("react.forward_ref"), Jw = Symbol.for("react.suspense"), e1 = Symbol.for("react.memo"), t1 = Symbol.for("react.lazy"),
|
|
33
|
+
var Zs = Symbol.for("react.element"), Ww = Symbol.for("react.portal"), Kw = Symbol.for("react.fragment"), Gw = Symbol.for("react.strict_mode"), Yw = Symbol.for("react.profiler"), Qw = Symbol.for("react.provider"), Xw = Symbol.for("react.context"), Zw = Symbol.for("react.forward_ref"), Jw = Symbol.for("react.suspense"), e1 = Symbol.for("react.memo"), t1 = Symbol.for("react.lazy"), Np = Symbol.iterator;
|
|
34
34
|
function n1(e) {
|
|
35
|
-
return e === null || typeof e != "object" ? null : (e =
|
|
35
|
+
return e === null || typeof e != "object" ? null : (e = Np && e[Np] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
36
36
|
}
|
|
37
37
|
var Tg = { isMounted: function() {
|
|
38
38
|
return !1;
|
|
@@ -62,7 +62,7 @@ var Pd = Od.prototype = new $g();
|
|
|
62
62
|
Pd.constructor = Od;
|
|
63
63
|
Og(Pd, $o.prototype);
|
|
64
64
|
Pd.isPureReactComponent = !0;
|
|
65
|
-
var
|
|
65
|
+
var kp = Array.isArray, Ig = Object.prototype.hasOwnProperty, $d = { current: null }, Ag = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
66
66
|
function Mg(e, t, n) {
|
|
67
67
|
var r, o = {}, s = null, i = null;
|
|
68
68
|
if (t != null)
|
|
@@ -117,10 +117,10 @@ function Bi(e, t, n, r, o) {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
if (i)
|
|
120
|
-
return i = e, o = o(i), e = r === "" ? "." + nc(i, 0) : r,
|
|
120
|
+
return i = e, o = o(i), e = r === "" ? "." + nc(i, 0) : r, kp(o) ? (n = "", e != null && (n = e.replace(Tp, "$&/") + "/"), Bi(o, t, n, "", function(u) {
|
|
121
121
|
return u;
|
|
122
122
|
})) : o != null && (Id(o) && (o = r1(o, n + (!o.key || i && i.key === o.key ? "" : ("" + o.key).replace(Tp, "$&/") + "/") + e)), t.push(o)), 1;
|
|
123
|
-
if (i = 0, r = r === "" ? "." : r + ":",
|
|
123
|
+
if (i = 0, r = r === "" ? "." : r + ":", kp(e))
|
|
124
124
|
for (var l = 0; l < e.length; l++) {
|
|
125
125
|
s = e[l];
|
|
126
126
|
var c = r + nc(s, l);
|
|
@@ -279,8 +279,8 @@ re.useTransition = function() {
|
|
|
279
279
|
return ot.current.useTransition();
|
|
280
280
|
};
|
|
281
281
|
re.version = "18.2.0";
|
|
282
|
-
|
|
283
|
-
var w =
|
|
282
|
+
kg.exports = re;
|
|
283
|
+
var w = kg.exports;
|
|
284
284
|
const _e = /* @__PURE__ */ Xs(w), ma = /* @__PURE__ */ Hw({
|
|
285
285
|
__proto__: null,
|
|
286
286
|
default: _e
|
|
@@ -308,8 +308,8 @@ function Dg(e, t, n) {
|
|
|
308
308
|
fl.Fragment = c1;
|
|
309
309
|
fl.jsx = Dg;
|
|
310
310
|
fl.jsxs = Dg;
|
|
311
|
-
|
|
312
|
-
var a =
|
|
311
|
+
Ng.exports = fl;
|
|
312
|
+
var a = Ng.exports, St = {}, Fg = { exports: {} }, Nt = {}, Lg = { exports: {} }, Ug = {};
|
|
313
313
|
/**
|
|
314
314
|
* @license React
|
|
315
315
|
* scheduler.production.min.js
|
|
@@ -416,11 +416,11 @@ var a = kg.exports, St = {}, Fg = { exports: {} }, kt = {}, Lg = { exports: {} }
|
|
|
416
416
|
f = null, p = A, y = !1;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
var j = !1, C = null, E = -1,
|
|
419
|
+
var j = !1, C = null, E = -1, N = 5, R = -1;
|
|
420
420
|
function T() {
|
|
421
|
-
return !(e.unstable_now() - R <
|
|
421
|
+
return !(e.unstable_now() - R < N);
|
|
422
422
|
}
|
|
423
|
-
function
|
|
423
|
+
function k() {
|
|
424
424
|
if (C !== null) {
|
|
425
425
|
var O = e.unstable_now();
|
|
426
426
|
R = O;
|
|
@@ -436,16 +436,16 @@ var a = kg.exports, St = {}, Fg = { exports: {} }, kt = {}, Lg = { exports: {} }
|
|
|
436
436
|
var P;
|
|
437
437
|
if (typeof g == "function")
|
|
438
438
|
P = function() {
|
|
439
|
-
g(
|
|
439
|
+
g(k);
|
|
440
440
|
};
|
|
441
441
|
else if (typeof MessageChannel < "u") {
|
|
442
442
|
var D = new MessageChannel(), F = D.port2;
|
|
443
|
-
D.port1.onmessage =
|
|
443
|
+
D.port1.onmessage = k, P = function() {
|
|
444
444
|
F.postMessage(null);
|
|
445
445
|
};
|
|
446
446
|
} else
|
|
447
447
|
P = function() {
|
|
448
|
-
x(
|
|
448
|
+
x(k, 0);
|
|
449
449
|
};
|
|
450
450
|
function V(O) {
|
|
451
451
|
C = O, j || (j = !0, P());
|
|
@@ -460,7 +460,7 @@ var a = kg.exports, St = {}, Fg = { exports: {} }, kt = {}, Lg = { exports: {} }
|
|
|
460
460
|
}, e.unstable_continueExecution = function() {
|
|
461
461
|
m || y || (m = !0, V(_));
|
|
462
462
|
}, e.unstable_forceFrameRate = function(O) {
|
|
463
|
-
0 > O || 125 < O ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") :
|
|
463
|
+
0 > O || 125 < O ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : N = 0 < O ? Math.floor(1e3 / O) : 5;
|
|
464
464
|
}, e.unstable_getCurrentPriorityLevel = function() {
|
|
465
465
|
return p;
|
|
466
466
|
}, e.unstable_getFirstCallbackNode = function() {
|
|
@@ -1328,7 +1328,7 @@ function av(e) {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
return null;
|
|
1330
1330
|
}
|
|
1331
|
-
var lv = _t.unstable_scheduleCallback, Up = _t.unstable_cancelCallback,
|
|
1331
|
+
var lv = _t.unstable_scheduleCallback, Up = _t.unstable_cancelCallback, N1 = _t.unstable_shouldYield, k1 = _t.unstable_requestPaint, Pe = _t.unstable_now, T1 = _t.unstable_getCurrentPriorityLevel, Bd = _t.unstable_ImmediatePriority, cv = _t.unstable_UserBlockingPriority, xa = _t.unstable_NormalPriority, O1 = _t.unstable_LowPriority, uv = _t.unstable_IdlePriority, pl = null, cn = null;
|
|
1332
1332
|
function P1(e) {
|
|
1333
1333
|
if (cn && typeof cn.onCommitFiberRoot == "function")
|
|
1334
1334
|
try {
|
|
@@ -1491,7 +1491,7 @@ var he = 0;
|
|
|
1491
1491
|
function fv(e) {
|
|
1492
1492
|
return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
1493
1493
|
}
|
|
1494
|
-
var pv, qd, hv, mv, gv, mu = !1, vi = [], Zn = null, Jn = null, er = null, Rs = /* @__PURE__ */ new Map(),
|
|
1494
|
+
var pv, qd, hv, mv, gv, mu = !1, vi = [], Zn = null, Jn = null, er = null, Rs = /* @__PURE__ */ new Map(), Ns = /* @__PURE__ */ new Map(), Kn = [], L1 = "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(" ");
|
|
1495
1495
|
function Vp(e, t) {
|
|
1496
1496
|
switch (e) {
|
|
1497
1497
|
case "focusin":
|
|
@@ -1512,7 +1512,7 @@ function Vp(e, t) {
|
|
|
1512
1512
|
break;
|
|
1513
1513
|
case "gotpointercapture":
|
|
1514
1514
|
case "lostpointercapture":
|
|
1515
|
-
|
|
1515
|
+
Ns.delete(t.pointerId);
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
function Wo(e, t, n, r, o, s) {
|
|
@@ -1530,7 +1530,7 @@ function U1(e, t, n, r, o) {
|
|
|
1530
1530
|
var s = o.pointerId;
|
|
1531
1531
|
return Rs.set(s, Wo(Rs.get(s) || null, e, t, n, r, o)), !0;
|
|
1532
1532
|
case "gotpointercapture":
|
|
1533
|
-
return s = o.pointerId,
|
|
1533
|
+
return s = o.pointerId, Ns.set(s, Wo(Ns.get(s) || null, e, t, n, r, o)), !0;
|
|
1534
1534
|
}
|
|
1535
1535
|
return !1;
|
|
1536
1536
|
}
|
|
@@ -1573,12 +1573,12 @@ function Bp(e, t, n) {
|
|
|
1573
1573
|
qi(e) && n.delete(t);
|
|
1574
1574
|
}
|
|
1575
1575
|
function V1() {
|
|
1576
|
-
mu = !1, Zn !== null && qi(Zn) && (Zn = null), Jn !== null && qi(Jn) && (Jn = null), er !== null && qi(er) && (er = null), Rs.forEach(Bp),
|
|
1576
|
+
mu = !1, Zn !== null && qi(Zn) && (Zn = null), Jn !== null && qi(Jn) && (Jn = null), er !== null && qi(er) && (er = null), Rs.forEach(Bp), Ns.forEach(Bp);
|
|
1577
1577
|
}
|
|
1578
1578
|
function Ko(e, t) {
|
|
1579
1579
|
e.blockedOn === t && (e.blockedOn = null, mu || (mu = !0, _t.unstable_scheduleCallback(_t.unstable_NormalPriority, V1)));
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function ks(e) {
|
|
1582
1582
|
function t(o) {
|
|
1583
1583
|
return Ko(o, e);
|
|
1584
1584
|
}
|
|
@@ -1589,7 +1589,7 @@ function Ns(e) {
|
|
|
1589
1589
|
r.blockedOn === e && (r.blockedOn = null);
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
|
-
for (Zn !== null && Ko(Zn, e), Jn !== null && Ko(Jn, e), er !== null && Ko(er, e), Rs.forEach(t),
|
|
1592
|
+
for (Zn !== null && Ko(Zn, e), Jn !== null && Ko(Jn, e), er !== null && Ko(er, e), Rs.forEach(t), Ns.forEach(t), n = 0; n < Kn.length; n++)
|
|
1593
1593
|
r = Kn[n], r.blockedOn === e && (r.blockedOn = null);
|
|
1594
1594
|
for (; 0 < Kn.length && (n = Kn[0], n.blockedOn === null); )
|
|
1595
1595
|
vv(n), n.blockedOn === null && Kn.shift();
|
|
@@ -1763,7 +1763,7 @@ function yi() {
|
|
|
1763
1763
|
function zp() {
|
|
1764
1764
|
return !1;
|
|
1765
1765
|
}
|
|
1766
|
-
function
|
|
1766
|
+
function kt(e) {
|
|
1767
1767
|
function t(n, r, o, s, i) {
|
|
1768
1768
|
this._reactName = n, this._targetInst = o, this.type = r, this.nativeEvent = s, this.target = i, this.currentTarget = null;
|
|
1769
1769
|
for (var l in e)
|
|
@@ -1782,15 +1782,15 @@ function Nt(e) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
var Io = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
1784
1784
|
return e.timeStamp || Date.now();
|
|
1785
|
-
}, defaultPrevented: 0, isTrusted: 0 }, Kd =
|
|
1785
|
+
}, defaultPrevented: 0, isTrusted: 0 }, Kd = kt(Io), ei = Re({}, Io, { view: 0, detail: 0 }), q1 = kt(ei), lc, cc, Go, hl = Re({}, ei, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Gd, button: 0, buttons: 0, relatedTarget: function(e) {
|
|
1786
1786
|
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
|
|
1787
1787
|
}, movementX: function(e) {
|
|
1788
1788
|
return "movementX" in e ? e.movementX : (e !== Go && (Go && e.type === "mousemove" ? (lc = e.screenX - Go.screenX, cc = e.screenY - Go.screenY) : cc = lc = 0, Go = e), lc);
|
|
1789
1789
|
}, movementY: function(e) {
|
|
1790
1790
|
return "movementY" in e ? e.movementY : cc;
|
|
1791
|
-
} }), qp =
|
|
1791
|
+
} }), qp = kt(hl), H1 = Re({}, hl, { dataTransfer: 0 }), W1 = kt(H1), K1 = Re({}, ei, { relatedTarget: 0 }), uc = kt(K1), G1 = Re({}, Io, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Y1 = kt(G1), Q1 = Re({}, Io, { clipboardData: function(e) {
|
|
1792
1792
|
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
1793
|
-
} }), X1 =
|
|
1793
|
+
} }), X1 = kt(Q1), Z1 = Re({}, Io, { data: 0 }), Hp = kt(Z1), J1 = {
|
|
1794
1794
|
Esc: "Escape",
|
|
1795
1795
|
Spacebar: " ",
|
|
1796
1796
|
Left: "ArrowLeft",
|
|
@@ -1861,7 +1861,7 @@ var rS = Re({}, ei, { key: function(e) {
|
|
|
1861
1861
|
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
1862
1862
|
}, which: function(e) {
|
|
1863
1863
|
return e.type === "keypress" ? Wi(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
1864
|
-
} }), oS =
|
|
1864
|
+
} }), oS = kt(rS), sS = Re({}, hl, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Wp = kt(sS), iS = Re({}, ei, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Gd }), aS = kt(iS), lS = Re({}, Io, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), cS = kt(lS), uS = Re({}, hl, {
|
|
1865
1865
|
deltaX: function(e) {
|
|
1866
1866
|
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
|
|
1867
1867
|
},
|
|
@@ -1870,7 +1870,7 @@ var rS = Re({}, ei, { key: function(e) {
|
|
|
1870
1870
|
},
|
|
1871
1871
|
deltaZ: 0,
|
|
1872
1872
|
deltaMode: 0
|
|
1873
|
-
}), dS =
|
|
1873
|
+
}), dS = kt(uS), fS = [9, 13, 27, 32], Yd = Tn && "CompositionEvent" in window, hs = null;
|
|
1874
1874
|
Tn && "documentMode" in document && (hs = document.documentMode);
|
|
1875
1875
|
var pS = Tn && "TextEvent" in window && !hs, bv = Tn && (!Yd || hs && 8 < hs && 11 >= hs), Kp = " ", Gp = !1;
|
|
1876
1876
|
function wv(e, t) {
|
|
@@ -2082,8 +2082,8 @@ function xi(e, t) {
|
|
|
2082
2082
|
var n = {};
|
|
2083
2083
|
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
|
|
2084
2084
|
}
|
|
2085
|
-
var Zr = { animationend: xi("Animation", "AnimationEnd"), animationiteration: xi("Animation", "AnimationIteration"), animationstart: xi("Animation", "AnimationStart"), transitionend: xi("Transition", "TransitionEnd") }, pc = {},
|
|
2086
|
-
Tn && (
|
|
2085
|
+
var Zr = { animationend: xi("Animation", "AnimationEnd"), animationiteration: xi("Animation", "AnimationIteration"), animationstart: xi("Animation", "AnimationStart"), transitionend: xi("Transition", "TransitionEnd") }, pc = {}, Nv = {};
|
|
2086
|
+
Tn && (Nv = document.createElement("div").style, "AnimationEvent" in window || (delete Zr.animationend.animation, delete Zr.animationiteration.animation, delete Zr.animationstart.animation), "TransitionEvent" in window || delete Zr.transitionend.transition);
|
|
2087
2087
|
function gl(e) {
|
|
2088
2088
|
if (pc[e])
|
|
2089
2089
|
return pc[e];
|
|
@@ -2091,11 +2091,11 @@ function gl(e) {
|
|
|
2091
2091
|
return e;
|
|
2092
2092
|
var t = Zr[e], n;
|
|
2093
2093
|
for (n in t)
|
|
2094
|
-
if (t.hasOwnProperty(n) && n in
|
|
2094
|
+
if (t.hasOwnProperty(n) && n in Nv)
|
|
2095
2095
|
return pc[e] = t[n];
|
|
2096
2096
|
return e;
|
|
2097
2097
|
}
|
|
2098
|
-
var
|
|
2098
|
+
var kv = gl("animationend"), Tv = gl("animationiteration"), Ov = gl("animationstart"), Pv = gl("transitionend"), $v = /* @__PURE__ */ new Map(), th = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
|
|
2099
2099
|
function dr(e, t) {
|
|
2100
2100
|
$v.set(e, t), Lr(t, [e]);
|
|
2101
2101
|
}
|
|
@@ -2103,7 +2103,7 @@ for (var hc = 0; hc < th.length; hc++) {
|
|
|
2103
2103
|
var mc = th[hc], ES = mc.toLowerCase(), RS = mc[0].toUpperCase() + mc.slice(1);
|
|
2104
2104
|
dr(ES, "on" + RS);
|
|
2105
2105
|
}
|
|
2106
|
-
dr(
|
|
2106
|
+
dr(kv, "onAnimationEnd");
|
|
2107
2107
|
dr(Tv, "onAnimationIteration");
|
|
2108
2108
|
dr(Ov, "onAnimationStart");
|
|
2109
2109
|
dr("dblclick", "onDoubleClick");
|
|
@@ -2120,7 +2120,7 @@ Lr("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
|
|
|
2120
2120
|
Lr("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
|
|
2121
2121
|
Lr("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
|
|
2122
2122
|
Lr("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
2123
|
-
var ls = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
|
|
2123
|
+
var ls = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), NS = new Set("cancel close invalid load scroll toggle".split(" ").concat(ls));
|
|
2124
2124
|
function nh(e, t, n) {
|
|
2125
2125
|
var r = e.type || "unknown-event";
|
|
2126
2126
|
e.currentTarget = n, E1(r, t, void 0, e), e.currentTarget = null;
|
|
@@ -2164,7 +2164,7 @@ var bi = "_reactListening" + Math.random().toString(36).slice(2);
|
|
|
2164
2164
|
function Ps(e) {
|
|
2165
2165
|
if (!e[bi]) {
|
|
2166
2166
|
e[bi] = !0, Bg.forEach(function(n) {
|
|
2167
|
-
n !== "selectionchange" && (
|
|
2167
|
+
n !== "selectionchange" && (NS.has(n) || gc(n, !1, e), gc(n, !0, e));
|
|
2168
2168
|
});
|
|
2169
2169
|
var t = e.nodeType === 9 ? e : e.ownerDocument;
|
|
2170
2170
|
t === null || t[bi] || (t[bi] = !0, gc("selectionchange", !1, t));
|
|
@@ -2267,7 +2267,7 @@ function vc(e, t, n, r, o) {
|
|
|
2267
2267
|
case "touchstart":
|
|
2268
2268
|
y = aS;
|
|
2269
2269
|
break;
|
|
2270
|
-
case
|
|
2270
|
+
case kv:
|
|
2271
2271
|
case Tv:
|
|
2272
2272
|
case Ov:
|
|
2273
2273
|
y = Y1;
|
|
@@ -2425,9 +2425,9 @@ function rh(e, t, n, r, o) {
|
|
|
2425
2425
|
}
|
|
2426
2426
|
i.length !== 0 && e.push({ event: t, listeners: i });
|
|
2427
2427
|
}
|
|
2428
|
-
var
|
|
2428
|
+
var kS = /\r\n?/g, TS = /\u0000|\uFFFD/g;
|
|
2429
2429
|
function oh(e) {
|
|
2430
|
-
return (typeof e == "string" ? e : "" + e).replace(
|
|
2430
|
+
return (typeof e == "string" ? e : "" + e).replace(kS, `
|
|
2431
2431
|
`).replace(TS, "");
|
|
2432
2432
|
}
|
|
2433
2433
|
function wi(e, t, n) {
|
|
@@ -2455,7 +2455,7 @@ function yc(e, t) {
|
|
|
2455
2455
|
if (e.removeChild(n), o && o.nodeType === 8)
|
|
2456
2456
|
if (n = o.data, n === "/$") {
|
|
2457
2457
|
if (r === 0) {
|
|
2458
|
-
e.removeChild(o),
|
|
2458
|
+
e.removeChild(o), ks(t);
|
|
2459
2459
|
return;
|
|
2460
2460
|
}
|
|
2461
2461
|
r--;
|
|
@@ -2463,7 +2463,7 @@ function yc(e, t) {
|
|
|
2463
2463
|
n !== "$" && n !== "$?" && n !== "$!" || r++;
|
|
2464
2464
|
n = o;
|
|
2465
2465
|
} while (n);
|
|
2466
|
-
|
|
2466
|
+
ks(t);
|
|
2467
2467
|
}
|
|
2468
2468
|
function tr(e) {
|
|
2469
2469
|
for (; e != null; e = e.nextSibling) {
|
|
@@ -2606,9 +2606,9 @@ function pr() {
|
|
|
2606
2606
|
}
|
|
2607
2607
|
return null;
|
|
2608
2608
|
}
|
|
2609
|
-
var to = [], no = 0, Ra = null,
|
|
2609
|
+
var to = [], no = 0, Ra = null, Na = 0, $t = [], It = 0, Or = null, jn = 1, Cn = "";
|
|
2610
2610
|
function mr(e, t) {
|
|
2611
|
-
to[no++] =
|
|
2611
|
+
to[no++] = Na, to[no++] = Ra, Ra = e, Na = t;
|
|
2612
2612
|
}
|
|
2613
2613
|
function Fv(e, t, n) {
|
|
2614
2614
|
$t[It++] = jn, $t[It++] = Cn, $t[It++] = Or, Or = e;
|
|
@@ -2628,7 +2628,7 @@ function Xd(e) {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
function Zd(e) {
|
|
2630
2630
|
for (; e === Ra; )
|
|
2631
|
-
Ra = to[--no], to[no] = null,
|
|
2631
|
+
Ra = to[--no], to[no] = null, Na = to[--no], to[no] = null;
|
|
2632
2632
|
for (; e === Or; )
|
|
2633
2633
|
Or = $t[--It], $t[It] = null, Cn = $t[--It], $t[It] = null, jn = $t[--It], $t[It] = null;
|
|
2634
2634
|
}
|
|
@@ -2733,13 +2733,13 @@ function qt(e, t) {
|
|
|
2733
2733
|
}
|
|
2734
2734
|
return t;
|
|
2735
2735
|
}
|
|
2736
|
-
var
|
|
2736
|
+
var ka = fr(null), Ta = null, ro = null, ef = null;
|
|
2737
2737
|
function tf() {
|
|
2738
2738
|
ef = ro = Ta = null;
|
|
2739
2739
|
}
|
|
2740
2740
|
function nf(e) {
|
|
2741
|
-
var t =
|
|
2742
|
-
be(
|
|
2741
|
+
var t = ka.current;
|
|
2742
|
+
be(ka), e._currentValue = t;
|
|
2743
2743
|
}
|
|
2744
2744
|
function Ru(e, t, n) {
|
|
2745
2745
|
for (; e !== null; ) {
|
|
@@ -2898,7 +2898,7 @@ function fh(e, t, n) {
|
|
|
2898
2898
|
}
|
|
2899
2899
|
}
|
|
2900
2900
|
var zv = new Vg.Component().refs;
|
|
2901
|
-
function
|
|
2901
|
+
function Nu(e, t, n, r) {
|
|
2902
2902
|
t = e.memoizedState, n = n(r, t), n = n == null ? t : Re({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
|
|
2903
2903
|
}
|
|
2904
2904
|
var xl = { isMounted: function(e) {
|
|
@@ -2926,11 +2926,11 @@ function qv(e, t, n) {
|
|
|
2926
2926
|
function hh(e, t, n, r) {
|
|
2927
2927
|
e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && xl.enqueueReplaceState(t, t.state, null);
|
|
2928
2928
|
}
|
|
2929
|
-
function
|
|
2929
|
+
function ku(e, t, n, r) {
|
|
2930
2930
|
var o = e.stateNode;
|
|
2931
2931
|
o.props = n, o.state = e.memoizedState, o.refs = zv, of(e);
|
|
2932
2932
|
var s = t.contextType;
|
|
2933
|
-
typeof s == "object" && s !== null ? o.context = Ft(s) : (s = ft(t) ? Tr : tt.current, o.context = yo(e, s)), o.state = e.memoizedState, s = t.getDerivedStateFromProps, typeof s == "function" && (
|
|
2933
|
+
typeof s == "object" && s !== null ? o.context = Ft(s) : (s = ft(t) ? Tr : tt.current, o.context = yo(e, s)), o.state = e.memoizedState, s = t.getDerivedStateFromProps, typeof s == "function" && (Nu(e, t, s, n), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount(), t !== o.state && xl.enqueueReplaceState(o, o.state, null), Oa(e, n, o, r), o.state = e.memoizedState), typeof o.componentDidMount == "function" && (e.flags |= 4194308);
|
|
2934
2934
|
}
|
|
2935
2935
|
function Yo(e, t, n) {
|
|
2936
2936
|
if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") {
|
|
@@ -3066,14 +3066,14 @@ function Hv(e) {
|
|
|
3066
3066
|
return null;
|
|
3067
3067
|
}
|
|
3068
3068
|
function m(v, g, b, S) {
|
|
3069
|
-
for (var _ = null, j = null, C = g, E = g = 0,
|
|
3070
|
-
C.index > E ? (
|
|
3069
|
+
for (var _ = null, j = null, C = g, E = g = 0, N = null; C !== null && E < b.length; E++) {
|
|
3070
|
+
C.index > E ? (N = C, C = null) : N = C.sibling;
|
|
3071
3071
|
var R = p(v, C, b[E], S);
|
|
3072
3072
|
if (R === null) {
|
|
3073
|
-
C === null && (C =
|
|
3073
|
+
C === null && (C = N);
|
|
3074
3074
|
break;
|
|
3075
3075
|
}
|
|
3076
|
-
e && C && R.alternate === null && t(v, C), g = s(R, g, E), j === null ? _ = R : j.sibling = R, j = R, C =
|
|
3076
|
+
e && C && R.alternate === null && t(v, C), g = s(R, g, E), j === null ? _ = R : j.sibling = R, j = R, C = N;
|
|
3077
3077
|
}
|
|
3078
3078
|
if (E === b.length)
|
|
3079
3079
|
return n(v, C), we && mr(v, E), _;
|
|
@@ -3083,7 +3083,7 @@ function Hv(e) {
|
|
|
3083
3083
|
return we && mr(v, E), _;
|
|
3084
3084
|
}
|
|
3085
3085
|
for (C = r(v, C); E < b.length; E++)
|
|
3086
|
-
|
|
3086
|
+
N = y(C, v, E, b[E], S), N !== null && (e && N.alternate !== null && C.delete(N.key === null ? E : N.key), g = s(N, g, E), j === null ? _ = N : j.sibling = N, j = N);
|
|
3087
3087
|
return e && C.forEach(function(T) {
|
|
3088
3088
|
return t(v, T);
|
|
3089
3089
|
}), we && mr(v, E), _;
|
|
@@ -3094,14 +3094,14 @@ function Hv(e) {
|
|
|
3094
3094
|
throw Error(I(150));
|
|
3095
3095
|
if (b = _.call(b), b == null)
|
|
3096
3096
|
throw Error(I(151));
|
|
3097
|
-
for (var j = _ = null, C = g, E = g = 0,
|
|
3098
|
-
C.index > E ? (
|
|
3097
|
+
for (var j = _ = null, C = g, E = g = 0, N = null, R = b.next(); C !== null && !R.done; E++, R = b.next()) {
|
|
3098
|
+
C.index > E ? (N = C, C = null) : N = C.sibling;
|
|
3099
3099
|
var T = p(v, C, R.value, S);
|
|
3100
3100
|
if (T === null) {
|
|
3101
|
-
C === null && (C =
|
|
3101
|
+
C === null && (C = N);
|
|
3102
3102
|
break;
|
|
3103
3103
|
}
|
|
3104
|
-
e && C && T.alternate === null && t(v, C), g = s(T, g, E), j === null ? _ = T : j.sibling = T, j = T, C =
|
|
3104
|
+
e && C && T.alternate === null && t(v, C), g = s(T, g, E), j === null ? _ = T : j.sibling = T, j = T, C = N;
|
|
3105
3105
|
}
|
|
3106
3106
|
if (R.done)
|
|
3107
3107
|
return n(
|
|
@@ -3115,8 +3115,8 @@ function Hv(e) {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
for (C = r(v, C); !R.done; E++, R = b.next())
|
|
3117
3117
|
R = y(C, v, E, R.value, S), R !== null && (e && R.alternate !== null && C.delete(R.key === null ? E : R.key), g = s(R, g, E), j === null ? _ = R : j.sibling = R, j = R);
|
|
3118
|
-
return e && C.forEach(function(
|
|
3119
|
-
return t(v,
|
|
3118
|
+
return e && C.forEach(function(k) {
|
|
3119
|
+
return t(v, k);
|
|
3120
3120
|
}), we && mr(v, E), _;
|
|
3121
3121
|
}
|
|
3122
3122
|
function x(v, g, b, S) {
|
|
@@ -3734,7 +3734,7 @@ function _h(e, t, n, r, o) {
|
|
|
3734
3734
|
} else
|
|
3735
3735
|
s = !1;
|
|
3736
3736
|
if (fo(t, o), t.stateNode === null)
|
|
3737
|
-
Qi(e, t), qv(t, n, r),
|
|
3737
|
+
Qi(e, t), qv(t, n, r), ku(t, n, r, o), r = !0;
|
|
3738
3738
|
else if (e === null) {
|
|
3739
3739
|
var i = t.stateNode, l = t.memoizedProps;
|
|
3740
3740
|
i.props = l;
|
|
@@ -3743,13 +3743,13 @@ function _h(e, t, n, r, o) {
|
|
|
3743
3743
|
var d = n.getDerivedStateFromProps, f = typeof d == "function" || typeof i.getSnapshotBeforeUpdate == "function";
|
|
3744
3744
|
f || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (l !== r || c !== u) && hh(t, i, r, u), Hn = !1;
|
|
3745
3745
|
var p = t.memoizedState;
|
|
3746
|
-
i.state = p, Oa(t, r, i, o), c = t.memoizedState, l !== r || p !== c || dt.current || Hn ? (typeof d == "function" && (
|
|
3746
|
+
i.state = p, Oa(t, r, i, o), c = t.memoizedState, l !== r || p !== c || dt.current || Hn ? (typeof d == "function" && (Nu(t, n, d, r), c = t.memoizedState), (l = Hn || ph(t, n, l, r, p, c, u)) ? (f || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = c), i.props = r, i.state = c, i.context = u, r = l) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
|
|
3747
3747
|
} else {
|
|
3748
3748
|
i = t.stateNode, Bv(e, t), l = t.memoizedProps, u = t.type === t.elementType ? l : qt(t.type, l), i.props = u, f = t.pendingProps, p = i.context, c = n.contextType, typeof c == "object" && c !== null ? c = Ft(c) : (c = ft(n) ? Tr : tt.current, c = yo(t, c));
|
|
3749
3749
|
var y = n.getDerivedStateFromProps;
|
|
3750
3750
|
(d = typeof y == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (l !== f || p !== c) && hh(t, i, r, c), Hn = !1, p = t.memoizedState, i.state = p, Oa(t, r, i, o);
|
|
3751
3751
|
var m = t.memoizedState;
|
|
3752
|
-
l !== f || p !== m || dt.current || Hn ? (typeof y == "function" && (
|
|
3752
|
+
l !== f || p !== m || dt.current || Hn ? (typeof y == "function" && (Nu(t, n, y, r), m = t.memoizedState), (u = Hn || ph(t, n, u, r, p, m, c) || !1) ? (d || typeof i.UNSAFE_componentWillUpdate != "function" && typeof i.componentWillUpdate != "function" || (typeof i.componentWillUpdate == "function" && i.componentWillUpdate(r, m, c), typeof i.UNSAFE_componentWillUpdate == "function" && i.UNSAFE_componentWillUpdate(r, m, c)), typeof i.componentDidUpdate == "function" && (t.flags |= 4), typeof i.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof i.componentDidUpdate != "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = m), i.props = r, i.state = m, i.context = c, r = u) : (typeof i.componentDidUpdate != "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), r = !1);
|
|
3753
3753
|
}
|
|
3754
3754
|
return Pu(e, t, n, r, s, o);
|
|
3755
3755
|
}
|
|
@@ -3940,7 +3940,7 @@ function GS(e, t, n) {
|
|
|
3940
3940
|
break;
|
|
3941
3941
|
case 10:
|
|
3942
3942
|
var r = t.type._context, o = t.memoizedProps.value;
|
|
3943
|
-
ye(
|
|
3943
|
+
ye(ka, r._currentValue), r._currentValue = o;
|
|
3944
3944
|
break;
|
|
3945
3945
|
case 13:
|
|
3946
3946
|
if (r = t.memoizedState, r !== null)
|
|
@@ -4371,7 +4371,7 @@ function oo(e, t) {
|
|
|
4371
4371
|
try {
|
|
4372
4372
|
n(null);
|
|
4373
4373
|
} catch (r) {
|
|
4374
|
-
|
|
4374
|
+
Ne(e, t, r);
|
|
4375
4375
|
}
|
|
4376
4376
|
else
|
|
4377
4377
|
n.current = null;
|
|
@@ -4380,7 +4380,7 @@ function Mu(e, t, n) {
|
|
|
4380
4380
|
try {
|
|
4381
4381
|
n();
|
|
4382
4382
|
} catch (r) {
|
|
4383
|
-
|
|
4383
|
+
Ne(e, t, r);
|
|
4384
4384
|
}
|
|
4385
4385
|
}
|
|
4386
4386
|
var Eh = !1;
|
|
@@ -4456,7 +4456,7 @@ function ZS(e, t) {
|
|
|
4456
4456
|
throw Error(I(163));
|
|
4457
4457
|
}
|
|
4458
4458
|
} catch (S) {
|
|
4459
|
-
|
|
4459
|
+
Ne(t, t.return, S);
|
|
4460
4460
|
}
|
|
4461
4461
|
if (e = t.sibling, e !== null) {
|
|
4462
4462
|
e.return = t.return, B = e;
|
|
@@ -4564,7 +4564,7 @@ function Ey(e, t, n) {
|
|
|
4564
4564
|
He = null, zn(e, t, n), He = r, Ht = o, He !== null && (Ht ? (e = He, n = n.stateNode, e.nodeType === 8 ? e.parentNode.removeChild(n) : e.removeChild(n)) : He.removeChild(n.stateNode));
|
|
4565
4565
|
break;
|
|
4566
4566
|
case 18:
|
|
4567
|
-
He !== null && (Ht ? (e = He, n = n.stateNode, e.nodeType === 8 ? yc(e.parentNode, n) : e.nodeType === 1 && yc(e, n),
|
|
4567
|
+
He !== null && (Ht ? (e = He, n = n.stateNode, e.nodeType === 8 ? yc(e.parentNode, n) : e.nodeType === 1 && yc(e, n), ks(e)) : yc(He, n.stateNode));
|
|
4568
4568
|
break;
|
|
4569
4569
|
case 4:
|
|
4570
4570
|
r = He, o = Ht, He = n.stateNode.containerInfo, Ht = !0, zn(e, t, n), He = r, Ht = o;
|
|
@@ -4587,7 +4587,7 @@ function Ey(e, t, n) {
|
|
|
4587
4587
|
try {
|
|
4588
4588
|
r.props = n.memoizedProps, r.state = n.memoizedState, r.componentWillUnmount();
|
|
4589
4589
|
} catch (l) {
|
|
4590
|
-
|
|
4590
|
+
Ne(n, t, l);
|
|
4591
4591
|
}
|
|
4592
4592
|
zn(e, t, n);
|
|
4593
4593
|
break;
|
|
@@ -4601,7 +4601,7 @@ function Ey(e, t, n) {
|
|
|
4601
4601
|
zn(e, t, n);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
|
-
function
|
|
4604
|
+
function Nh(e) {
|
|
4605
4605
|
var t = e.updateQueue;
|
|
4606
4606
|
if (t !== null) {
|
|
4607
4607
|
e.updateQueue = null;
|
|
@@ -4640,7 +4640,7 @@ function Bt(e, t) {
|
|
|
4640
4640
|
var c = o.alternate;
|
|
4641
4641
|
c !== null && (c.return = null), o.return = null;
|
|
4642
4642
|
} catch (u) {
|
|
4643
|
-
|
|
4643
|
+
Ne(o, t, u);
|
|
4644
4644
|
}
|
|
4645
4645
|
}
|
|
4646
4646
|
if (t.subtreeFlags & 12854)
|
|
@@ -4658,12 +4658,12 @@ function Ry(e, t) {
|
|
|
4658
4658
|
try {
|
|
4659
4659
|
ys(3, e, e.return), wl(3, e);
|
|
4660
4660
|
} catch (h) {
|
|
4661
|
-
|
|
4661
|
+
Ne(e, e.return, h);
|
|
4662
4662
|
}
|
|
4663
4663
|
try {
|
|
4664
4664
|
ys(5, e, e.return);
|
|
4665
4665
|
} catch (h) {
|
|
4666
|
-
|
|
4666
|
+
Ne(e, e.return, h);
|
|
4667
4667
|
}
|
|
4668
4668
|
}
|
|
4669
4669
|
break;
|
|
@@ -4676,7 +4676,7 @@ function Ry(e, t) {
|
|
|
4676
4676
|
try {
|
|
4677
4677
|
Cs(o, "");
|
|
4678
4678
|
} catch (h) {
|
|
4679
|
-
|
|
4679
|
+
Ne(e, e.return, h);
|
|
4680
4680
|
}
|
|
4681
4681
|
}
|
|
4682
4682
|
if (r & 4 && (o = e.stateNode, o != null)) {
|
|
@@ -4709,7 +4709,7 @@ function Ry(e, t) {
|
|
|
4709
4709
|
}
|
|
4710
4710
|
o[Is] = s;
|
|
4711
4711
|
} catch (h) {
|
|
4712
|
-
|
|
4712
|
+
Ne(e, e.return, h);
|
|
4713
4713
|
}
|
|
4714
4714
|
}
|
|
4715
4715
|
break;
|
|
@@ -4721,23 +4721,23 @@ function Ry(e, t) {
|
|
|
4721
4721
|
try {
|
|
4722
4722
|
o.nodeValue = s;
|
|
4723
4723
|
} catch (h) {
|
|
4724
|
-
|
|
4724
|
+
Ne(e, e.return, h);
|
|
4725
4725
|
}
|
|
4726
4726
|
}
|
|
4727
4727
|
break;
|
|
4728
4728
|
case 3:
|
|
4729
4729
|
if (Bt(t, e), tn(e), r & 4 && n !== null && n.memoizedState.isDehydrated)
|
|
4730
4730
|
try {
|
|
4731
|
-
|
|
4731
|
+
ks(t.containerInfo);
|
|
4732
4732
|
} catch (h) {
|
|
4733
|
-
|
|
4733
|
+
Ne(e, e.return, h);
|
|
4734
4734
|
}
|
|
4735
4735
|
break;
|
|
4736
4736
|
case 4:
|
|
4737
4737
|
Bt(t, e), tn(e);
|
|
4738
4738
|
break;
|
|
4739
4739
|
case 13:
|
|
4740
|
-
Bt(t, e), tn(e), o = e.child, o.flags & 8192 && (s = o.memoizedState !== null, o.stateNode.isHidden = s, !s || o.alternate !== null && o.alternate.memoizedState !== null || (vf = Pe())), r & 4 &&
|
|
4740
|
+
Bt(t, e), tn(e), o = e.child, o.flags & 8192 && (s = o.memoizedState !== null, o.stateNode.isHidden = s, !s || o.alternate !== null && o.alternate.memoizedState !== null || (vf = Pe())), r & 4 && Nh(e);
|
|
4741
4741
|
break;
|
|
4742
4742
|
case 22:
|
|
4743
4743
|
if (d = n !== null && n.memoizedState !== null, e.mode & 1 ? (et = (u = et) || d, Bt(t, e), et = u) : Bt(t, e), tn(e), r & 8192) {
|
|
@@ -4759,7 +4759,7 @@ function Ry(e, t) {
|
|
|
4759
4759
|
try {
|
|
4760
4760
|
t = r, m.props = t.memoizedProps, m.state = t.memoizedState, m.componentWillUnmount();
|
|
4761
4761
|
} catch (h) {
|
|
4762
|
-
|
|
4762
|
+
Ne(r, n, h);
|
|
4763
4763
|
}
|
|
4764
4764
|
}
|
|
4765
4765
|
break;
|
|
@@ -4784,7 +4784,7 @@ function Ry(e, t) {
|
|
|
4784
4784
|
try {
|
|
4785
4785
|
o = f.stateNode, u ? (s = o.style, typeof s.setProperty == "function" ? s.setProperty("display", "none", "important") : s.display = "none") : (l = f.stateNode, c = f.memoizedProps.style, i = c != null && c.hasOwnProperty("display") ? c.display : null, l.style.display = Zg("display", i));
|
|
4786
4786
|
} catch (h) {
|
|
4787
|
-
|
|
4787
|
+
Ne(e, e.return, h);
|
|
4788
4788
|
}
|
|
4789
4789
|
}
|
|
4790
4790
|
} else if (f.tag === 6) {
|
|
@@ -4792,7 +4792,7 @@ function Ry(e, t) {
|
|
|
4792
4792
|
try {
|
|
4793
4793
|
f.stateNode.nodeValue = u ? "" : f.memoizedProps;
|
|
4794
4794
|
} catch (h) {
|
|
4795
|
-
|
|
4795
|
+
Ne(e, e.return, h);
|
|
4796
4796
|
}
|
|
4797
4797
|
} else if ((f.tag !== 22 && f.tag !== 23 || f.memoizedState === null || f === e) && f.child !== null) {
|
|
4798
4798
|
f.child.return = f, f = f.child;
|
|
@@ -4810,7 +4810,7 @@ function Ry(e, t) {
|
|
|
4810
4810
|
}
|
|
4811
4811
|
break;
|
|
4812
4812
|
case 19:
|
|
4813
|
-
Bt(t, e), tn(e), r & 4 &&
|
|
4813
|
+
Bt(t, e), tn(e), r & 4 && Nh(e);
|
|
4814
4814
|
break;
|
|
4815
4815
|
case 21:
|
|
4816
4816
|
break;
|
|
@@ -4851,16 +4851,16 @@ function tn(e) {
|
|
|
4851
4851
|
throw Error(I(161));
|
|
4852
4852
|
}
|
|
4853
4853
|
} catch (c) {
|
|
4854
|
-
|
|
4854
|
+
Ne(e, e.return, c);
|
|
4855
4855
|
}
|
|
4856
4856
|
e.flags &= -3;
|
|
4857
4857
|
}
|
|
4858
4858
|
t & 4096 && (e.flags &= -4097);
|
|
4859
4859
|
}
|
|
4860
4860
|
function JS(e, t, n) {
|
|
4861
|
-
B = e,
|
|
4861
|
+
B = e, Ny(e);
|
|
4862
4862
|
}
|
|
4863
|
-
function
|
|
4863
|
+
function Ny(e, t, n) {
|
|
4864
4864
|
for (var r = (e.mode & 1) !== 0; B !== null; ) {
|
|
4865
4865
|
var o = B, s = o.child;
|
|
4866
4866
|
if (o.tag === 22 && r) {
|
|
@@ -4873,15 +4873,15 @@ function ky(e, t, n) {
|
|
|
4873
4873
|
for (B = o; B !== null; )
|
|
4874
4874
|
i = B, c = i.child, i.tag === 22 && i.memoizedState !== null ? Oh(o) : c !== null ? (c.return = i, B = c) : Oh(o);
|
|
4875
4875
|
for (; s !== null; )
|
|
4876
|
-
B = s,
|
|
4876
|
+
B = s, Ny(s), s = s.sibling;
|
|
4877
4877
|
B = o, Ci = l, et = u;
|
|
4878
4878
|
}
|
|
4879
|
-
|
|
4879
|
+
kh(e);
|
|
4880
4880
|
} else
|
|
4881
|
-
o.subtreeFlags & 8772 && s !== null ? (s.return = o, B = s) :
|
|
4881
|
+
o.subtreeFlags & 8772 && s !== null ? (s.return = o, B = s) : kh(e);
|
|
4882
4882
|
}
|
|
4883
4883
|
}
|
|
4884
|
-
function
|
|
4884
|
+
function kh(e) {
|
|
4885
4885
|
for (; B !== null; ) {
|
|
4886
4886
|
var t = B;
|
|
4887
4887
|
if (t.flags & 8772) {
|
|
@@ -4950,7 +4950,7 @@ function Nh(e) {
|
|
|
4950
4950
|
var d = u.memoizedState;
|
|
4951
4951
|
if (d !== null) {
|
|
4952
4952
|
var f = d.dehydrated;
|
|
4953
|
-
f !== null &&
|
|
4953
|
+
f !== null && ks(f);
|
|
4954
4954
|
}
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
@@ -4967,7 +4967,7 @@ function Nh(e) {
|
|
|
4967
4967
|
}
|
|
4968
4968
|
et || t.flags & 512 && Du(t);
|
|
4969
4969
|
} catch (p) {
|
|
4970
|
-
|
|
4970
|
+
Ne(t, t.return, p);
|
|
4971
4971
|
}
|
|
4972
4972
|
}
|
|
4973
4973
|
if (t === e) {
|
|
@@ -5008,7 +5008,7 @@ function Oh(e) {
|
|
|
5008
5008
|
try {
|
|
5009
5009
|
wl(4, t);
|
|
5010
5010
|
} catch (c) {
|
|
5011
|
-
|
|
5011
|
+
Ne(t, n, c);
|
|
5012
5012
|
}
|
|
5013
5013
|
break;
|
|
5014
5014
|
case 1:
|
|
@@ -5018,14 +5018,14 @@ function Oh(e) {
|
|
|
5018
5018
|
try {
|
|
5019
5019
|
r.componentDidMount();
|
|
5020
5020
|
} catch (c) {
|
|
5021
|
-
|
|
5021
|
+
Ne(t, o, c);
|
|
5022
5022
|
}
|
|
5023
5023
|
}
|
|
5024
5024
|
var s = t.return;
|
|
5025
5025
|
try {
|
|
5026
5026
|
Du(t);
|
|
5027
5027
|
} catch (c) {
|
|
5028
|
-
|
|
5028
|
+
Ne(t, s, c);
|
|
5029
5029
|
}
|
|
5030
5030
|
break;
|
|
5031
5031
|
case 5:
|
|
@@ -5033,11 +5033,11 @@ function Oh(e) {
|
|
|
5033
5033
|
try {
|
|
5034
5034
|
Du(t);
|
|
5035
5035
|
} catch (c) {
|
|
5036
|
-
|
|
5036
|
+
Ne(t, i, c);
|
|
5037
5037
|
}
|
|
5038
5038
|
}
|
|
5039
5039
|
} catch (c) {
|
|
5040
|
-
|
|
5040
|
+
Ne(t, t.return, c);
|
|
5041
5041
|
}
|
|
5042
5042
|
if (t === e) {
|
|
5043
5043
|
B = null;
|
|
@@ -5091,12 +5091,12 @@ function pt(e, t) {
|
|
|
5091
5091
|
default:
|
|
5092
5092
|
n = xa;
|
|
5093
5093
|
}
|
|
5094
|
-
n = My(n,
|
|
5094
|
+
n = My(n, ky.bind(null, e));
|
|
5095
5095
|
}
|
|
5096
5096
|
e.callbackPriority = t, e.callbackNode = n;
|
|
5097
5097
|
}
|
|
5098
5098
|
}
|
|
5099
|
-
function
|
|
5099
|
+
function ky(e, t) {
|
|
5100
5100
|
if (Xi = -1, Zi = 0, le & 6)
|
|
5101
5101
|
throw Error(I(327));
|
|
5102
5102
|
var n = e.callbackNode;
|
|
@@ -5172,7 +5172,7 @@ function Ny(e, t) {
|
|
|
5172
5172
|
}
|
|
5173
5173
|
}
|
|
5174
5174
|
}
|
|
5175
|
-
return pt(e, Pe()), e.callbackNode === n ?
|
|
5175
|
+
return pt(e, Pe()), e.callbackNode === n ? ky.bind(null, e) : null;
|
|
5176
5176
|
}
|
|
5177
5177
|
function Bu(e, t) {
|
|
5178
5178
|
var n = xs;
|
|
@@ -5414,7 +5414,7 @@ function n_() {
|
|
|
5414
5414
|
Py(Ie);
|
|
5415
5415
|
}
|
|
5416
5416
|
function r_() {
|
|
5417
|
-
for (; Ie !== null && !
|
|
5417
|
+
for (; Ie !== null && !N1(); )
|
|
5418
5418
|
Py(Ie);
|
|
5419
5419
|
}
|
|
5420
5420
|
function Py(e) {
|
|
@@ -5478,7 +5478,7 @@ function o_(e, t, n, r) {
|
|
|
5478
5478
|
var i = he;
|
|
5479
5479
|
he = 1;
|
|
5480
5480
|
var l = le;
|
|
5481
|
-
le |= 4, mf.current = null, ZS(e, n), Ry(n, e), jS(bu), wa = !!xu, bu = xu = null, e.current = n, JS(n),
|
|
5481
|
+
le |= 4, mf.current = null, ZS(e, n), Ry(n, e), jS(bu), wa = !!xu, bu = xu = null, e.current = n, JS(n), k1(), le = l, he = i, Dt.transition = s;
|
|
5482
5482
|
} else
|
|
5483
5483
|
e.current = n;
|
|
5484
5484
|
if (Ei && (Ei = !1, Xn = e, Da = o), s = e.pendingLanes, s === 0 && (rr = null), P1(n.stateNode), pt(e, Pe()), t !== null)
|
|
@@ -5584,7 +5584,7 @@ function po() {
|
|
|
5584
5584
|
wl(9, l);
|
|
5585
5585
|
}
|
|
5586
5586
|
} catch (_) {
|
|
5587
|
-
|
|
5587
|
+
Ne(l, l.return, _);
|
|
5588
5588
|
}
|
|
5589
5589
|
if (l === i) {
|
|
5590
5590
|
B = null;
|
|
@@ -5615,7 +5615,7 @@ function po() {
|
|
|
5615
5615
|
function $h(e, t, n) {
|
|
5616
5616
|
t = So(n, t), t = py(e, t, 1), e = nr(e, t, 1), t = rt(), e !== null && (Js(e, 1, t), pt(e, t));
|
|
5617
5617
|
}
|
|
5618
|
-
function
|
|
5618
|
+
function Ne(e, t, n) {
|
|
5619
5619
|
if (e.tag === 3)
|
|
5620
5620
|
$h(e, e, n);
|
|
5621
5621
|
else
|
|
@@ -5672,7 +5672,7 @@ Ay = function(e, t, n) {
|
|
|
5672
5672
|
ut = !!(e.flags & 131072);
|
|
5673
5673
|
}
|
|
5674
5674
|
else
|
|
5675
|
-
ut = !1, we && t.flags & 1048576 && Fv(t,
|
|
5675
|
+
ut = !1, we && t.flags & 1048576 && Fv(t, Na, t.index);
|
|
5676
5676
|
switch (t.lanes = 0, t.tag) {
|
|
5677
5677
|
case 2:
|
|
5678
5678
|
var r = t.type;
|
|
@@ -5680,7 +5680,7 @@ Ay = function(e, t, n) {
|
|
|
5680
5680
|
var o = yo(t, tt.current);
|
|
5681
5681
|
fo(t, n), o = uf(null, t, r, e, o, n);
|
|
5682
5682
|
var s = df();
|
|
5683
|
-
return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, ft(r) ? (s = !0, Ea(t)) : s = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, of(t), o.updater = xl, t.stateNode = o, o._reactInternals = t,
|
|
5683
|
+
return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, ft(r) ? (s = !0, Ea(t)) : s = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, of(t), o.updater = xl, t.stateNode = o, o._reactInternals = t, ku(t, r, e, n), t = Pu(null, t, r, !0, s, n)) : (t.tag = 0, we && s && Xd(t), nt(null, t, o, n), t = t.child), t;
|
|
5684
5684
|
case 16:
|
|
5685
5685
|
r = t.elementType;
|
|
5686
5686
|
e: {
|
|
@@ -5753,7 +5753,7 @@ Ay = function(e, t, n) {
|
|
|
5753
5753
|
return nt(e, t, t.pendingProps.children, n), t.child;
|
|
5754
5754
|
case 10:
|
|
5755
5755
|
e: {
|
|
5756
|
-
if (r = t.type._context, o = t.pendingProps, s = t.memoizedProps, i = o.value, ye(
|
|
5756
|
+
if (r = t.type._context, o = t.pendingProps, s = t.memoizedProps, i = o.value, ye(ka, r._currentValue), r._currentValue = i, s !== null)
|
|
5757
5757
|
if (Zt(s.value, i)) {
|
|
5758
5758
|
if (s.children === o.children && !dt.current) {
|
|
5759
5759
|
t = $n(e, t, n);
|
|
@@ -5818,7 +5818,7 @@ Ay = function(e, t, n) {
|
|
|
5818
5818
|
case 15:
|
|
5819
5819
|
return my(e, t, t.type, t.pendingProps, n);
|
|
5820
5820
|
case 17:
|
|
5821
|
-
return r = t.type, o = t.pendingProps, o = t.elementType === r ? o : qt(r, o), Qi(e, t), t.tag = 1, ft(r) ? (e = !0, Ea(t)) : e = !1, fo(t, n), qv(t, r, o),
|
|
5821
|
+
return r = t.type, o = t.pendingProps, o = t.elementType === r ? o : qt(r, o), Qi(e, t), t.tag = 1, ft(r) ? (e = !0, Ea(t)) : e = !1, fo(t, n), qv(t, r, o), ku(t, r, o, n), Pu(null, t, r, !0, e, n);
|
|
5822
5822
|
case 19:
|
|
5823
5823
|
return by(e, t, n);
|
|
5824
5824
|
case 22:
|
|
@@ -6150,20 +6150,20 @@ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
|
|
6150
6150
|
} catch {
|
|
6151
6151
|
}
|
|
6152
6152
|
}
|
|
6153
|
-
|
|
6154
|
-
|
|
6153
|
+
Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = h_;
|
|
6154
|
+
Nt.createPortal = function(e, t) {
|
|
6155
6155
|
var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
6156
6156
|
if (!Cf(t))
|
|
6157
6157
|
throw Error(I(200));
|
|
6158
6158
|
return d_(e, t, null, n);
|
|
6159
6159
|
};
|
|
6160
|
-
|
|
6160
|
+
Nt.createRoot = function(e, t) {
|
|
6161
6161
|
if (!Cf(e))
|
|
6162
6162
|
throw Error(I(299));
|
|
6163
6163
|
var n = !1, r = "", o = Ly;
|
|
6164
6164
|
return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (o = t.onRecoverableError)), t = Sf(e, 1, !1, null, null, n, !1, r, o), e[On] = t.current, Ps(e.nodeType === 8 ? e.parentNode : e), new jf(t);
|
|
6165
6165
|
};
|
|
6166
|
-
|
|
6166
|
+
Nt.findDOMNode = function(e) {
|
|
6167
6167
|
if (e == null)
|
|
6168
6168
|
return null;
|
|
6169
6169
|
if (e.nodeType === 1)
|
|
@@ -6173,15 +6173,15 @@ kt.findDOMNode = function(e) {
|
|
|
6173
6173
|
throw typeof e.render == "function" ? Error(I(188)) : (e = Object.keys(e).join(","), Error(I(268, e)));
|
|
6174
6174
|
return e = iv(t), e = e === null ? null : e.stateNode, e;
|
|
6175
6175
|
};
|
|
6176
|
-
|
|
6176
|
+
Nt.flushSync = function(e) {
|
|
6177
6177
|
return Ir(e);
|
|
6178
6178
|
};
|
|
6179
|
-
|
|
6179
|
+
Nt.hydrate = function(e, t, n) {
|
|
6180
6180
|
if (!El(t))
|
|
6181
6181
|
throw Error(I(200));
|
|
6182
6182
|
return Rl(null, e, t, !0, n);
|
|
6183
6183
|
};
|
|
6184
|
-
|
|
6184
|
+
Nt.hydrateRoot = function(e, t, n) {
|
|
6185
6185
|
if (!Cf(e))
|
|
6186
6186
|
throw Error(I(405));
|
|
6187
6187
|
var r = n != null && n.hydratedSources || null, o = !1, s = "", i = Ly;
|
|
@@ -6193,12 +6193,12 @@ kt.hydrateRoot = function(e, t, n) {
|
|
|
6193
6193
|
);
|
|
6194
6194
|
return new Cl(t);
|
|
6195
6195
|
};
|
|
6196
|
-
|
|
6196
|
+
Nt.render = function(e, t, n) {
|
|
6197
6197
|
if (!El(t))
|
|
6198
6198
|
throw Error(I(200));
|
|
6199
6199
|
return Rl(null, e, t, !1, n);
|
|
6200
6200
|
};
|
|
6201
|
-
|
|
6201
|
+
Nt.unmountComponentAtNode = function(e) {
|
|
6202
6202
|
if (!El(e))
|
|
6203
6203
|
throw Error(I(40));
|
|
6204
6204
|
return e._reactRootContainer ? (Ir(function() {
|
|
@@ -6207,15 +6207,15 @@ kt.unmountComponentAtNode = function(e) {
|
|
|
6207
6207
|
});
|
|
6208
6208
|
}), !0) : !1;
|
|
6209
6209
|
};
|
|
6210
|
-
|
|
6211
|
-
|
|
6210
|
+
Nt.unstable_batchedUpdates = yf;
|
|
6211
|
+
Nt.unstable_renderSubtreeIntoContainer = function(e, t, n, r) {
|
|
6212
6212
|
if (!El(n))
|
|
6213
6213
|
throw Error(I(200));
|
|
6214
6214
|
if (e == null || e._reactInternals === void 0)
|
|
6215
6215
|
throw Error(I(38));
|
|
6216
6216
|
return Rl(e, t, n, !1, r);
|
|
6217
6217
|
};
|
|
6218
|
-
|
|
6218
|
+
Nt.version = "18.2.0-next-9e3b772b8-20220608";
|
|
6219
6219
|
function Uy() {
|
|
6220
6220
|
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
|
|
6221
6221
|
try {
|
|
@@ -6224,7 +6224,7 @@ function Uy() {
|
|
|
6224
6224
|
console.error(e);
|
|
6225
6225
|
}
|
|
6226
6226
|
}
|
|
6227
|
-
Uy(), Fg.exports =
|
|
6227
|
+
Uy(), Fg.exports = Nt;
|
|
6228
6228
|
var Ef = Fg.exports;
|
|
6229
6229
|
const wr = /* @__PURE__ */ Xs(Ef);
|
|
6230
6230
|
var Mh = Ef;
|
|
@@ -6232,10 +6232,10 @@ St.createRoot = Mh.createRoot, St.hydrateRoot = Mh.hydrateRoot;
|
|
|
6232
6232
|
function qe(e) {
|
|
6233
6233
|
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
6234
6234
|
}
|
|
6235
|
-
var g_ = typeof Symbol == "function" && Symbol.observable || "@@observable", Dh = g_,
|
|
6236
|
-
INIT: `@@redux/INIT${/* @__PURE__ */
|
|
6237
|
-
REPLACE: `@@redux/REPLACE${/* @__PURE__ */
|
|
6238
|
-
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${
|
|
6235
|
+
var g_ = typeof Symbol == "function" && Symbol.observable || "@@observable", Dh = g_, Nc = () => Math.random().toString(36).substring(7).split("").join("."), v_ = {
|
|
6236
|
+
INIT: `@@redux/INIT${/* @__PURE__ */ Nc()}`,
|
|
6237
|
+
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Nc()}`,
|
|
6238
|
+
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Nc()}`
|
|
6239
6239
|
}, Ua = v_;
|
|
6240
6240
|
function Rf(e) {
|
|
6241
6241
|
if (typeof e != "object" || e === null)
|
|
@@ -6418,7 +6418,7 @@ function lr(e) {
|
|
|
6418
6418
|
}
|
|
6419
6419
|
function In(e) {
|
|
6420
6420
|
var t;
|
|
6421
|
-
return e ? zy(e) || Array.isArray(e) || !!e[Fh] || !!((t = e.constructor) != null && t[Fh]) ||
|
|
6421
|
+
return e ? zy(e) || Array.isArray(e) || !!e[Fh] || !!((t = e.constructor) != null && t[Fh]) || kl(e) || Tl(e) : !1;
|
|
6422
6422
|
}
|
|
6423
6423
|
var S_ = Object.prototype.constructor.toString();
|
|
6424
6424
|
function zy(e) {
|
|
@@ -6431,25 +6431,25 @@ function zy(e) {
|
|
|
6431
6431
|
return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === S_;
|
|
6432
6432
|
}
|
|
6433
6433
|
function Vs(e, t) {
|
|
6434
|
-
|
|
6434
|
+
Nl(e) === 0 ? Object.entries(e).forEach(([n, r]) => {
|
|
6435
6435
|
t(n, r, e);
|
|
6436
6436
|
}) : e.forEach((n, r) => t(r, n, e));
|
|
6437
6437
|
}
|
|
6438
|
-
function
|
|
6438
|
+
function Nl(e) {
|
|
6439
6439
|
const t = e[jt];
|
|
6440
|
-
return t ? t.type_ : Array.isArray(e) ? 1 :
|
|
6440
|
+
return t ? t.type_ : Array.isArray(e) ? 1 : kl(e) ? 2 : Tl(e) ? 3 : 0;
|
|
6441
6441
|
}
|
|
6442
6442
|
function qu(e, t) {
|
|
6443
|
-
return
|
|
6443
|
+
return Nl(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
6444
6444
|
}
|
|
6445
6445
|
function qy(e, t, n) {
|
|
6446
|
-
const r =
|
|
6446
|
+
const r = Nl(e);
|
|
6447
6447
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
6448
6448
|
}
|
|
6449
6449
|
function __(e, t) {
|
|
6450
6450
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
6451
6451
|
}
|
|
6452
|
-
function
|
|
6452
|
+
function kl(e) {
|
|
6453
6453
|
return e instanceof Map;
|
|
6454
6454
|
}
|
|
6455
6455
|
function Tl(e) {
|
|
@@ -6459,7 +6459,7 @@ function vr(e) {
|
|
|
6459
6459
|
return e.copy_ || e.base_;
|
|
6460
6460
|
}
|
|
6461
6461
|
function Hu(e, t) {
|
|
6462
|
-
if (
|
|
6462
|
+
if (kl(e))
|
|
6463
6463
|
return new Map(e);
|
|
6464
6464
|
if (Tl(e))
|
|
6465
6465
|
return new Set(e);
|
|
@@ -6482,8 +6482,8 @@ function Hu(e, t) {
|
|
|
6482
6482
|
}
|
|
6483
6483
|
return Object.create(jo(e), n);
|
|
6484
6484
|
}
|
|
6485
|
-
function
|
|
6486
|
-
return Ol(e) || lr(e) || !In(e) || (
|
|
6485
|
+
function Nf(e, t = !1) {
|
|
6486
|
+
return Ol(e) || lr(e) || !In(e) || (Nl(e) > 1 && (e.set = e.add = e.clear = e.delete = j_), Object.freeze(e), t && Vs(e, (n, r) => Nf(r, !0))), e;
|
|
6487
6487
|
}
|
|
6488
6488
|
function j_() {
|
|
6489
6489
|
Gt(2);
|
|
@@ -6583,9 +6583,9 @@ function Bh(e, t, n, r, o, s, i) {
|
|
|
6583
6583
|
}
|
|
6584
6584
|
}
|
|
6585
6585
|
function za(e, t, n = !1) {
|
|
6586
|
-
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ &&
|
|
6586
|
+
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Nf(t, n);
|
|
6587
6587
|
}
|
|
6588
|
-
function
|
|
6588
|
+
function N_(e, t) {
|
|
6589
6589
|
const n = Array.isArray(e), r = {
|
|
6590
6590
|
type_: n ? 1 : 0,
|
|
6591
6591
|
// Track which produce call this is associated with.
|
|
@@ -6609,20 +6609,20 @@ function k_(e, t) {
|
|
|
6609
6609
|
revoke_: null,
|
|
6610
6610
|
isManual_: !1
|
|
6611
6611
|
};
|
|
6612
|
-
let o = r, s =
|
|
6612
|
+
let o = r, s = kf;
|
|
6613
6613
|
n && (o = [r], s = zs);
|
|
6614
6614
|
const { revoke: i, proxy: l } = Proxy.revocable(o, s);
|
|
6615
6615
|
return r.draft_ = l, r.revoke_ = i, l;
|
|
6616
6616
|
}
|
|
6617
|
-
var
|
|
6617
|
+
var kf = {
|
|
6618
6618
|
get(e, t) {
|
|
6619
6619
|
if (t === jt)
|
|
6620
6620
|
return e;
|
|
6621
6621
|
const n = vr(e);
|
|
6622
6622
|
if (!qu(n, t))
|
|
6623
|
-
return
|
|
6623
|
+
return k_(e, n, t);
|
|
6624
6624
|
const r = n[t];
|
|
6625
|
-
return e.finalized_ || !In(r) ? r : r ===
|
|
6625
|
+
return e.finalized_ || !In(r) ? r : r === kc(e.base_, t) ? (Tc(e), e.copy_[t] = Yu(r, e)) : r;
|
|
6626
6626
|
},
|
|
6627
6627
|
has(e, t) {
|
|
6628
6628
|
return t in vr(e);
|
|
@@ -6635,7 +6635,7 @@ var Nf = {
|
|
|
6635
6635
|
if (r != null && r.set)
|
|
6636
6636
|
return r.set.call(e.draft_, n), !0;
|
|
6637
6637
|
if (!e.modified_) {
|
|
6638
|
-
const o =
|
|
6638
|
+
const o = kc(vr(e), t), s = o == null ? void 0 : o[jt];
|
|
6639
6639
|
if (s && s.base_ === n)
|
|
6640
6640
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
6641
6641
|
if (__(n, o) && (n !== void 0 || qu(e.base_, t)))
|
|
@@ -6647,7 +6647,7 @@ var Nf = {
|
|
|
6647
6647
|
Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_[t] = !0), !0;
|
|
6648
6648
|
},
|
|
6649
6649
|
deleteProperty(e, t) {
|
|
6650
|
-
return
|
|
6650
|
+
return kc(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Tc(e), Gu(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
|
|
6651
6651
|
},
|
|
6652
6652
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
6653
6653
|
// the same guarantee in ES5 mode.
|
|
@@ -6670,7 +6670,7 @@ var Nf = {
|
|
|
6670
6670
|
Gt(12);
|
|
6671
6671
|
}
|
|
6672
6672
|
}, zs = {};
|
|
6673
|
-
Vs(
|
|
6673
|
+
Vs(kf, (e, t) => {
|
|
6674
6674
|
zs[e] = function() {
|
|
6675
6675
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
6676
6676
|
};
|
|
@@ -6679,13 +6679,13 @@ zs.deleteProperty = function(e, t) {
|
|
|
6679
6679
|
return zs.set.call(this, e, t, void 0);
|
|
6680
6680
|
};
|
|
6681
6681
|
zs.set = function(e, t, n) {
|
|
6682
|
-
return
|
|
6682
|
+
return kf.set.call(this, e[0], t, n, e[0]);
|
|
6683
6683
|
};
|
|
6684
|
-
function
|
|
6684
|
+
function kc(e, t) {
|
|
6685
6685
|
const n = e[jt];
|
|
6686
6686
|
return (n ? vr(n) : e)[t];
|
|
6687
6687
|
}
|
|
6688
|
-
function
|
|
6688
|
+
function k_(e, t, n) {
|
|
6689
6689
|
var o;
|
|
6690
6690
|
const r = Wy(t, n);
|
|
6691
6691
|
return r ? "value" in r ? r.value : (
|
|
@@ -6737,7 +6737,7 @@ var T_ = class {
|
|
|
6737
6737
|
}
|
|
6738
6738
|
return Lh(s, r), Vh(o, s);
|
|
6739
6739
|
} else if (!t || typeof t != "object") {
|
|
6740
|
-
if (o = n(t), o === void 0 && (o = t), o === By && (o = void 0), this.autoFreeze_ &&
|
|
6740
|
+
if (o = n(t), o === void 0 && (o = t), o === By && (o = void 0), this.autoFreeze_ && Nf(o, !0), r) {
|
|
6741
6741
|
const s = [], i = [];
|
|
6742
6742
|
Ar("Patches").generateReplacementPatches_(t, o, s, i), r(s, i);
|
|
6743
6743
|
}
|
|
@@ -6798,7 +6798,7 @@ var T_ = class {
|
|
|
6798
6798
|
}
|
|
6799
6799
|
};
|
|
6800
6800
|
function Yu(e, t) {
|
|
6801
|
-
const n =
|
|
6801
|
+
const n = kl(e) ? Ar("MapSet").proxyMap_(e, t) : Tl(e) ? Ar("MapSet").proxySet_(e, t) : N_(e, t);
|
|
6802
6802
|
return (t ? t.scope_ : Hy()).drafts_.push(n), n;
|
|
6803
6803
|
}
|
|
6804
6804
|
function Ky(e) {
|
|
@@ -6866,7 +6866,7 @@ var M_ = class {
|
|
|
6866
6866
|
return this.value;
|
|
6867
6867
|
}
|
|
6868
6868
|
}, D_ = typeof WeakRef < "u" ? WeakRef : M_, F_ = 0, qh = 1;
|
|
6869
|
-
function
|
|
6869
|
+
function Ni() {
|
|
6870
6870
|
return {
|
|
6871
6871
|
s: F_,
|
|
6872
6872
|
v: void 0,
|
|
@@ -6875,7 +6875,7 @@ function ki() {
|
|
|
6875
6875
|
};
|
|
6876
6876
|
}
|
|
6877
6877
|
function Tf(e, t = {}) {
|
|
6878
|
-
let n =
|
|
6878
|
+
let n = Ni();
|
|
6879
6879
|
const { resultEqualityCheck: r } = t;
|
|
6880
6880
|
let o, s = 0;
|
|
6881
6881
|
function i() {
|
|
@@ -6888,12 +6888,12 @@ function Tf(e, t = {}) {
|
|
|
6888
6888
|
let h = l.o;
|
|
6889
6889
|
h === null && (l.o = h = /* @__PURE__ */ new WeakMap());
|
|
6890
6890
|
const x = h.get(m);
|
|
6891
|
-
x === void 0 ? (l =
|
|
6891
|
+
x === void 0 ? (l = Ni(), h.set(m, l)) : l = x;
|
|
6892
6892
|
} else {
|
|
6893
6893
|
let h = l.p;
|
|
6894
6894
|
h === null && (l.p = h = /* @__PURE__ */ new Map());
|
|
6895
6895
|
const x = h.get(m);
|
|
6896
|
-
x === void 0 ? (l =
|
|
6896
|
+
x === void 0 ? (l = Ni(), h.set(m, l)) : l = x;
|
|
6897
6897
|
}
|
|
6898
6898
|
}
|
|
6899
6899
|
const u = l;
|
|
@@ -6905,7 +6905,7 @@ function Tf(e, t = {}) {
|
|
|
6905
6905
|
return u.v = d, d;
|
|
6906
6906
|
}
|
|
6907
6907
|
return i.clearCache = () => {
|
|
6908
|
-
n =
|
|
6908
|
+
n = Ni(), i.resetResultsCount();
|
|
6909
6909
|
}, i.resultsCount = () => s, i.resetResultsCount = () => {
|
|
6910
6910
|
s = 0;
|
|
6911
6911
|
}, i;
|
|
@@ -6996,7 +6996,7 @@ var q_ = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? wi
|
|
|
6996
6996
|
if (arguments.length !== 0)
|
|
6997
6997
|
return typeof arguments[0] == "object" ? Va : Va.apply(null, arguments);
|
|
6998
6998
|
}, H_ = (e) => e && typeof e.match == "function";
|
|
6999
|
-
function
|
|
6999
|
+
function Nn(e, t) {
|
|
7000
7000
|
function n(...r) {
|
|
7001
7001
|
if (t) {
|
|
7002
7002
|
let o = t(...r);
|
|
@@ -7228,7 +7228,7 @@ var oj = ["name", "message", "stack", "code"], Oc = class {
|
|
|
7228
7228
|
};
|
|
7229
7229
|
}, Qe = /* @__PURE__ */ (() => {
|
|
7230
7230
|
function e(t, n, r) {
|
|
7231
|
-
const o =
|
|
7231
|
+
const o = Nn(t + "/fulfilled", (c, u, d, f) => ({
|
|
7232
7232
|
payload: c,
|
|
7233
7233
|
meta: {
|
|
7234
7234
|
...f || {},
|
|
@@ -7236,7 +7236,7 @@ var oj = ["name", "message", "stack", "code"], Oc = class {
|
|
|
7236
7236
|
requestId: u,
|
|
7237
7237
|
requestStatus: "fulfilled"
|
|
7238
7238
|
}
|
|
7239
|
-
})), s =
|
|
7239
|
+
})), s = Nn(t + "/pending", (c, u, d) => ({
|
|
7240
7240
|
payload: void 0,
|
|
7241
7241
|
meta: {
|
|
7242
7242
|
...d || {},
|
|
@@ -7244,7 +7244,7 @@ var oj = ["name", "message", "stack", "code"], Oc = class {
|
|
|
7244
7244
|
requestId: c,
|
|
7245
7245
|
requestStatus: "pending"
|
|
7246
7246
|
}
|
|
7247
|
-
})), i =
|
|
7247
|
+
})), i = Nn(t + "/rejected", (c, u, d, f, p) => ({
|
|
7248
7248
|
payload: f,
|
|
7249
7249
|
error: (r && r.serializeError || sj)(c || "Rejected"),
|
|
7250
7250
|
meta: {
|
|
@@ -7277,9 +7277,9 @@ var oj = ["name", "message", "stack", "code"], Oc = class {
|
|
|
7277
7277
|
name: "ConditionError",
|
|
7278
7278
|
message: "Aborted due to condition callback returning false."
|
|
7279
7279
|
};
|
|
7280
|
-
const C = new Promise((E,
|
|
7280
|
+
const C = new Promise((E, N) => {
|
|
7281
7281
|
m = () => {
|
|
7282
|
-
|
|
7282
|
+
N({
|
|
7283
7283
|
name: "AbortError",
|
|
7284
7284
|
message: h || "Aborted"
|
|
7285
7285
|
});
|
|
@@ -7298,8 +7298,8 @@ var oj = ["name", "message", "stack", "code"], Oc = class {
|
|
|
7298
7298
|
requestId: p,
|
|
7299
7299
|
signal: y.signal,
|
|
7300
7300
|
abort: x,
|
|
7301
|
-
rejectWithValue: (E,
|
|
7302
|
-
fulfillWithValue: (E,
|
|
7301
|
+
rejectWithValue: (E, N) => new Oc(E, N),
|
|
7302
|
+
fulfillWithValue: (E, N) => new Kh(E, N)
|
|
7303
7303
|
})).then((E) => {
|
|
7304
7304
|
if (E instanceof Oc)
|
|
7305
7305
|
throw E;
|
|
@@ -7428,10 +7428,10 @@ function uj({
|
|
|
7428
7428
|
});
|
|
7429
7429
|
return Wh(E, C, {
|
|
7430
7430
|
insert: () => {
|
|
7431
|
-
const
|
|
7431
|
+
const N = {};
|
|
7432
7432
|
for (const [R, T] of Object.entries(o.selectors ?? {}))
|
|
7433
|
-
|
|
7434
|
-
return
|
|
7433
|
+
N[R] = dj(T, C, x, S);
|
|
7434
|
+
return N;
|
|
7435
7435
|
}
|
|
7436
7436
|
});
|
|
7437
7437
|
}
|
|
@@ -7519,7 +7519,7 @@ function pj({
|
|
|
7519
7519
|
s = r.reducer, i = r.prepare;
|
|
7520
7520
|
} else
|
|
7521
7521
|
s = r;
|
|
7522
|
-
o.addCase(e, s).exposeCaseReducer(t, s).exposeAction(t, i ?
|
|
7522
|
+
o.addCase(e, s).exposeCaseReducer(t, s).exposeAction(t, i ? Nn(e, i) : Nn(e));
|
|
7523
7523
|
}
|
|
7524
7524
|
function hj(e) {
|
|
7525
7525
|
return e._reducerDefinitionType === "asyncThunk";
|
|
@@ -7542,13 +7542,13 @@ function gj({
|
|
|
7542
7542
|
options: d
|
|
7543
7543
|
} = n, f = o(e, s, d);
|
|
7544
7544
|
r.exposeAction(t, f), i && r.addCase(f.fulfilled, i), l && r.addCase(f.pending, l), c && r.addCase(f.rejected, c), u && r.addMatcher(f.settled, u), r.exposeCaseReducer(t, {
|
|
7545
|
-
fulfilled: i ||
|
|
7546
|
-
pending: l ||
|
|
7547
|
-
rejected: c ||
|
|
7548
|
-
settled: u ||
|
|
7545
|
+
fulfilled: i || ki,
|
|
7546
|
+
pending: l || ki,
|
|
7547
|
+
rejected: c || ki,
|
|
7548
|
+
settled: u || ki
|
|
7549
7549
|
});
|
|
7550
7550
|
}
|
|
7551
|
-
function
|
|
7551
|
+
function ki() {
|
|
7552
7552
|
}
|
|
7553
7553
|
var vj = (e, t) => {
|
|
7554
7554
|
if (typeof e != "function")
|
|
@@ -7562,7 +7562,7 @@ var vj = (e, t) => {
|
|
|
7562
7562
|
effect: s
|
|
7563
7563
|
} = e;
|
|
7564
7564
|
if (t)
|
|
7565
|
-
o =
|
|
7565
|
+
o = Nn(t).match;
|
|
7566
7566
|
else if (n)
|
|
7567
7567
|
t = n.type, o = n.match;
|
|
7568
7568
|
else if (r)
|
|
@@ -7592,11 +7592,11 @@ var vj = (e, t) => {
|
|
|
7592
7592
|
};
|
|
7593
7593
|
}, {
|
|
7594
7594
|
withTypes: () => xj
|
|
7595
|
-
}), bj = Object.assign(
|
|
7595
|
+
}), bj = Object.assign(Nn(`${Of}/add`), {
|
|
7596
7596
|
withTypes: () => bj
|
|
7597
7597
|
});
|
|
7598
|
-
|
|
7599
|
-
var wj = Object.assign(
|
|
7598
|
+
Nn(`${Of}/removeAll`);
|
|
7599
|
+
var wj = Object.assign(Nn(`${Of}/remove`), {
|
|
7600
7600
|
withTypes: () => wj
|
|
7601
7601
|
});
|
|
7602
7602
|
function ht(e) {
|
|
@@ -7616,7 +7616,7 @@ var oi = w;
|
|
|
7616
7616
|
function Sj(e, t) {
|
|
7617
7617
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
7618
7618
|
}
|
|
7619
|
-
var _j = typeof Object.is == "function" ? Object.is : Sj, jj = oi.useSyncExternalStore, Cj = oi.useRef, Ej = oi.useEffect, Rj = oi.useMemo,
|
|
7619
|
+
var _j = typeof Object.is == "function" ? Object.is : Sj, jj = oi.useSyncExternalStore, Cj = oi.useRef, Ej = oi.useEffect, Rj = oi.useMemo, Nj = oi.useDebugValue;
|
|
7620
7620
|
nx.useSyncExternalStoreWithSelector = function(e, t, n, r, o) {
|
|
7621
7621
|
var s = Cj(null);
|
|
7622
7622
|
if (s.current === null) {
|
|
@@ -7649,10 +7649,10 @@ nx.useSyncExternalStoreWithSelector = function(e, t, n, r, o) {
|
|
|
7649
7649
|
var l = jj(e, s[0], s[1]);
|
|
7650
7650
|
return Ej(function() {
|
|
7651
7651
|
i.hasValue = !0, i.value = l;
|
|
7652
|
-
}, [l]),
|
|
7652
|
+
}, [l]), Nj(l), l;
|
|
7653
7653
|
};
|
|
7654
7654
|
tx.exports = nx;
|
|
7655
|
-
var
|
|
7655
|
+
var kj = tx.exports, oe = (
|
|
7656
7656
|
// prettier-ignore
|
|
7657
7657
|
// @ts-ignore
|
|
7658
7658
|
"default" in ma ? _e : ma
|
|
@@ -8093,24 +8093,24 @@ function bC(e, t, n, {
|
|
|
8093
8093
|
areMergedPropsEqual: l
|
|
8094
8094
|
};
|
|
8095
8095
|
function S(C) {
|
|
8096
|
-
const [E,
|
|
8096
|
+
const [E, N, R] = oe.useMemo(() => {
|
|
8097
8097
|
const { reactReduxForwardedRef: ee, ...Oe } = C;
|
|
8098
8098
|
return [C.context, ee, Oe];
|
|
8099
8099
|
}, [C]), T = oe.useMemo(() => {
|
|
8100
8100
|
let ee = d;
|
|
8101
8101
|
return E != null && E.Consumer, ee;
|
|
8102
|
-
}, [E, d]),
|
|
8102
|
+
}, [E, d]), k = oe.useContext(T), P = !!C.store && !!C.store.getState && !!C.store.dispatch, D = !!k && !!k.store, F = P ? C.store : k.store, V = D ? k.getServerState : F.getState, Q = oe.useMemo(() => Qj(F.dispatch, b), [F]), [O, L] = oe.useMemo(() => {
|
|
8103
8103
|
if (!m)
|
|
8104
8104
|
return mC;
|
|
8105
8105
|
const ee = lx(
|
|
8106
8106
|
F,
|
|
8107
|
-
P ? void 0 :
|
|
8107
|
+
P ? void 0 : k.subscription
|
|
8108
8108
|
), Oe = ee.notifyNestedSubs.bind(ee);
|
|
8109
8109
|
return [ee, Oe];
|
|
8110
|
-
}, [F, P,
|
|
8111
|
-
...
|
|
8110
|
+
}, [F, P, k]), A = oe.useMemo(() => P ? k : {
|
|
8111
|
+
...k,
|
|
8112
8112
|
subscription: O
|
|
8113
|
-
}, [P,
|
|
8113
|
+
}, [P, k, O]), W = oe.useRef(), U = oe.useRef(R), Y = oe.useRef(), Z = oe.useRef(!1);
|
|
8114
8114
|
oe.useRef(!1);
|
|
8115
8115
|
const J = oe.useRef(!1), X = oe.useRef();
|
|
8116
8116
|
qa(() => (J.current = !0, () => {
|
|
@@ -8165,10 +8165,10 @@ ${X.current.stack}
|
|
|
8165
8165
|
x,
|
|
8166
8166
|
{
|
|
8167
8167
|
...M,
|
|
8168
|
-
ref:
|
|
8168
|
+
ref: N
|
|
8169
8169
|
}
|
|
8170
8170
|
)
|
|
8171
|
-
), [
|
|
8171
|
+
), [N, x, M]);
|
|
8172
8172
|
return oe.useMemo(() => m ? /* @__PURE__ */ oe.createElement(T.Provider, { value: A }, z) : z, [T, z, A]);
|
|
8173
8173
|
}
|
|
8174
8174
|
const j = oe.memo(S);
|
|
@@ -8230,7 +8230,7 @@ function _C(e = An) {
|
|
|
8230
8230
|
}), n;
|
|
8231
8231
|
}
|
|
8232
8232
|
var it = /* @__PURE__ */ _C();
|
|
8233
|
-
Oj(
|
|
8233
|
+
Oj(kj.useSyncExternalStoreWithSelector);
|
|
8234
8234
|
hC(w.useSyncExternalStore);
|
|
8235
8235
|
const nn = "https://allocations.access-ci.org", te = {
|
|
8236
8236
|
creditAlertThreshold: 1e3,
|
|
@@ -8381,7 +8381,7 @@ async function RC(e) {
|
|
|
8381
8381
|
const t = document.location, n = `${t.protocol}//${t.host}${t.pathname}`, o = await (await fetch(`${n}/${e}`)).json();
|
|
8382
8382
|
return $c[e] = o, o;
|
|
8383
8383
|
}
|
|
8384
|
-
function
|
|
8384
|
+
function NC(e) {
|
|
8385
8385
|
const t = [...e.creditLines.features.map((r) => r.properties.credits)], n = [
|
|
8386
8386
|
...e.rpPoints.features.map((r) => r.properties.rpCredits),
|
|
8387
8387
|
...e.userPoints.features.map((r) => r.properties.userCredits)
|
|
@@ -8469,7 +8469,7 @@ function om({ activeOrg: e, basemapStyle: t, creditLevels: n, creditType: r, geo
|
|
|
8469
8469
|
]
|
|
8470
8470
|
};
|
|
8471
8471
|
}
|
|
8472
|
-
function
|
|
8472
|
+
function kC(e, t, n, r, o = 20) {
|
|
8473
8473
|
return [...Array(o + 1).keys()].map((s) => s / o).map((s) => {
|
|
8474
8474
|
let i = s * (n - e) + e, l = s * (r - t) + t + Math.abs(Math.sin(s * Math.PI) * (n - e) * 0.1);
|
|
8475
8475
|
return [i, l];
|
|
@@ -8502,7 +8502,7 @@ function TC(e, t, n) {
|
|
|
8502
8502
|
type: "Feature",
|
|
8503
8503
|
geometry: {
|
|
8504
8504
|
type: "LineString",
|
|
8505
|
-
coordinates:
|
|
8505
|
+
coordinates: kC(
|
|
8506
8506
|
...r[s.user_organization_id].geometry.coordinates,
|
|
8507
8507
|
...r[s.rp_organization_id].geometry.coordinates
|
|
8508
8508
|
)
|
|
@@ -8736,7 +8736,7 @@ function QC() {
|
|
|
8736
8736
|
if (!m) {
|
|
8737
8737
|
const E = {};
|
|
8738
8738
|
_.features.forEach(
|
|
8739
|
-
(
|
|
8739
|
+
(N) => E[N.id.toString()] = N.properties.name
|
|
8740
8740
|
), h(E);
|
|
8741
8741
|
}
|
|
8742
8742
|
const C = TC(
|
|
@@ -8744,7 +8744,7 @@ function QC() {
|
|
|
8744
8744
|
j,
|
|
8745
8745
|
g
|
|
8746
8746
|
);
|
|
8747
|
-
f(C), S === "exchanged" && !i && l(
|
|
8747
|
+
f(C), S === "exchanged" && !i && l(NC(C));
|
|
8748
8748
|
})(g);
|
|
8749
8749
|
}, [g]), w.useEffect(() => {
|
|
8750
8750
|
p && p.setStyle(
|
|
@@ -9209,7 +9209,7 @@ const q = /* @__PURE__ */ Xs(rE), oE = (e, t) => {
|
|
|
9209
9209
|
[n]
|
|
9210
9210
|
), x = w.useCallback(
|
|
9211
9211
|
(_, j, C, E) => {
|
|
9212
|
-
const
|
|
9212
|
+
const N = C ? [
|
|
9213
9213
|
...E.required_resources || [],
|
|
9214
9214
|
{
|
|
9215
9215
|
resource_name: j,
|
|
@@ -9222,7 +9222,7 @@ const q = /* @__PURE__ */ Xs(rE), oE = (e, t) => {
|
|
|
9222
9222
|
);
|
|
9223
9223
|
n(
|
|
9224
9224
|
Mc(_, {
|
|
9225
|
-
required_resources:
|
|
9225
|
+
required_resources: N
|
|
9226
9226
|
})
|
|
9227
9227
|
);
|
|
9228
9228
|
},
|
|
@@ -9240,13 +9240,13 @@ const q = /* @__PURE__ */ Xs(rE), oE = (e, t) => {
|
|
|
9240
9240
|
// Remove resource if unchecked
|
|
9241
9241
|
);
|
|
9242
9242
|
}, []), g = w.useCallback(() => {
|
|
9243
|
-
const _ = t.allocation_types.flatMap((
|
|
9244
|
-
(
|
|
9243
|
+
const _ = t.allocation_types.flatMap((N) => N.required_resources || []).map((N) => N.required_resource_id), j = d.filter(
|
|
9244
|
+
(N) => !_.includes(N)
|
|
9245
9245
|
), C = _.filter(
|
|
9246
|
-
(
|
|
9246
|
+
(N) => !d.includes(N)
|
|
9247
9247
|
), E = t.allocation_types.map(
|
|
9248
|
-
(
|
|
9249
|
-
const R =
|
|
9248
|
+
(N) => {
|
|
9249
|
+
const R = N.required_resources || [], T = j.map((P) => {
|
|
9250
9250
|
const D = r.find(
|
|
9251
9251
|
(F) => F.resource_id === P
|
|
9252
9252
|
);
|
|
@@ -9254,7 +9254,7 @@ const q = /* @__PURE__ */ Xs(rE), oE = (e, t) => {
|
|
|
9254
9254
|
resource_name: D.resource_name,
|
|
9255
9255
|
required_resource_id: D.resource_id
|
|
9256
9256
|
};
|
|
9257
|
-
}),
|
|
9257
|
+
}), k = R.filter(
|
|
9258
9258
|
(P) => !C.includes(P.required_resource_id)
|
|
9259
9259
|
).concat(
|
|
9260
9260
|
T.filter(
|
|
@@ -9264,8 +9264,8 @@ const q = /* @__PURE__ */ Xs(rE), oE = (e, t) => {
|
|
|
9264
9264
|
)
|
|
9265
9265
|
);
|
|
9266
9266
|
return {
|
|
9267
|
-
...
|
|
9268
|
-
required_resources:
|
|
9267
|
+
...N,
|
|
9268
|
+
required_resources: k
|
|
9269
9269
|
};
|
|
9270
9270
|
}
|
|
9271
9271
|
);
|
|
@@ -9292,18 +9292,18 @@ const q = /* @__PURE__ */ Xs(rE), oE = (e, t) => {
|
|
|
9292
9292
|
if (!p)
|
|
9293
9293
|
return;
|
|
9294
9294
|
const _ = o.find(
|
|
9295
|
-
(
|
|
9295
|
+
(N) => N.allocation_type_id.toString() === p
|
|
9296
9296
|
), j = (C = t.allocation_types) == null ? void 0 : C.some(
|
|
9297
|
-
(
|
|
9297
|
+
(N) => N.allocation_type_id === _.allocation_type_id
|
|
9298
9298
|
);
|
|
9299
9299
|
if (_ && !j) {
|
|
9300
|
-
const
|
|
9300
|
+
const N = (E = s[0]) == null ? void 0 : E.value, R = [
|
|
9301
9301
|
...t.allocation_types || [],
|
|
9302
9302
|
{
|
|
9303
9303
|
allocation_type_id: _.allocation_type_id,
|
|
9304
9304
|
display_name: _.display_name,
|
|
9305
9305
|
allowed_action: {
|
|
9306
|
-
resource_state_type_id:
|
|
9306
|
+
resource_state_type_id: N
|
|
9307
9307
|
},
|
|
9308
9308
|
comment: "",
|
|
9309
9309
|
required_resources: []
|
|
@@ -9909,8 +9909,8 @@ function mE({
|
|
|
9909
9909
|
return;
|
|
9910
9910
|
const C = [...i], E = C[d.current];
|
|
9911
9911
|
C.splice(d.current, 1), C.splice(j, 0, E), d.current = j, l(C);
|
|
9912
|
-
const { clientY:
|
|
9913
|
-
|
|
9912
|
+
const { clientY: N } = _, R = 130;
|
|
9913
|
+
N < R ? cm(-1, f) : window.innerHeight - N < R ? cm(1, f) : Ac(f);
|
|
9914
9914
|
}, S = () => {
|
|
9915
9915
|
d.current = null, Ac(f), XC(r, i);
|
|
9916
9916
|
};
|
|
@@ -10399,21 +10399,21 @@ const RE = (e, t) => {
|
|
|
10399
10399
|
const x = {
|
|
10400
10400
|
start_date: "begin_date",
|
|
10401
10401
|
end_date: "end_date"
|
|
10402
|
-
}, v = (
|
|
10403
|
-
const P = new Date(
|
|
10402
|
+
}, v = (k) => {
|
|
10403
|
+
const P = new Date(k);
|
|
10404
10404
|
return new Intl.DateTimeFormat("en-US", {
|
|
10405
10405
|
timeZone: "UTC",
|
|
10406
10406
|
month: "numeric",
|
|
10407
10407
|
day: "numeric",
|
|
10408
10408
|
year: "numeric"
|
|
10409
10409
|
}).format(P);
|
|
10410
|
-
}, g = ((T = (R = e == null ? void 0 : e.resource_details) == null ? void 0 : R.exchange_rates) == null ? void 0 : T.discount_rates) || [], b = g.find((
|
|
10410
|
+
}, g = ((T = (R = e == null ? void 0 : e.resource_details) == null ? void 0 : R.exchange_rates) == null ? void 0 : T.discount_rates) || [], b = g.find((k) => k.id === y);
|
|
10411
10411
|
if (!b)
|
|
10412
10412
|
return;
|
|
10413
10413
|
const S = { [x[m]]: h }, _ = {}, j = m === "end_date", C = () => {
|
|
10414
10414
|
if (!h)
|
|
10415
10415
|
return _[`${m}_error`] = "Date cannot be empty or invalid", !1;
|
|
10416
|
-
const
|
|
10416
|
+
const k = r.find((V) => V.key === m), P = (k == null ? void 0 : k.minDate) || "1900-01-01", D = (k == null ? void 0 : k.maxDate) || "2100-12-31", F = j && b.begin_date ? b.begin_date : P;
|
|
10417
10417
|
return h < F ? (_[`${m}_error`] = `${m.replace(
|
|
10418
10418
|
"_",
|
|
10419
10419
|
" "
|
|
@@ -10424,21 +10424,21 @@ const RE = (e, t) => {
|
|
|
10424
10424
|
" "
|
|
10425
10425
|
)} cannot be after ${v(D)}`, !1) : (_[`${m}_error`] = "", !0);
|
|
10426
10426
|
}, E = () => {
|
|
10427
|
-
const
|
|
10428
|
-
if (m === "start_date" &&
|
|
10429
|
-
if (h >
|
|
10427
|
+
const k = m === "end_date" ? h : b.end_date;
|
|
10428
|
+
if (m === "start_date" && k) {
|
|
10429
|
+
if (h > k)
|
|
10430
10430
|
return _.end_date_error = `end date ${v(
|
|
10431
|
-
|
|
10431
|
+
k
|
|
10432
10432
|
)} cannot be before ${v(h)}`, !1;
|
|
10433
10433
|
_.end_date_error = _.end_date_error || "";
|
|
10434
10434
|
}
|
|
10435
10435
|
return !0;
|
|
10436
|
-
},
|
|
10436
|
+
}, N = () => {
|
|
10437
10437
|
console.log("validating overlaps");
|
|
10438
|
-
const
|
|
10439
|
-
if (
|
|
10438
|
+
const k = m === "start_date" ? h : b.begin_date, P = m === "end_date" ? h : b.end_date;
|
|
10439
|
+
if (k && P) {
|
|
10440
10440
|
const D = u(
|
|
10441
|
-
{ ...b, begin_date:
|
|
10441
|
+
{ ...b, begin_date: k, end_date: P },
|
|
10442
10442
|
g
|
|
10443
10443
|
);
|
|
10444
10444
|
return _.start_date_error = D, _.end_date_error = D, !D;
|
|
@@ -10452,7 +10452,7 @@ const RE = (e, t) => {
|
|
|
10452
10452
|
});
|
|
10453
10453
|
return;
|
|
10454
10454
|
}
|
|
10455
|
-
E(),
|
|
10455
|
+
E(), N(), j && !b.begin_date ? _.start_date_error = "Date cannot be empty or invalid" : !j && !b.end_date && (_.end_date_error = "Date cannot be empty or invalid"), t({
|
|
10456
10456
|
type: "UPDATE_EXCHANGE_RATE",
|
|
10457
10457
|
payload: { rateId: y, changes: { ...S, ..._ } }
|
|
10458
10458
|
});
|
|
@@ -10499,12 +10499,12 @@ const RE = (e, t) => {
|
|
|
10499
10499
|
},
|
|
10500
10500
|
// Discount rate rows
|
|
10501
10501
|
...h.map((_) => {
|
|
10502
|
-
var
|
|
10502
|
+
var N;
|
|
10503
10503
|
const j = _.is_new || _.begin_date > x, C = j || _.begin_date === "", E = _.is_new || _.end_date >= x || _.end_date === "";
|
|
10504
10504
|
return {
|
|
10505
10505
|
rate_type: "Discount",
|
|
10506
10506
|
rate: {
|
|
10507
|
-
value: ((
|
|
10507
|
+
value: ((N = _.exchange_rate) == null ? void 0 : N.toString()) || "",
|
|
10508
10508
|
onChange: j ? (R) => s(_.id, R) : null,
|
|
10509
10509
|
disabled: !j
|
|
10510
10510
|
},
|
|
@@ -10554,10 +10554,10 @@ function jx({
|
|
|
10554
10554
|
showAddAllocationTypeModal: j,
|
|
10555
10555
|
setShowAddAllocationTypeModal: C,
|
|
10556
10556
|
selectedNewResource: E,
|
|
10557
|
-
handleSelectNewResource:
|
|
10557
|
+
handleSelectNewResource: N,
|
|
10558
10558
|
handleSaveResources: R,
|
|
10559
10559
|
selectedNewAllocationType: T,
|
|
10560
|
-
handleSelectNewAllocationType:
|
|
10560
|
+
handleSelectNewAllocationType: k,
|
|
10561
10561
|
handleSaveAllocationType: P,
|
|
10562
10562
|
handleAllowedActionChange: D,
|
|
10563
10563
|
handleCommentChange: F,
|
|
@@ -10669,7 +10669,7 @@ function jx({
|
|
|
10669
10669
|
type: "checkbox",
|
|
10670
10670
|
style: { margin: 0 },
|
|
10671
10671
|
checked: E.includes(X.resource_id),
|
|
10672
|
-
onChange: (se) =>
|
|
10672
|
+
onChange: (se) => N(
|
|
10673
10673
|
X.resource_id,
|
|
10674
10674
|
se.target.checked
|
|
10675
10675
|
)
|
|
@@ -10706,7 +10706,7 @@ function jx({
|
|
|
10706
10706
|
}))
|
|
10707
10707
|
],
|
|
10708
10708
|
value: T,
|
|
10709
|
-
onChange:
|
|
10709
|
+
onChange: k
|
|
10710
10710
|
}
|
|
10711
10711
|
)
|
|
10712
10712
|
}
|
|
@@ -10722,7 +10722,7 @@ const Le = {
|
|
|
10722
10722
|
error: "error",
|
|
10723
10723
|
pending: "pending",
|
|
10724
10724
|
success: "success"
|
|
10725
|
-
}, Ga = (e) => e.endDate || e.startDate || (e.actions[0] || {}).entryDate, fm = (e) => `${{ pi: "01", co_pi: "02", allocation_manager: "03" }[e.role] || "04"} ${e.lastName}, ${e.firstName}`,
|
|
10725
|
+
}, Ga = (e) => e.endDate || e.startDate || (e.actions[0] || {}).entryDate, fm = (e) => `${{ pi: "01", co_pi: "02", allocation_manager: "03" }[e.role] || "04"} ${e.lastName}, ${e.firstName}`, NE = (e, { grantNumber: t, projectManager: n, requestMasterId: r, requests: o, title: s, users: i }, l) => {
|
|
10726
10726
|
t = t || r, o.sort((d, f) => Ga(d) > Ga(f) ? -1 : 1);
|
|
10727
10727
|
const c = o.find(
|
|
10728
10728
|
(d) => d.timeStatus == "current"
|
|
@@ -10733,7 +10733,7 @@ const Le = {
|
|
|
10733
10733
|
isManager: n,
|
|
10734
10734
|
requestsList: o.map((d) => {
|
|
10735
10735
|
const { actions: f, allocationType: p, endDate: y, requestId: m, startDate: h, status: x } = d, v = f.map(({ entryDate: g }) => g).sort()[0].split("T")[0];
|
|
10736
|
-
return
|
|
10736
|
+
return kE(e, d, { entryDate: v, grantNumber: t }), {
|
|
10737
10737
|
allocationType: p,
|
|
10738
10738
|
endDate: y,
|
|
10739
10739
|
entryDate: v,
|
|
@@ -10780,7 +10780,7 @@ const Le = {
|
|
|
10780
10780
|
usersNewRowIndex: 0,
|
|
10781
10781
|
usersStatus: null
|
|
10782
10782
|
}, e.projects[t].currentUser = e.projects[t].users.find(({ username: d }) => d == e.username);
|
|
10783
|
-
},
|
|
10783
|
+
}, kE = (e, {
|
|
10784
10784
|
actions: t,
|
|
10785
10785
|
allocationType: n,
|
|
10786
10786
|
allowedActions: r,
|
|
@@ -10805,7 +10805,7 @@ const Le = {
|
|
|
10805
10805
|
entryDate: j,
|
|
10806
10806
|
isRequest: C,
|
|
10807
10807
|
requestedStartDate: E,
|
|
10808
|
-
resources:
|
|
10808
|
+
resources: N
|
|
10809
10809
|
}) => ({
|
|
10810
10810
|
actionId: x,
|
|
10811
10811
|
allowedOperations: b,
|
|
@@ -10815,7 +10815,7 @@ const Le = {
|
|
|
10815
10815
|
)[0],
|
|
10816
10816
|
deleteStatus: null,
|
|
10817
10817
|
isRequest: C,
|
|
10818
|
-
resources:
|
|
10818
|
+
resources: N.map(od).sort(Ha),
|
|
10819
10819
|
showDeleteModal: !1,
|
|
10820
10820
|
status: v,
|
|
10821
10821
|
type: g
|
|
@@ -10970,15 +10970,15 @@ const Le = {
|
|
|
10970
10970
|
isUnderReview: !1,
|
|
10971
10971
|
isNew: !1,
|
|
10972
10972
|
name: f.trim(),
|
|
10973
|
-
questions: (s || []).filter(({ isActive:
|
|
10974
|
-
attributeSetId:
|
|
10975
|
-
attributes:
|
|
10973
|
+
questions: (s || []).filter(({ isActive: N }) => N).sort(pm).map((N) => ({
|
|
10974
|
+
attributeSetId: N.attributeSetId,
|
|
10975
|
+
attributes: N.attributes.sort(pm).map((R) => ({
|
|
10976
10976
|
required: R.isRequired,
|
|
10977
10977
|
resourceAttributeId: R.resourceAttributeId,
|
|
10978
10978
|
label: R.attributeName
|
|
10979
10979
|
})),
|
|
10980
|
-
fieldType:
|
|
10981
|
-
label:
|
|
10980
|
+
fieldType: N.attributeSetRelationType,
|
|
10981
|
+
label: N.attributeSetName,
|
|
10982
10982
|
resourceId: j,
|
|
10983
10983
|
values: []
|
|
10984
10984
|
})),
|
|
@@ -11034,12 +11034,22 @@ const Le = {
|
|
|
11034
11034
|
), sd = ({ allocated: e, isActive: t, isCredit: n }) => e > 0 && t && !n, mm = (e) => e.hasChanges = e.isNew || e.role != e.initialRole || !Cx(e.resourceIds, e.initialResourceIds), Ex = () => document.querySelector("meta[name=csrf-token]").content, PE = async (e) => {
|
|
11035
11035
|
const t = new URLSearchParams({ q: e });
|
|
11036
11036
|
return (await (await fetch(`${te.routes.search_people_path()}?${t}`)).json()).map(
|
|
11037
|
-
({
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
-
|
|
11037
|
+
({
|
|
11038
|
+
eligible_reason: r,
|
|
11039
|
+
email: o,
|
|
11040
|
+
first_name: s,
|
|
11041
|
+
is_eligible: i,
|
|
11042
|
+
last_name: l,
|
|
11043
|
+
username: c,
|
|
11044
|
+
organization: u
|
|
11045
|
+
}) => ({
|
|
11046
|
+
eligibility: i,
|
|
11047
|
+
eligibilityReason: r,
|
|
11048
|
+
email: o,
|
|
11049
|
+
firstName: s,
|
|
11050
|
+
lastName: l,
|
|
11051
|
+
username: c,
|
|
11052
|
+
organization: u
|
|
11043
11053
|
})
|
|
11044
11054
|
);
|
|
11045
11055
|
}, na = Qe(
|
|
@@ -11051,7 +11061,7 @@ const Le = {
|
|
|
11051
11061
|
), Rx = Qe(
|
|
11052
11062
|
"api/fetchProjectDetail",
|
|
11053
11063
|
async ({ grantNumber: e }, { rejectWithValue: t }) => t({ grantNumber: e })
|
|
11054
|
-
),
|
|
11064
|
+
), Nx = Qe(
|
|
11055
11065
|
"api/fetchRequestDetail",
|
|
11056
11066
|
async ({ grantNumber: e, requestId: t }, { rejectWithValue: n }) => n({ grantNumber: e, requestId: t })
|
|
11057
11067
|
), ra = Qe(
|
|
@@ -11175,7 +11185,7 @@ const Le = {
|
|
|
11175
11185
|
}
|
|
11176
11186
|
})).status == 200 ? { grantNumber: e } : n({ grantNumber: e });
|
|
11177
11187
|
}
|
|
11178
|
-
),
|
|
11188
|
+
), kx = ri({
|
|
11179
11189
|
name: "api",
|
|
11180
11190
|
initialState: {
|
|
11181
11191
|
error: null,
|
|
@@ -11296,7 +11306,7 @@ const Le = {
|
|
|
11296
11306
|
const { grantNumber: o, requestMasterId: s, requests: i, status: l, title: c } = r, d = r.requests.filter(
|
|
11297
11307
|
(f) => f.actions.filter((p) => p.returnedForCorrections).length > 0
|
|
11298
11308
|
).length > 0 ? "Returned for Corrections" : l || i && (i.find(({ timeStatus: f }) => f == "current") ? "Active" : i[0].timeStatus == "past" ? "Inactive" : i[0].status);
|
|
11299
|
-
return i &&
|
|
11309
|
+
return i && NE(t, r, d), {
|
|
11300
11310
|
grantNumber: o || s,
|
|
11301
11311
|
status: d,
|
|
11302
11312
|
title: c
|
|
@@ -11307,7 +11317,7 @@ const Le = {
|
|
|
11307
11317
|
}).addCase(Rx.rejected, (t, n) => {
|
|
11308
11318
|
const { grantNumber: r } = n.payload;
|
|
11309
11319
|
t.projects[r] = { error: "Failed to load project data." };
|
|
11310
|
-
}).addCase(
|
|
11320
|
+
}).addCase(Nx.rejected, (t, n) => {
|
|
11311
11321
|
const { requestId: r } = n.payload;
|
|
11312
11322
|
t.requests[r] = {
|
|
11313
11323
|
error: "Failed to load request data."
|
|
@@ -11378,7 +11388,7 @@ const Le = {
|
|
|
11378
11388
|
toggleDeleteModal: ZE,
|
|
11379
11389
|
toggleResourcesModal: JE,
|
|
11380
11390
|
toggleUsersResources: eR
|
|
11381
|
-
} =
|
|
11391
|
+
} = kx.actions, tR = kx.reducer, nR = (e) => {
|
|
11382
11392
|
const t = fe($E), n = fe(AE), r = fe(IE), o = it();
|
|
11383
11393
|
return w.useEffect(() => {
|
|
11384
11394
|
o(na(e));
|
|
@@ -11406,7 +11416,7 @@ const Le = {
|
|
|
11406
11416
|
}, at = (e, t) => {
|
|
11407
11417
|
const n = fe((o) => DE(o, e)), r = it();
|
|
11408
11418
|
return w.useEffect(() => {
|
|
11409
|
-
n || r(
|
|
11419
|
+
n || r(Nx({ grantNumber: t, requestId: e }));
|
|
11410
11420
|
}, [t, e]), {
|
|
11411
11421
|
request: n,
|
|
11412
11422
|
addResource: (o) => r(LE({ requestId: e, resourceId: o })),
|
|
@@ -11503,7 +11513,7 @@ function yR(e) {
|
|
|
11503
11513
|
t.current = e;
|
|
11504
11514
|
}, [e]), t;
|
|
11505
11515
|
}
|
|
11506
|
-
function
|
|
11516
|
+
function ke(e) {
|
|
11507
11517
|
const t = yR(e);
|
|
11508
11518
|
return w.useCallback(function(...n) {
|
|
11509
11519
|
return t.current && t.current(...n);
|
|
@@ -11528,7 +11538,7 @@ function zf({
|
|
|
11528
11538
|
mountOnEnter: r,
|
|
11529
11539
|
unmountOnExit: o
|
|
11530
11540
|
}) {
|
|
11531
|
-
const s = w.useRef(null), i = w.useRef(t), l =
|
|
11541
|
+
const s = w.useRef(null), i = w.useRef(t), l = ke(n);
|
|
11532
11542
|
w.useEffect(() => {
|
|
11533
11543
|
t ? i.current = !0 : l(s.current);
|
|
11534
11544
|
}, [t, l]);
|
|
@@ -11893,12 +11903,12 @@ function RR(e) {
|
|
|
11893
11903
|
var t = Lo(e);
|
|
11894
11904
|
return t && t.defaultView || window;
|
|
11895
11905
|
}
|
|
11896
|
-
function
|
|
11906
|
+
function NR(e, t) {
|
|
11897
11907
|
return RR(e).getComputedStyle(e, t);
|
|
11898
11908
|
}
|
|
11899
|
-
var
|
|
11909
|
+
var kR = /([A-Z])/g;
|
|
11900
11910
|
function TR(e) {
|
|
11901
|
-
return e.replace(
|
|
11911
|
+
return e.replace(kR, "-$1").toLowerCase();
|
|
11902
11912
|
}
|
|
11903
11913
|
var OR = /^ms-/;
|
|
11904
11914
|
function Pi(e) {
|
|
@@ -11908,10 +11918,10 @@ var PR = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y
|
|
|
11908
11918
|
function $R(e) {
|
|
11909
11919
|
return !!(e && PR.test(e));
|
|
11910
11920
|
}
|
|
11911
|
-
function
|
|
11921
|
+
function kn(e, t) {
|
|
11912
11922
|
var n = "", r = "";
|
|
11913
11923
|
if (typeof t == "string")
|
|
11914
|
-
return e.style.getPropertyValue(Pi(t)) ||
|
|
11924
|
+
return e.style.getPropertyValue(Pi(t)) || NR(e).getPropertyValue(Pi(t));
|
|
11915
11925
|
Object.keys(t).forEach(function(o) {
|
|
11916
11926
|
var s = t[o];
|
|
11917
11927
|
!s && s !== 0 ? e.style.removeProperty(Pi(o)) : $R(o) ? r += o + "(" + s + ") " : n += Pi(o) + ": " + s + ";";
|
|
@@ -11956,7 +11966,7 @@ function IR(e, t, n, r) {
|
|
|
11956
11966
|
}
|
|
11957
11967
|
}
|
|
11958
11968
|
function AR(e) {
|
|
11959
|
-
var t =
|
|
11969
|
+
var t = kn(e, "transitionDuration") || "", n = t.indexOf("ms") === -1 ? 1e3 : 1;
|
|
11960
11970
|
return parseFloat(t) * n;
|
|
11961
11971
|
}
|
|
11962
11972
|
function MR(e, t, n) {
|
|
@@ -11980,7 +11990,7 @@ function Lx(e, t, n, r) {
|
|
|
11980
11990
|
};
|
|
11981
11991
|
}
|
|
11982
11992
|
function xm(e, t) {
|
|
11983
|
-
const n =
|
|
11993
|
+
const n = kn(e, t) || "", r = n.indexOf("ms") === -1 ? 1e3 : 1;
|
|
11984
11994
|
return parseFloat(n) * r;
|
|
11985
11995
|
}
|
|
11986
11996
|
function Ux(e, t) {
|
|
@@ -12359,7 +12369,7 @@ const Yf = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
12359
12369
|
});
|
|
12360
12370
|
Yf.displayName = "Button";
|
|
12361
12371
|
const JR = ["as", "active", "eventKey"];
|
|
12362
|
-
function
|
|
12372
|
+
function eN(e, t) {
|
|
12363
12373
|
if (e == null)
|
|
12364
12374
|
return {};
|
|
12365
12375
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -12385,7 +12395,7 @@ function e0({
|
|
|
12385
12395
|
const f = l.getControllerId(e ?? null), p = l.getControlledId(e ?? null);
|
|
12386
12396
|
d[Vo("event-key")] = e, d.id = f || r, u = n == null && e != null ? l.activeKey === e : n, (u || !(c != null && c.unmountOnExit) && !(c != null && c.mountOnEnter)) && (d["aria-controls"] = p);
|
|
12387
12397
|
}
|
|
12388
|
-
return d.role === "tab" && (d["aria-selected"] = u, u || (d.tabIndex = -1), s && (d.tabIndex = -1, d["aria-disabled"] = !0)), d.onClick =
|
|
12398
|
+
return d.role === "tab" && (d["aria-selected"] = u, u || (d.tabIndex = -1), s && (d.tabIndex = -1, d["aria-disabled"] = !0)), d.onClick = ke((f) => {
|
|
12389
12399
|
s || (t == null || t(f), e != null && i && !f.isPropagationStopped() && i(e, f));
|
|
12390
12400
|
}), [d, {
|
|
12391
12401
|
isActive: u
|
|
@@ -12396,7 +12406,7 @@ const t0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
12396
12406
|
as: n = Yf,
|
|
12397
12407
|
active: r,
|
|
12398
12408
|
eventKey: o
|
|
12399
|
-
} = e, s =
|
|
12409
|
+
} = e, s = eN(e, JR);
|
|
12400
12410
|
const [i, l] = e0(Object.assign({
|
|
12401
12411
|
key: Mr(o, s.href),
|
|
12402
12412
|
active: r
|
|
@@ -12406,8 +12416,8 @@ const t0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
12406
12416
|
}));
|
|
12407
12417
|
});
|
|
12408
12418
|
t0.displayName = "NavItem";
|
|
12409
|
-
const
|
|
12410
|
-
function
|
|
12419
|
+
const tN = t0, nN = ["as", "onSelect", "activeKey", "role", "onKeyDown"];
|
|
12420
|
+
function rN(e, t) {
|
|
12411
12421
|
if (e == null)
|
|
12412
12422
|
return {};
|
|
12413
12423
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -12424,7 +12434,7 @@ const Sm = () => {
|
|
|
12424
12434
|
activeKey: o,
|
|
12425
12435
|
role: s,
|
|
12426
12436
|
onKeyDown: i
|
|
12427
|
-
} = e, l =
|
|
12437
|
+
} = e, l = rN(e, nN);
|
|
12428
12438
|
const c = Zx(), u = w.useRef(!1), d = w.useContext(Mn), f = w.useContext(Fo);
|
|
12429
12439
|
let p, y;
|
|
12430
12440
|
f && (s = s || "tablist", o = f.activeKey, p = f.getControlledId, y = f.getControllerId);
|
|
@@ -12487,13 +12497,13 @@ const Sm = () => {
|
|
|
12487
12497
|
});
|
|
12488
12498
|
});
|
|
12489
12499
|
n0.displayName = "Nav";
|
|
12490
|
-
const
|
|
12491
|
-
Item:
|
|
12500
|
+
const oN = Object.assign(n0, {
|
|
12501
|
+
Item: tN
|
|
12492
12502
|
}), r0 = /* @__PURE__ */ w.createContext(null);
|
|
12493
12503
|
r0.displayName = "NavbarContext";
|
|
12494
12504
|
const o0 = r0, s0 = /* @__PURE__ */ w.createContext(null);
|
|
12495
12505
|
s0.displayName = "CardHeaderContext";
|
|
12496
|
-
const
|
|
12506
|
+
const sN = s0, i0 = /* @__PURE__ */ w.forwardRef(({
|
|
12497
12507
|
className: e,
|
|
12498
12508
|
bsPrefix: t,
|
|
12499
12509
|
as: n = "div",
|
|
@@ -12508,8 +12518,8 @@ const a0 = i0;
|
|
|
12508
12518
|
function Ja() {
|
|
12509
12519
|
return w.useState(null);
|
|
12510
12520
|
}
|
|
12511
|
-
function
|
|
12512
|
-
const o =
|
|
12521
|
+
function iN(e, t, n, r = !1) {
|
|
12522
|
+
const o = ke(n);
|
|
12513
12523
|
w.useEffect(() => {
|
|
12514
12524
|
const s = typeof e == "function" ? e() : e;
|
|
12515
12525
|
return s.addEventListener(t, o, r), () => s.removeEventListener(t, o, r);
|
|
@@ -12527,10 +12537,10 @@ function l0(e) {
|
|
|
12527
12537
|
t.current = e;
|
|
12528
12538
|
}), t.current;
|
|
12529
12539
|
}
|
|
12530
|
-
const
|
|
12540
|
+
const aN = typeof global < "u" && // @ts-ignore
|
|
12531
12541
|
global.navigator && // @ts-ignore
|
|
12532
|
-
global.navigator.product === "ReactNative",
|
|
12533
|
-
function
|
|
12542
|
+
global.navigator.product === "ReactNative", lN = typeof document < "u", el = lN || aN ? w.useLayoutEffect : w.useEffect, cN = ["onKeyDown"];
|
|
12543
|
+
function uN(e, t) {
|
|
12534
12544
|
if (e == null)
|
|
12535
12545
|
return {};
|
|
12536
12546
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -12538,19 +12548,19 @@ function uk(e, t) {
|
|
|
12538
12548
|
o = r[s], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
12539
12549
|
return n;
|
|
12540
12550
|
}
|
|
12541
|
-
function
|
|
12551
|
+
function dN(e) {
|
|
12542
12552
|
return !e || e.trim() === "#";
|
|
12543
12553
|
}
|
|
12544
12554
|
const c0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
12545
12555
|
let {
|
|
12546
12556
|
onKeyDown: n
|
|
12547
|
-
} = e, r =
|
|
12557
|
+
} = e, r = uN(e, cN);
|
|
12548
12558
|
const [o] = Gf(Object.assign({
|
|
12549
12559
|
tagName: "a"
|
|
12550
|
-
}, r)), s =
|
|
12560
|
+
}, r)), s = ke((i) => {
|
|
12551
12561
|
o.onKeyDown(i), n == null || n(i);
|
|
12552
12562
|
});
|
|
12553
|
-
return
|
|
12563
|
+
return dN(r.href) || r.role === "button" ? /* @__PURE__ */ a.jsx("a", Object.assign({
|
|
12554
12564
|
ref: t
|
|
12555
12565
|
}, r, o, {
|
|
12556
12566
|
onKeyDown: s
|
|
@@ -12602,10 +12612,10 @@ const f0 = d0, p0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
12602
12612
|
activeKey: "onSelect"
|
|
12603
12613
|
}), p = de(r, "nav");
|
|
12604
12614
|
let y, m, h = !1;
|
|
12605
|
-
const x = w.useContext(o0), v = w.useContext(
|
|
12615
|
+
const x = w.useContext(o0), v = w.useContext(sN);
|
|
12606
12616
|
return x ? (y = x.bsPrefix, h = l ?? !0) : v && ({
|
|
12607
12617
|
cardHeaderBsPrefix: m
|
|
12608
|
-
} = v), /* @__PURE__ */ a.jsx(
|
|
12618
|
+
} = v), /* @__PURE__ */ a.jsx(oN, {
|
|
12609
12619
|
as: n,
|
|
12610
12620
|
ref: t,
|
|
12611
12621
|
activeKey: d,
|
|
@@ -12622,7 +12632,7 @@ const f0 = d0, p0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
12622
12632
|
});
|
|
12623
12633
|
});
|
|
12624
12634
|
p0.displayName = "Nav";
|
|
12625
|
-
const
|
|
12635
|
+
const fN = Object.assign(p0, {
|
|
12626
12636
|
Item: a0,
|
|
12627
12637
|
Link: f0
|
|
12628
12638
|
});
|
|
@@ -12630,19 +12640,19 @@ function jm(e, t) {
|
|
|
12630
12640
|
let n = 0;
|
|
12631
12641
|
return w.Children.map(e, (r) => /* @__PURE__ */ w.isValidElement(r) ? t(r, n++) : r);
|
|
12632
12642
|
}
|
|
12633
|
-
function
|
|
12643
|
+
function pN(e, t) {
|
|
12634
12644
|
let n = 0;
|
|
12635
12645
|
w.Children.forEach(e, (r) => {
|
|
12636
12646
|
/* @__PURE__ */ w.isValidElement(r) && t(r, n++);
|
|
12637
12647
|
});
|
|
12638
12648
|
}
|
|
12639
|
-
function
|
|
12649
|
+
function hN(e) {
|
|
12640
12650
|
let t;
|
|
12641
|
-
return
|
|
12651
|
+
return pN(e, (n) => {
|
|
12642
12652
|
t == null && (t = n.props.eventKey);
|
|
12643
12653
|
}), t;
|
|
12644
12654
|
}
|
|
12645
|
-
function
|
|
12655
|
+
function mN(e) {
|
|
12646
12656
|
const {
|
|
12647
12657
|
title: t,
|
|
12648
12658
|
eventKey: n,
|
|
@@ -12675,7 +12685,7 @@ const h0 = (e) => {
|
|
|
12675
12685
|
unmountOnExit: s = !1,
|
|
12676
12686
|
variant: i = "tabs",
|
|
12677
12687
|
children: l,
|
|
12678
|
-
activeKey: c =
|
|
12688
|
+
activeKey: c = hN(l),
|
|
12679
12689
|
...u
|
|
12680
12690
|
} = Al(e, {
|
|
12681
12691
|
activeKey: "onSelect"
|
|
@@ -12687,12 +12697,12 @@ const h0 = (e) => {
|
|
|
12687
12697
|
transition: Wf(r),
|
|
12688
12698
|
mountOnEnter: o,
|
|
12689
12699
|
unmountOnExit: s,
|
|
12690
|
-
children: [/* @__PURE__ */ a.jsx(
|
|
12700
|
+
children: [/* @__PURE__ */ a.jsx(fN, {
|
|
12691
12701
|
...u,
|
|
12692
12702
|
role: "tablist",
|
|
12693
12703
|
as: "ul",
|
|
12694
12704
|
variant: i,
|
|
12695
|
-
children: jm(l,
|
|
12705
|
+
children: jm(l, mN)
|
|
12696
12706
|
}), /* @__PURE__ */ a.jsx(Kx, {
|
|
12697
12707
|
children: jm(l, (d) => {
|
|
12698
12708
|
const f = {
|
|
@@ -12706,7 +12716,7 @@ const h0 = (e) => {
|
|
|
12706
12716
|
});
|
|
12707
12717
|
};
|
|
12708
12718
|
h0.displayName = "Tabs";
|
|
12709
|
-
const
|
|
12719
|
+
const gN = h0, vN = /* @__PURE__ */ w.createContext(null), Ml = vN;
|
|
12710
12720
|
var Cm = Object.prototype.hasOwnProperty;
|
|
12711
12721
|
function Em(e, t, n) {
|
|
12712
12722
|
for (n of e.keys())
|
|
@@ -12768,18 +12778,18 @@ function ws(e, t) {
|
|
|
12768
12778
|
}
|
|
12769
12779
|
return e !== e && t !== t;
|
|
12770
12780
|
}
|
|
12771
|
-
function
|
|
12781
|
+
function yN(e) {
|
|
12772
12782
|
const t = Qf();
|
|
12773
12783
|
return [e[0], w.useCallback((n) => {
|
|
12774
12784
|
if (t())
|
|
12775
12785
|
return e[1](n);
|
|
12776
12786
|
}, [t, e[1]])];
|
|
12777
12787
|
}
|
|
12778
|
-
var mt = "top", Ut = "bottom", Vt = "right", gt = "left", Xf = "auto", si = [mt, Ut, Vt, gt], Ro = "start", qs = "end",
|
|
12788
|
+
var mt = "top", Ut = "bottom", Vt = "right", gt = "left", Xf = "auto", si = [mt, Ut, Vt, gt], Ro = "start", qs = "end", xN = "clippingParents", m0 = "viewport", es = "popper", bN = "reference", Rm = /* @__PURE__ */ si.reduce(function(e, t) {
|
|
12779
12789
|
return e.concat([t + "-" + Ro, t + "-" + qs]);
|
|
12780
12790
|
}, []), g0 = /* @__PURE__ */ [].concat(si, [Xf]).reduce(function(e, t) {
|
|
12781
12791
|
return e.concat([t, t + "-" + Ro, t + "-" + qs]);
|
|
12782
|
-
}, []),
|
|
12792
|
+
}, []), wN = "beforeRead", SN = "read", _N = "afterRead", jN = "beforeMain", CN = "main", EN = "afterMain", RN = "beforeWrite", NN = "write", kN = "afterWrite", TN = [wN, SN, _N, jN, CN, EN, RN, NN, kN];
|
|
12783
12793
|
function dn(e) {
|
|
12784
12794
|
return e.split("-")[0];
|
|
12785
12795
|
}
|
|
@@ -12806,7 +12816,7 @@ function Zf(e) {
|
|
|
12806
12816
|
var t = Rt(e).ShadowRoot;
|
|
12807
12817
|
return e instanceof t || e instanceof ShadowRoot;
|
|
12808
12818
|
}
|
|
12809
|
-
var Er = Math.max, tl = Math.min,
|
|
12819
|
+
var Er = Math.max, tl = Math.min, No = Math.round;
|
|
12810
12820
|
function dd() {
|
|
12811
12821
|
var e = navigator.userAgentData;
|
|
12812
12822
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
@@ -12816,10 +12826,10 @@ function dd() {
|
|
|
12816
12826
|
function v0() {
|
|
12817
12827
|
return !/^((?!chrome|android).)*safari/i.test(dd());
|
|
12818
12828
|
}
|
|
12819
|
-
function
|
|
12829
|
+
function ko(e, t, n) {
|
|
12820
12830
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
12821
12831
|
var r = e.getBoundingClientRect(), o = 1, s = 1;
|
|
12822
|
-
t && fn(e) && (o = e.offsetWidth > 0 &&
|
|
12832
|
+
t && fn(e) && (o = e.offsetWidth > 0 && No(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && No(r.height) / e.offsetHeight || 1);
|
|
12823
12833
|
var i = Dr(e) ? Rt(e) : window, l = i.visualViewport, c = !v0() && n, u = (r.left + (c && l ? l.offsetLeft : 0)) / o, d = (r.top + (c && l ? l.offsetTop : 0)) / s, f = r.width / o, p = r.height / s;
|
|
12824
12834
|
return {
|
|
12825
12835
|
width: f,
|
|
@@ -12833,7 +12843,7 @@ function No(e, t, n) {
|
|
|
12833
12843
|
};
|
|
12834
12844
|
}
|
|
12835
12845
|
function Jf(e) {
|
|
12836
|
-
var t =
|
|
12846
|
+
var t = ko(e), n = e.offsetWidth, r = e.offsetHeight;
|
|
12837
12847
|
return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
|
|
12838
12848
|
x: e.offsetLeft,
|
|
12839
12849
|
y: e.offsetTop,
|
|
@@ -12861,7 +12871,7 @@ function ur(e) {
|
|
|
12861
12871
|
function Dn(e) {
|
|
12862
12872
|
return Rt(e).getComputedStyle(e);
|
|
12863
12873
|
}
|
|
12864
|
-
function
|
|
12874
|
+
function ON(e) {
|
|
12865
12875
|
return ["table", "td", "th"].indexOf(ur(e)) >= 0;
|
|
12866
12876
|
}
|
|
12867
12877
|
function hr(e) {
|
|
@@ -12882,11 +12892,11 @@ function Dl(e) {
|
|
|
12882
12892
|
hr(e)
|
|
12883
12893
|
);
|
|
12884
12894
|
}
|
|
12885
|
-
function
|
|
12895
|
+
function Nm(e) {
|
|
12886
12896
|
return !fn(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
12887
12897
|
Dn(e).position === "fixed" ? null : e.offsetParent;
|
|
12888
12898
|
}
|
|
12889
|
-
function
|
|
12899
|
+
function PN(e) {
|
|
12890
12900
|
var t = /firefox/i.test(dd()), n = /Trident/i.test(dd());
|
|
12891
12901
|
if (n && fn(e)) {
|
|
12892
12902
|
var r = Dn(e);
|
|
@@ -12903,9 +12913,9 @@ function Pk(e) {
|
|
|
12903
12913
|
return null;
|
|
12904
12914
|
}
|
|
12905
12915
|
function ii(e) {
|
|
12906
|
-
for (var t = Rt(e), n =
|
|
12907
|
-
n =
|
|
12908
|
-
return n && (ur(n) === "html" || ur(n) === "body" && Dn(n).position === "static") ? t : n ||
|
|
12916
|
+
for (var t = Rt(e), n = Nm(e); n && ON(n) && Dn(n).position === "static"; )
|
|
12917
|
+
n = Nm(n);
|
|
12918
|
+
return n && (ur(n) === "html" || ur(n) === "body" && Dn(n).position === "static") ? t : n || PN(e) || t;
|
|
12909
12919
|
}
|
|
12910
12920
|
function ep(e) {
|
|
12911
12921
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -12913,7 +12923,7 @@ function ep(e) {
|
|
|
12913
12923
|
function Ss(e, t, n) {
|
|
12914
12924
|
return Er(e, tl(t, n));
|
|
12915
12925
|
}
|
|
12916
|
-
function $
|
|
12926
|
+
function $N(e, t, n) {
|
|
12917
12927
|
var r = Ss(e, t, n);
|
|
12918
12928
|
return r > n ? n : r;
|
|
12919
12929
|
}
|
|
@@ -12933,48 +12943,48 @@ function w0(e, t) {
|
|
|
12933
12943
|
return n[r] = e, n;
|
|
12934
12944
|
}, {});
|
|
12935
12945
|
}
|
|
12936
|
-
var
|
|
12946
|
+
var IN = function(t, n) {
|
|
12937
12947
|
return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
|
|
12938
12948
|
placement: n.placement
|
|
12939
12949
|
})) : t, b0(typeof t != "number" ? t : w0(t, si));
|
|
12940
12950
|
};
|
|
12941
|
-
function
|
|
12951
|
+
function AN(e) {
|
|
12942
12952
|
var t, n = e.state, r = e.name, o = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, l = dn(n.placement), c = ep(l), u = [gt, Vt].indexOf(l) >= 0, d = u ? "height" : "width";
|
|
12943
12953
|
if (!(!s || !i)) {
|
|
12944
|
-
var f =
|
|
12954
|
+
var f = IN(o.padding, n), p = Jf(s), y = c === "y" ? mt : gt, m = c === "y" ? Ut : Vt, h = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], x = i[c] - n.rects.reference[c], v = ii(s), g = v ? c === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, b = h / 2 - x / 2, S = f[y], _ = g - p[d] - f[m], j = g / 2 - p[d] / 2 + b, C = Ss(S, j, _), E = c;
|
|
12945
12955
|
n.modifiersData[r] = (t = {}, t[E] = C, t.centerOffset = C - j, t);
|
|
12946
12956
|
}
|
|
12947
12957
|
}
|
|
12948
|
-
function
|
|
12958
|
+
function MN(e) {
|
|
12949
12959
|
var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
|
|
12950
12960
|
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || y0(t.elements.popper, o) && (t.elements.arrow = o));
|
|
12951
12961
|
}
|
|
12952
|
-
const
|
|
12962
|
+
const DN = {
|
|
12953
12963
|
name: "arrow",
|
|
12954
12964
|
enabled: !0,
|
|
12955
12965
|
phase: "main",
|
|
12956
|
-
fn:
|
|
12957
|
-
effect:
|
|
12966
|
+
fn: AN,
|
|
12967
|
+
effect: MN,
|
|
12958
12968
|
requires: ["popperOffsets"],
|
|
12959
12969
|
requiresIfExists: ["preventOverflow"]
|
|
12960
12970
|
};
|
|
12961
12971
|
function To(e) {
|
|
12962
12972
|
return e.split("-")[1];
|
|
12963
12973
|
}
|
|
12964
|
-
var
|
|
12974
|
+
var FN = {
|
|
12965
12975
|
top: "auto",
|
|
12966
12976
|
right: "auto",
|
|
12967
12977
|
bottom: "auto",
|
|
12968
12978
|
left: "auto"
|
|
12969
12979
|
};
|
|
12970
|
-
function
|
|
12980
|
+
function LN(e, t) {
|
|
12971
12981
|
var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
|
|
12972
12982
|
return {
|
|
12973
|
-
x:
|
|
12974
|
-
y:
|
|
12983
|
+
x: No(n * o) / o || 0,
|
|
12984
|
+
y: No(r * o) / o || 0
|
|
12975
12985
|
};
|
|
12976
12986
|
}
|
|
12977
|
-
function
|
|
12987
|
+
function km(e) {
|
|
12978
12988
|
var t, n = e.popper, r = e.popperRect, o = e.placement, s = e.variation, i = e.offsets, l = e.position, c = e.gpuAcceleration, u = e.adaptive, d = e.roundOffsets, f = e.isFixed, p = i.x, y = p === void 0 ? 0 : p, m = i.y, h = m === void 0 ? 0 : m, x = typeof d == "function" ? d({
|
|
12979
12989
|
x: y,
|
|
12980
12990
|
y: h
|
|
@@ -12988,11 +12998,11 @@ function Nm(e) {
|
|
|
12988
12998
|
var j = ii(n), C = "clientHeight", E = "clientWidth";
|
|
12989
12999
|
if (j === Rt(n) && (j = hr(n), Dn(j).position !== "static" && l === "absolute" && (C = "scrollHeight", E = "scrollWidth")), j = j, o === mt || (o === gt || o === Vt) && s === qs) {
|
|
12990
13000
|
S = Ut;
|
|
12991
|
-
var
|
|
13001
|
+
var N = f && j === _ && _.visualViewport ? _.visualViewport.height : (
|
|
12992
13002
|
// $FlowFixMe[prop-missing]
|
|
12993
13003
|
j[C]
|
|
12994
13004
|
);
|
|
12995
|
-
h -=
|
|
13005
|
+
h -= N - r.height, h *= c ? 1 : -1;
|
|
12996
13006
|
}
|
|
12997
13007
|
if (o === gt || (o === mt || o === Ut) && s === qs) {
|
|
12998
13008
|
b = Vt;
|
|
@@ -13005,20 +13015,20 @@ function Nm(e) {
|
|
|
13005
13015
|
}
|
|
13006
13016
|
var T = Object.assign({
|
|
13007
13017
|
position: l
|
|
13008
|
-
}, u &&
|
|
13018
|
+
}, u && FN), k = d === !0 ? LN({
|
|
13009
13019
|
x: y,
|
|
13010
13020
|
y: h
|
|
13011
13021
|
}, Rt(n)) : {
|
|
13012
13022
|
x: y,
|
|
13013
13023
|
y: h
|
|
13014
13024
|
};
|
|
13015
|
-
if (y =
|
|
13025
|
+
if (y = k.x, h = k.y, c) {
|
|
13016
13026
|
var P;
|
|
13017
13027
|
return Object.assign({}, T, (P = {}, P[S] = g ? "0" : "", P[b] = v ? "0" : "", P.transform = (_.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + h + "px)" : "translate3d(" + y + "px, " + h + "px, 0)", P));
|
|
13018
13028
|
}
|
|
13019
13029
|
return Object.assign({}, T, (t = {}, t[S] = g ? h + "px" : "", t[b] = v ? y + "px" : "", t.transform = "", t));
|
|
13020
13030
|
}
|
|
13021
|
-
function
|
|
13031
|
+
function UN(e) {
|
|
13022
13032
|
var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, s = n.adaptive, i = s === void 0 ? !0 : s, l = n.roundOffsets, c = l === void 0 ? !0 : l, u = {
|
|
13023
13033
|
placement: dn(t.placement),
|
|
13024
13034
|
variation: To(t.placement),
|
|
@@ -13027,12 +13037,12 @@ function Uk(e) {
|
|
|
13027
13037
|
gpuAcceleration: o,
|
|
13028
13038
|
isFixed: t.options.strategy === "fixed"
|
|
13029
13039
|
};
|
|
13030
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper,
|
|
13040
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, km(Object.assign({}, u, {
|
|
13031
13041
|
offsets: t.modifiersData.popperOffsets,
|
|
13032
13042
|
position: t.options.strategy,
|
|
13033
13043
|
adaptive: i,
|
|
13034
13044
|
roundOffsets: c
|
|
13035
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow,
|
|
13045
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, km(Object.assign({}, u, {
|
|
13036
13046
|
offsets: t.modifiersData.arrow,
|
|
13037
13047
|
position: "absolute",
|
|
13038
13048
|
adaptive: !1,
|
|
@@ -13041,17 +13051,17 @@ function Uk(e) {
|
|
|
13041
13051
|
"data-popper-placement": t.placement
|
|
13042
13052
|
});
|
|
13043
13053
|
}
|
|
13044
|
-
const
|
|
13054
|
+
const VN = {
|
|
13045
13055
|
name: "computeStyles",
|
|
13046
13056
|
enabled: !0,
|
|
13047
13057
|
phase: "beforeWrite",
|
|
13048
|
-
fn:
|
|
13058
|
+
fn: UN,
|
|
13049
13059
|
data: {}
|
|
13050
13060
|
};
|
|
13051
13061
|
var Ii = {
|
|
13052
13062
|
passive: !0
|
|
13053
13063
|
};
|
|
13054
|
-
function
|
|
13064
|
+
function BN(e) {
|
|
13055
13065
|
var t = e.state, n = e.instance, r = e.options, o = r.scroll, s = o === void 0 ? !0 : o, i = r.resize, l = i === void 0 ? !0 : i, c = Rt(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
13056
13066
|
return s && u.forEach(function(d) {
|
|
13057
13067
|
d.addEventListener("scroll", n.update, Ii);
|
|
@@ -13061,16 +13071,16 @@ function Bk(e) {
|
|
|
13061
13071
|
}), l && c.removeEventListener("resize", n.update, Ii);
|
|
13062
13072
|
};
|
|
13063
13073
|
}
|
|
13064
|
-
const
|
|
13074
|
+
const zN = {
|
|
13065
13075
|
name: "eventListeners",
|
|
13066
13076
|
enabled: !0,
|
|
13067
13077
|
phase: "write",
|
|
13068
13078
|
fn: function() {
|
|
13069
13079
|
},
|
|
13070
|
-
effect:
|
|
13080
|
+
effect: BN,
|
|
13071
13081
|
data: {}
|
|
13072
13082
|
};
|
|
13073
|
-
var
|
|
13083
|
+
var qN = {
|
|
13074
13084
|
left: "right",
|
|
13075
13085
|
right: "left",
|
|
13076
13086
|
bottom: "top",
|
|
@@ -13078,16 +13088,16 @@ var qk = {
|
|
|
13078
13088
|
};
|
|
13079
13089
|
function aa(e) {
|
|
13080
13090
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
13081
|
-
return
|
|
13091
|
+
return qN[t];
|
|
13082
13092
|
});
|
|
13083
13093
|
}
|
|
13084
|
-
var
|
|
13094
|
+
var HN = {
|
|
13085
13095
|
start: "end",
|
|
13086
13096
|
end: "start"
|
|
13087
13097
|
};
|
|
13088
13098
|
function Tm(e) {
|
|
13089
13099
|
return e.replace(/start|end/g, function(t) {
|
|
13090
|
-
return
|
|
13100
|
+
return HN[t];
|
|
13091
13101
|
});
|
|
13092
13102
|
}
|
|
13093
13103
|
function tp(e) {
|
|
@@ -13098,9 +13108,9 @@ function tp(e) {
|
|
|
13098
13108
|
};
|
|
13099
13109
|
}
|
|
13100
13110
|
function np(e) {
|
|
13101
|
-
return
|
|
13111
|
+
return ko(hr(e)).left + tp(e).scrollLeft;
|
|
13102
13112
|
}
|
|
13103
|
-
function
|
|
13113
|
+
function WN(e, t) {
|
|
13104
13114
|
var n = Rt(e), r = hr(e), o = n.visualViewport, s = r.clientWidth, i = r.clientHeight, l = 0, c = 0;
|
|
13105
13115
|
if (o) {
|
|
13106
13116
|
s = o.width, i = o.height;
|
|
@@ -13114,7 +13124,7 @@ function Wk(e, t) {
|
|
|
13114
13124
|
y: c
|
|
13115
13125
|
};
|
|
13116
13126
|
}
|
|
13117
|
-
function
|
|
13127
|
+
function KN(e) {
|
|
13118
13128
|
var t, n = hr(e), r = tp(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = Er(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), i = Er(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -r.scrollLeft + np(e), c = -r.scrollTop;
|
|
13119
13129
|
return Dn(o || n).direction === "rtl" && (l += Er(n.clientWidth, o ? o.clientWidth : 0) - s), {
|
|
13120
13130
|
width: s,
|
|
@@ -13147,21 +13157,21 @@ function fd(e) {
|
|
|
13147
13157
|
bottom: e.y + e.height
|
|
13148
13158
|
});
|
|
13149
13159
|
}
|
|
13150
|
-
function
|
|
13151
|
-
var n =
|
|
13160
|
+
function GN(e, t) {
|
|
13161
|
+
var n = ko(e, !1, t === "fixed");
|
|
13152
13162
|
return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
13153
13163
|
}
|
|
13154
13164
|
function Om(e, t, n) {
|
|
13155
|
-
return t === m0 ? fd(
|
|
13165
|
+
return t === m0 ? fd(WN(e, n)) : Dr(t) ? GN(t, n) : fd(KN(hr(e)));
|
|
13156
13166
|
}
|
|
13157
|
-
function
|
|
13167
|
+
function YN(e) {
|
|
13158
13168
|
var t = _s(Dl(e)), n = ["absolute", "fixed"].indexOf(Dn(e).position) >= 0, r = n && fn(e) ? ii(e) : e;
|
|
13159
13169
|
return Dr(r) ? t.filter(function(o) {
|
|
13160
13170
|
return Dr(o) && y0(o, r) && ur(o) !== "body";
|
|
13161
13171
|
}) : [];
|
|
13162
13172
|
}
|
|
13163
|
-
function
|
|
13164
|
-
var o = t === "clippingParents" ?
|
|
13173
|
+
function QN(e, t, n, r) {
|
|
13174
|
+
var o = t === "clippingParents" ? YN(e) : [].concat(t), s = [].concat(o, [n]), i = s[0], l = s.reduce(function(c, u) {
|
|
13165
13175
|
var d = Om(e, u, r);
|
|
13166
13176
|
return c.top = Er(d.top, c.top), c.right = tl(d.right, c.right), c.bottom = tl(d.bottom, c.bottom), c.left = Er(d.left, c.left), c;
|
|
13167
13177
|
}, Om(e, i, r));
|
|
@@ -13216,27 +13226,27 @@ function _0(e) {
|
|
|
13216
13226
|
}
|
|
13217
13227
|
function Hs(e, t) {
|
|
13218
13228
|
t === void 0 && (t = {});
|
|
13219
|
-
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.strategy, i = s === void 0 ? e.strategy : s, l = n.boundary, c = l === void 0 ?
|
|
13229
|
+
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.strategy, i = s === void 0 ? e.strategy : s, l = n.boundary, c = l === void 0 ? xN : l, u = n.rootBoundary, d = u === void 0 ? m0 : u, f = n.elementContext, p = f === void 0 ? es : f, y = n.altBoundary, m = y === void 0 ? !1 : y, h = n.padding, x = h === void 0 ? 0 : h, v = b0(typeof x != "number" ? x : w0(x, si)), g = p === es ? bN : es, b = e.rects.popper, S = e.elements[m ? g : p], _ = QN(Dr(S) ? S : S.contextElement || hr(e.elements.popper), c, d, i), j = ko(e.elements.reference), C = _0({
|
|
13220
13230
|
reference: j,
|
|
13221
13231
|
element: b,
|
|
13222
13232
|
strategy: "absolute",
|
|
13223
13233
|
placement: o
|
|
13224
|
-
}), E = fd(Object.assign({}, b, C)),
|
|
13225
|
-
top: _.top -
|
|
13226
|
-
bottom:
|
|
13227
|
-
left: _.left -
|
|
13228
|
-
right:
|
|
13234
|
+
}), E = fd(Object.assign({}, b, C)), N = p === es ? E : j, R = {
|
|
13235
|
+
top: _.top - N.top + v.top,
|
|
13236
|
+
bottom: N.bottom - _.bottom + v.bottom,
|
|
13237
|
+
left: _.left - N.left + v.left,
|
|
13238
|
+
right: N.right - _.right + v.right
|
|
13229
13239
|
}, T = e.modifiersData.offset;
|
|
13230
13240
|
if (p === es && T) {
|
|
13231
|
-
var
|
|
13241
|
+
var k = T[o];
|
|
13232
13242
|
Object.keys(R).forEach(function(P) {
|
|
13233
13243
|
var D = [Vt, Ut].indexOf(P) >= 0 ? 1 : -1, F = [mt, Ut].indexOf(P) >= 0 ? "y" : "x";
|
|
13234
|
-
R[P] +=
|
|
13244
|
+
R[P] += k[F] * D;
|
|
13235
13245
|
});
|
|
13236
13246
|
}
|
|
13237
13247
|
return R;
|
|
13238
13248
|
}
|
|
13239
|
-
function
|
|
13249
|
+
function XN(e, t) {
|
|
13240
13250
|
t === void 0 && (t = {});
|
|
13241
13251
|
var n = t, r = n.placement, o = n.boundary, s = n.rootBoundary, i = n.padding, l = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? g0 : c, d = To(r), f = d ? l ? Rm : Rm.filter(function(m) {
|
|
13242
13252
|
return To(m) === d;
|
|
@@ -13256,17 +13266,17 @@ function Xk(e, t) {
|
|
|
13256
13266
|
return y[m] - y[h];
|
|
13257
13267
|
});
|
|
13258
13268
|
}
|
|
13259
|
-
function
|
|
13269
|
+
function ZN(e) {
|
|
13260
13270
|
if (dn(e) === Xf)
|
|
13261
13271
|
return [];
|
|
13262
13272
|
var t = aa(e);
|
|
13263
13273
|
return [Tm(e), t, Tm(t)];
|
|
13264
13274
|
}
|
|
13265
|
-
function
|
|
13275
|
+
function JN(e) {
|
|
13266
13276
|
var t = e.state, n = e.options, r = e.name;
|
|
13267
13277
|
if (!t.modifiersData[r]._skip) {
|
|
13268
|
-
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, i = n.altAxis, l = i === void 0 ? !0 : i, c = n.fallbackPlacements, u = n.padding, d = n.boundary, f = n.rootBoundary, p = n.altBoundary, y = n.flipVariations, m = y === void 0 ? !0 : y, h = n.allowedAutoPlacements, x = t.options.placement, v = dn(x), g = v === x, b = c || (g || !m ? [aa(x)] :
|
|
13269
|
-
return Z.concat(dn(J) === Xf ?
|
|
13278
|
+
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, i = n.altAxis, l = i === void 0 ? !0 : i, c = n.fallbackPlacements, u = n.padding, d = n.boundary, f = n.rootBoundary, p = n.altBoundary, y = n.flipVariations, m = y === void 0 ? !0 : y, h = n.allowedAutoPlacements, x = t.options.placement, v = dn(x), g = v === x, b = c || (g || !m ? [aa(x)] : ZN(x)), S = [x].concat(b).reduce(function(Z, J) {
|
|
13279
|
+
return Z.concat(dn(J) === Xf ? XN(t, {
|
|
13270
13280
|
placement: J,
|
|
13271
13281
|
boundary: d,
|
|
13272
13282
|
rootBoundary: f,
|
|
@@ -13274,8 +13284,8 @@ function Jk(e) {
|
|
|
13274
13284
|
flipVariations: m,
|
|
13275
13285
|
allowedAutoPlacements: h
|
|
13276
13286
|
}) : J);
|
|
13277
|
-
}, []), _ = t.rects.reference, j = t.rects.popper, C = /* @__PURE__ */ new Map(), E = !0,
|
|
13278
|
-
var T = S[R],
|
|
13287
|
+
}, []), _ = t.rects.reference, j = t.rects.popper, C = /* @__PURE__ */ new Map(), E = !0, N = S[0], R = 0; R < S.length; R++) {
|
|
13288
|
+
var T = S[R], k = dn(T), P = To(T) === Ro, D = [mt, Ut].indexOf(k) >= 0, F = D ? "width" : "height", V = Hs(t, {
|
|
13279
13289
|
placement: T,
|
|
13280
13290
|
boundary: d,
|
|
13281
13291
|
rootBoundary: f,
|
|
@@ -13284,10 +13294,10 @@ function Jk(e) {
|
|
|
13284
13294
|
}), Q = D ? P ? Vt : gt : P ? Ut : mt;
|
|
13285
13295
|
_[F] > j[F] && (Q = aa(Q));
|
|
13286
13296
|
var O = aa(Q), L = [];
|
|
13287
|
-
if (s && L.push(V[
|
|
13297
|
+
if (s && L.push(V[k] <= 0), l && L.push(V[Q] <= 0, V[O] <= 0), L.every(function(Z) {
|
|
13288
13298
|
return Z;
|
|
13289
13299
|
})) {
|
|
13290
|
-
|
|
13300
|
+
N = T, E = !1;
|
|
13291
13301
|
break;
|
|
13292
13302
|
}
|
|
13293
13303
|
C.set(T, L);
|
|
@@ -13302,20 +13312,20 @@ function Jk(e) {
|
|
|
13302
13312
|
});
|
|
13303
13313
|
});
|
|
13304
13314
|
if (X)
|
|
13305
|
-
return
|
|
13315
|
+
return N = X, "break";
|
|
13306
13316
|
}, U = A; U > 0; U--) {
|
|
13307
13317
|
var Y = W(U);
|
|
13308
13318
|
if (Y === "break")
|
|
13309
13319
|
break;
|
|
13310
13320
|
}
|
|
13311
|
-
t.placement !==
|
|
13321
|
+
t.placement !== N && (t.modifiersData[r]._skip = !0, t.placement = N, t.reset = !0);
|
|
13312
13322
|
}
|
|
13313
13323
|
}
|
|
13314
|
-
const
|
|
13324
|
+
const ek = {
|
|
13315
13325
|
name: "flip",
|
|
13316
13326
|
enabled: !0,
|
|
13317
13327
|
phase: "main",
|
|
13318
|
-
fn:
|
|
13328
|
+
fn: JN,
|
|
13319
13329
|
requiresIfExists: ["offset"],
|
|
13320
13330
|
data: {
|
|
13321
13331
|
_skip: !1
|
|
@@ -13337,7 +13347,7 @@ function $m(e) {
|
|
|
13337
13347
|
return e[t] >= 0;
|
|
13338
13348
|
});
|
|
13339
13349
|
}
|
|
13340
|
-
function
|
|
13350
|
+
function tk(e) {
|
|
13341
13351
|
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, s = t.modifiersData.preventOverflow, i = Hs(t, {
|
|
13342
13352
|
elementContext: "reference"
|
|
13343
13353
|
}), l = Hs(t, {
|
|
@@ -13353,14 +13363,14 @@ function tN(e) {
|
|
|
13353
13363
|
"data-popper-escaped": f
|
|
13354
13364
|
});
|
|
13355
13365
|
}
|
|
13356
|
-
const
|
|
13366
|
+
const nk = {
|
|
13357
13367
|
name: "hide",
|
|
13358
13368
|
enabled: !0,
|
|
13359
13369
|
phase: "main",
|
|
13360
13370
|
requiresIfExists: ["preventOverflow"],
|
|
13361
|
-
fn:
|
|
13371
|
+
fn: tk
|
|
13362
13372
|
};
|
|
13363
|
-
function
|
|
13373
|
+
function rk(e, t, n) {
|
|
13364
13374
|
var r = dn(e), o = [gt, mt].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
|
|
13365
13375
|
placement: e
|
|
13366
13376
|
})) : n, i = s[0], l = s[1];
|
|
@@ -13372,20 +13382,20 @@ function rN(e, t, n) {
|
|
|
13372
13382
|
y: l
|
|
13373
13383
|
};
|
|
13374
13384
|
}
|
|
13375
|
-
function
|
|
13385
|
+
function ok(e) {
|
|
13376
13386
|
var t = e.state, n = e.options, r = e.name, o = n.offset, s = o === void 0 ? [0, 0] : o, i = g0.reduce(function(d, f) {
|
|
13377
|
-
return d[f] =
|
|
13387
|
+
return d[f] = rk(f, t.rects, s), d;
|
|
13378
13388
|
}, {}), l = i[t.placement], c = l.x, u = l.y;
|
|
13379
13389
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += u), t.modifiersData[r] = i;
|
|
13380
13390
|
}
|
|
13381
|
-
const
|
|
13391
|
+
const sk = {
|
|
13382
13392
|
name: "offset",
|
|
13383
13393
|
enabled: !0,
|
|
13384
13394
|
phase: "main",
|
|
13385
13395
|
requires: ["popperOffsets"],
|
|
13386
|
-
fn:
|
|
13396
|
+
fn: ok
|
|
13387
13397
|
};
|
|
13388
|
-
function
|
|
13398
|
+
function ik(e) {
|
|
13389
13399
|
var t = e.state, n = e.name;
|
|
13390
13400
|
t.modifiersData[n] = _0({
|
|
13391
13401
|
reference: t.rects.reference,
|
|
@@ -13394,31 +13404,31 @@ function iN(e) {
|
|
|
13394
13404
|
placement: t.placement
|
|
13395
13405
|
});
|
|
13396
13406
|
}
|
|
13397
|
-
const
|
|
13407
|
+
const ak = {
|
|
13398
13408
|
name: "popperOffsets",
|
|
13399
13409
|
enabled: !0,
|
|
13400
13410
|
phase: "read",
|
|
13401
|
-
fn:
|
|
13411
|
+
fn: ik,
|
|
13402
13412
|
data: {}
|
|
13403
13413
|
};
|
|
13404
|
-
function
|
|
13414
|
+
function lk(e) {
|
|
13405
13415
|
return e === "x" ? "y" : "x";
|
|
13406
13416
|
}
|
|
13407
|
-
function
|
|
13417
|
+
function ck(e) {
|
|
13408
13418
|
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, s = o === void 0 ? !0 : o, i = n.altAxis, l = i === void 0 ? !1 : i, c = n.boundary, u = n.rootBoundary, d = n.altBoundary, f = n.padding, p = n.tether, y = p === void 0 ? !0 : p, m = n.tetherOffset, h = m === void 0 ? 0 : m, x = Hs(t, {
|
|
13409
13419
|
boundary: c,
|
|
13410
13420
|
rootBoundary: u,
|
|
13411
13421
|
padding: f,
|
|
13412
13422
|
altBoundary: d
|
|
13413
|
-
}), v = dn(t.placement), g = To(t.placement), b = !g, S = ep(v), _ =
|
|
13423
|
+
}), v = dn(t.placement), g = To(t.placement), b = !g, S = ep(v), _ = lk(S), j = t.modifiersData.popperOffsets, C = t.rects.reference, E = t.rects.popper, N = typeof h == "function" ? h(Object.assign({}, t.rects, {
|
|
13414
13424
|
placement: t.placement
|
|
13415
|
-
})) : h, R = typeof
|
|
13416
|
-
mainAxis:
|
|
13417
|
-
altAxis:
|
|
13425
|
+
})) : h, R = typeof N == "number" ? {
|
|
13426
|
+
mainAxis: N,
|
|
13427
|
+
altAxis: N
|
|
13418
13428
|
} : Object.assign({
|
|
13419
13429
|
mainAxis: 0,
|
|
13420
13430
|
altAxis: 0
|
|
13421
|
-
},
|
|
13431
|
+
}, N), T = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, k = {
|
|
13422
13432
|
x: 0,
|
|
13423
13433
|
y: 0
|
|
13424
13434
|
};
|
|
@@ -13428,38 +13438,38 @@ function cN(e) {
|
|
|
13428
13438
|
width: 0,
|
|
13429
13439
|
height: 0
|
|
13430
13440
|
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : x0(), X = J[D], se = J[F], pe = Ss(0, C[V], Z[V]), M = b ? C[V] / 2 - A - pe - X - R.mainAxis : W - pe - X - R.mainAxis, z = b ? -C[V] / 2 + A + pe + se + R.mainAxis : U + pe + se + R.mainAxis, ve = t.elements.arrow && ii(t.elements.arrow), ee = ve ? S === "y" ? ve.clientTop || 0 : ve.clientLeft || 0 : 0, Oe = (P = T == null ? void 0 : T[S]) != null ? P : 0, De = Q + M - Oe - ee, ie = Q + z - Oe, Ot = Ss(y ? tl(O, De) : O, Q, y ? Er(L, ie) : L);
|
|
13431
|
-
j[S] = Ot,
|
|
13441
|
+
j[S] = Ot, k[S] = Ot - Q;
|
|
13432
13442
|
}
|
|
13433
13443
|
if (l) {
|
|
13434
|
-
var lt, gn = S === "x" ? mt : gt, en = S === "x" ? Ut : Vt, je = j[_], Vn = _ === "y" ? "height" : "width", Bn = je + x[gn], ci = je - x[en], Br = [mt, gt].indexOf(v) !== -1, ui = (lt = T == null ? void 0 : T[_]) != null ? lt : 0, ae = Br ? Bn : je - C[Vn] - E[Vn] - ui + R.altAxis, vn = Br ? je + C[Vn] + E[Vn] - ui - R.altAxis : ci, zo = y && Br ? $
|
|
13435
|
-
j[_] = zo,
|
|
13444
|
+
var lt, gn = S === "x" ? mt : gt, en = S === "x" ? Ut : Vt, je = j[_], Vn = _ === "y" ? "height" : "width", Bn = je + x[gn], ci = je - x[en], Br = [mt, gt].indexOf(v) !== -1, ui = (lt = T == null ? void 0 : T[_]) != null ? lt : 0, ae = Br ? Bn : je - C[Vn] - E[Vn] - ui + R.altAxis, vn = Br ? je + C[Vn] + E[Vn] - ui - R.altAxis : ci, zo = y && Br ? $N(ae, je, vn) : Ss(y ? ae : Bn, je, y ? vn : ci);
|
|
13445
|
+
j[_] = zo, k[_] = zo - je;
|
|
13436
13446
|
}
|
|
13437
|
-
t.modifiersData[r] =
|
|
13447
|
+
t.modifiersData[r] = k;
|
|
13438
13448
|
}
|
|
13439
13449
|
}
|
|
13440
|
-
const
|
|
13450
|
+
const uk = {
|
|
13441
13451
|
name: "preventOverflow",
|
|
13442
13452
|
enabled: !0,
|
|
13443
13453
|
phase: "main",
|
|
13444
|
-
fn:
|
|
13454
|
+
fn: ck,
|
|
13445
13455
|
requiresIfExists: ["offset"]
|
|
13446
13456
|
};
|
|
13447
|
-
function
|
|
13457
|
+
function dk(e) {
|
|
13448
13458
|
return {
|
|
13449
13459
|
scrollLeft: e.scrollLeft,
|
|
13450
13460
|
scrollTop: e.scrollTop
|
|
13451
13461
|
};
|
|
13452
13462
|
}
|
|
13453
|
-
function
|
|
13454
|
-
return e === Rt(e) || !fn(e) ? tp(e) :
|
|
13463
|
+
function fk(e) {
|
|
13464
|
+
return e === Rt(e) || !fn(e) ? tp(e) : dk(e);
|
|
13455
13465
|
}
|
|
13456
|
-
function
|
|
13457
|
-
var t = e.getBoundingClientRect(), n =
|
|
13466
|
+
function pk(e) {
|
|
13467
|
+
var t = e.getBoundingClientRect(), n = No(t.width) / e.offsetWidth || 1, r = No(t.height) / e.offsetHeight || 1;
|
|
13458
13468
|
return n !== 1 || r !== 1;
|
|
13459
13469
|
}
|
|
13460
|
-
function
|
|
13470
|
+
function hk(e, t, n) {
|
|
13461
13471
|
n === void 0 && (n = !1);
|
|
13462
|
-
var r = fn(t), o = fn(t) &&
|
|
13472
|
+
var r = fn(t), o = fn(t) && pk(t), s = hr(t), i = ko(e, o, n), l = {
|
|
13463
13473
|
scrollLeft: 0,
|
|
13464
13474
|
scrollTop: 0
|
|
13465
13475
|
}, c = {
|
|
@@ -13467,14 +13477,14 @@ function hN(e, t, n) {
|
|
|
13467
13477
|
y: 0
|
|
13468
13478
|
};
|
|
13469
13479
|
return (r || !r && !n) && ((ur(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
13470
|
-
rp(s)) && (l =
|
|
13480
|
+
rp(s)) && (l = fk(t)), fn(t) ? (c = ko(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = np(s))), {
|
|
13471
13481
|
x: i.left + l.scrollLeft - c.x,
|
|
13472
13482
|
y: i.top + l.scrollTop - c.y,
|
|
13473
13483
|
width: i.width,
|
|
13474
13484
|
height: i.height
|
|
13475
13485
|
};
|
|
13476
13486
|
}
|
|
13477
|
-
function
|
|
13487
|
+
function mk(e) {
|
|
13478
13488
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
13479
13489
|
e.forEach(function(s) {
|
|
13480
13490
|
t.set(s.name, s);
|
|
@@ -13493,15 +13503,15 @@ function mN(e) {
|
|
|
13493
13503
|
n.has(s.name) || o(s);
|
|
13494
13504
|
}), r;
|
|
13495
13505
|
}
|
|
13496
|
-
function
|
|
13497
|
-
var t =
|
|
13498
|
-
return
|
|
13506
|
+
function gk(e) {
|
|
13507
|
+
var t = mk(e);
|
|
13508
|
+
return TN.reduce(function(n, r) {
|
|
13499
13509
|
return n.concat(t.filter(function(o) {
|
|
13500
13510
|
return o.phase === r;
|
|
13501
13511
|
}));
|
|
13502
13512
|
}, []);
|
|
13503
13513
|
}
|
|
13504
|
-
function
|
|
13514
|
+
function vk(e) {
|
|
13505
13515
|
var t;
|
|
13506
13516
|
return function() {
|
|
13507
13517
|
return t || (t = new Promise(function(n) {
|
|
@@ -13511,7 +13521,7 @@ function vN(e) {
|
|
|
13511
13521
|
})), t;
|
|
13512
13522
|
};
|
|
13513
13523
|
}
|
|
13514
|
-
function
|
|
13524
|
+
function yk(e) {
|
|
13515
13525
|
var t = e.reduce(function(n, r) {
|
|
13516
13526
|
var o = n[r.name];
|
|
13517
13527
|
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
@@ -13535,7 +13545,7 @@ function Am() {
|
|
|
13535
13545
|
return !(r && typeof r.getBoundingClientRect == "function");
|
|
13536
13546
|
});
|
|
13537
13547
|
}
|
|
13538
|
-
function
|
|
13548
|
+
function xk(e) {
|
|
13539
13549
|
e === void 0 && (e = {});
|
|
13540
13550
|
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, s = o === void 0 ? Im : o;
|
|
13541
13551
|
return function(l, c, u) {
|
|
@@ -13559,7 +13569,7 @@ function xN(e) {
|
|
|
13559
13569
|
reference: Dr(l) ? _s(l) : l.contextElement ? _s(l.contextElement) : [],
|
|
13560
13570
|
popper: _s(c)
|
|
13561
13571
|
};
|
|
13562
|
-
var b =
|
|
13572
|
+
var b = gk(yk([].concat(r, d.options.modifiers)));
|
|
13563
13573
|
return d.orderedModifiers = b.filter(function(S) {
|
|
13564
13574
|
return S.enabled;
|
|
13565
13575
|
}), m(), y.update();
|
|
@@ -13574,7 +13584,7 @@ function xN(e) {
|
|
|
13574
13584
|
var v = d.elements, g = v.reference, b = v.popper;
|
|
13575
13585
|
if (Am(g, b)) {
|
|
13576
13586
|
d.rects = {
|
|
13577
|
-
reference:
|
|
13587
|
+
reference: hk(g, ii(b), d.options.strategy === "fixed"),
|
|
13578
13588
|
popper: Jf(b)
|
|
13579
13589
|
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(R) {
|
|
13580
13590
|
return d.modifiersData[R.name] = Object.assign({}, R.data);
|
|
@@ -13584,11 +13594,11 @@ function xN(e) {
|
|
|
13584
13594
|
d.reset = !1, S = -1;
|
|
13585
13595
|
continue;
|
|
13586
13596
|
}
|
|
13587
|
-
var _ = d.orderedModifiers[S], j = _.fn, C = _.options, E = C === void 0 ? {} : C,
|
|
13597
|
+
var _ = d.orderedModifiers[S], j = _.fn, C = _.options, E = C === void 0 ? {} : C, N = _.name;
|
|
13588
13598
|
typeof j == "function" && (d = j({
|
|
13589
13599
|
state: d,
|
|
13590
13600
|
options: E,
|
|
13591
|
-
name:
|
|
13601
|
+
name: N,
|
|
13592
13602
|
instance: y
|
|
13593
13603
|
}) || d);
|
|
13594
13604
|
}
|
|
@@ -13597,7 +13607,7 @@ function xN(e) {
|
|
|
13597
13607
|
},
|
|
13598
13608
|
// Async and optimistically optimized update – it will not be executed if
|
|
13599
13609
|
// not necessary (debounced to run at most once-per-tick)
|
|
13600
|
-
update:
|
|
13610
|
+
update: vk(function() {
|
|
13601
13611
|
return new Promise(function(x) {
|
|
13602
13612
|
y.forceUpdate(), x(d);
|
|
13603
13613
|
});
|
|
@@ -13634,10 +13644,10 @@ function xN(e) {
|
|
|
13634
13644
|
return y;
|
|
13635
13645
|
};
|
|
13636
13646
|
}
|
|
13637
|
-
const
|
|
13638
|
-
defaultModifiers: [
|
|
13639
|
-
}),
|
|
13640
|
-
function
|
|
13647
|
+
const bk = xk({
|
|
13648
|
+
defaultModifiers: [nk, ak, VN, zN, sk, ek, uk, DN]
|
|
13649
|
+
}), wk = ["enabled", "placement", "strategy", "modifiers"];
|
|
13650
|
+
function Sk(e, t) {
|
|
13641
13651
|
if (e == null)
|
|
13642
13652
|
return {};
|
|
13643
13653
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -13645,13 +13655,13 @@ function SN(e, t) {
|
|
|
13645
13655
|
o = r[s], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
13646
13656
|
return n;
|
|
13647
13657
|
}
|
|
13648
|
-
const
|
|
13658
|
+
const _k = {
|
|
13649
13659
|
name: "applyStyles",
|
|
13650
13660
|
enabled: !1,
|
|
13651
13661
|
phase: "afterWrite",
|
|
13652
13662
|
fn: () => {
|
|
13653
13663
|
}
|
|
13654
|
-
},
|
|
13664
|
+
}, jk = {
|
|
13655
13665
|
name: "ariaDescribedBy",
|
|
13656
13666
|
enabled: !0,
|
|
13657
13667
|
phase: "afterWrite",
|
|
@@ -13682,21 +13692,21 @@ const _N = {
|
|
|
13682
13692
|
r.setAttribute("aria-describedby", s ? `${s},${n.id}` : n.id);
|
|
13683
13693
|
}
|
|
13684
13694
|
}
|
|
13685
|
-
},
|
|
13695
|
+
}, Ck = [];
|
|
13686
13696
|
function j0(e, t, n = {}) {
|
|
13687
13697
|
let {
|
|
13688
13698
|
enabled: r = !0,
|
|
13689
13699
|
placement: o = "bottom",
|
|
13690
13700
|
strategy: s = "absolute",
|
|
13691
|
-
modifiers: i =
|
|
13692
|
-
} = n, l =
|
|
13701
|
+
modifiers: i = Ck
|
|
13702
|
+
} = n, l = Sk(n, wk);
|
|
13693
13703
|
const c = w.useRef(i), u = w.useRef(), d = w.useCallback(() => {
|
|
13694
13704
|
var x;
|
|
13695
13705
|
(x = u.current) == null || x.update();
|
|
13696
13706
|
}, []), f = w.useCallback(() => {
|
|
13697
13707
|
var x;
|
|
13698
13708
|
(x = u.current) == null || x.forceUpdate();
|
|
13699
|
-
}, []), [p, y] =
|
|
13709
|
+
}, []), [p, y] = yN(w.useState({
|
|
13700
13710
|
placement: o,
|
|
13701
13711
|
update: d,
|
|
13702
13712
|
forceUpdate: f,
|
|
@@ -13730,14 +13740,14 @@ function j0(e, t, n = {}) {
|
|
|
13730
13740
|
!u.current || !r || u.current.setOptions({
|
|
13731
13741
|
placement: o,
|
|
13732
13742
|
strategy: s,
|
|
13733
|
-
modifiers: [...h, m,
|
|
13743
|
+
modifiers: [...h, m, _k]
|
|
13734
13744
|
});
|
|
13735
13745
|
}, [s, o, m, r, h]), w.useEffect(() => {
|
|
13736
13746
|
if (!(!r || e == null || t == null))
|
|
13737
|
-
return u.current =
|
|
13747
|
+
return u.current = bk(e, t, Object.assign({}, l, {
|
|
13738
13748
|
placement: o,
|
|
13739
13749
|
strategy: s,
|
|
13740
|
-
modifiers: [...h,
|
|
13750
|
+
modifiers: [...h, jk, m]
|
|
13741
13751
|
})), () => {
|
|
13742
13752
|
u.current != null && (u.current.destroy(), u.current = void 0, y((x) => Object.assign({}, x, {
|
|
13743
13753
|
attributes: {},
|
|
@@ -13754,14 +13764,14 @@ function Ws(e, t) {
|
|
|
13754
13764
|
if (e.compareDocumentPosition)
|
|
13755
13765
|
return e === t || !!(e.compareDocumentPosition(t) & 16);
|
|
13756
13766
|
}
|
|
13757
|
-
var
|
|
13758
|
-
},
|
|
13759
|
-
const
|
|
13767
|
+
var Ek = function() {
|
|
13768
|
+
}, Rk = Ek;
|
|
13769
|
+
const Nk = /* @__PURE__ */ Xs(Rk), Mm = () => {
|
|
13760
13770
|
};
|
|
13761
|
-
function
|
|
13771
|
+
function kk(e) {
|
|
13762
13772
|
return e.button === 0;
|
|
13763
13773
|
}
|
|
13764
|
-
function
|
|
13774
|
+
function Tk(e) {
|
|
13765
13775
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
13766
13776
|
}
|
|
13767
13777
|
const la = (e) => e && ("current" in e ? e.current : e), Dm = {
|
|
@@ -13775,11 +13785,11 @@ function C0(e, t = Mm, {
|
|
|
13775
13785
|
} = {}) {
|
|
13776
13786
|
const o = w.useRef(!1), s = w.useRef(!1), i = w.useCallback((u) => {
|
|
13777
13787
|
const d = la(e);
|
|
13778
|
-
|
|
13779
|
-
}, [e]), l =
|
|
13788
|
+
Nk(!!d, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !d || Tk(u) || !kk(u) || !!Ws(d, u.target) || s.current, s.current = !1;
|
|
13789
|
+
}, [e]), l = ke((u) => {
|
|
13780
13790
|
const d = la(e);
|
|
13781
13791
|
d && Ws(d, u.target) && (s.current = !0);
|
|
13782
|
-
}), c =
|
|
13792
|
+
}), c = ke((u) => {
|
|
13783
13793
|
o.current || t(u);
|
|
13784
13794
|
});
|
|
13785
13795
|
w.useEffect(() => {
|
|
@@ -13802,13 +13812,13 @@ function C0(e, t = Mm, {
|
|
|
13802
13812
|
};
|
|
13803
13813
|
}, [e, n, r, i, l, c]);
|
|
13804
13814
|
}
|
|
13805
|
-
function
|
|
13815
|
+
function Ok(e) {
|
|
13806
13816
|
const t = {};
|
|
13807
13817
|
return Array.isArray(e) ? (e == null || e.forEach((n) => {
|
|
13808
13818
|
t[n.name] = n;
|
|
13809
13819
|
}), t) : e || t;
|
|
13810
13820
|
}
|
|
13811
|
-
function
|
|
13821
|
+
function Pk(e = {}) {
|
|
13812
13822
|
return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
|
|
13813
13823
|
}
|
|
13814
13824
|
function E0({
|
|
@@ -13823,12 +13833,12 @@ function E0({
|
|
|
13823
13833
|
popperConfig: c = {}
|
|
13824
13834
|
}) {
|
|
13825
13835
|
var u, d, f, p, y;
|
|
13826
|
-
const m =
|
|
13836
|
+
const m = Ok(c.modifiers);
|
|
13827
13837
|
return Object.assign({}, c, {
|
|
13828
13838
|
placement: n,
|
|
13829
13839
|
enabled: e,
|
|
13830
13840
|
strategy: s ? "fixed" : c.strategy,
|
|
13831
|
-
modifiers:
|
|
13841
|
+
modifiers: Pk(Object.assign({}, m, {
|
|
13832
13842
|
eventListeners: {
|
|
13833
13843
|
enabled: t,
|
|
13834
13844
|
options: (u = m.eventListeners) == null ? void 0 : u.options
|
|
@@ -13855,8 +13865,8 @@ function E0({
|
|
|
13855
13865
|
}))
|
|
13856
13866
|
});
|
|
13857
13867
|
}
|
|
13858
|
-
const $
|
|
13859
|
-
function
|
|
13868
|
+
const $k = ["children"];
|
|
13869
|
+
function Ik(e, t) {
|
|
13860
13870
|
if (e == null)
|
|
13861
13871
|
return {};
|
|
13862
13872
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -13864,7 +13874,7 @@ function IN(e, t) {
|
|
|
13864
13874
|
o = r[s], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
13865
13875
|
return n;
|
|
13866
13876
|
}
|
|
13867
|
-
const
|
|
13877
|
+
const Ak = () => {
|
|
13868
13878
|
};
|
|
13869
13879
|
function R0(e = {}) {
|
|
13870
13880
|
const t = w.useContext(Ml), [n, r] = Ja(), o = w.useRef(!1), {
|
|
@@ -13895,7 +13905,7 @@ function R0(e = {}) {
|
|
|
13895
13905
|
arrowElement: n,
|
|
13896
13906
|
popperConfig: d
|
|
13897
13907
|
})), S = Object.assign({
|
|
13898
|
-
ref: x ||
|
|
13908
|
+
ref: x || Ak,
|
|
13899
13909
|
"aria-labelledby": g == null ? void 0 : g.id
|
|
13900
13910
|
}, b.attributes.popper, {
|
|
13901
13911
|
style: b.styles.popper
|
|
@@ -13916,26 +13926,26 @@ function R0(e = {}) {
|
|
|
13916
13926
|
disabled: !y
|
|
13917
13927
|
}), [S, _];
|
|
13918
13928
|
}
|
|
13919
|
-
const
|
|
13929
|
+
const Mk = {
|
|
13920
13930
|
usePopper: !0
|
|
13921
13931
|
};
|
|
13922
13932
|
function op(e) {
|
|
13923
13933
|
let {
|
|
13924
13934
|
children: t
|
|
13925
|
-
} = e, n =
|
|
13935
|
+
} = e, n = Ik(e, $k);
|
|
13926
13936
|
const [r, o] = R0(n);
|
|
13927
13937
|
return /* @__PURE__ */ a.jsx(a.Fragment, {
|
|
13928
13938
|
children: t(r, o)
|
|
13929
13939
|
});
|
|
13930
13940
|
}
|
|
13931
13941
|
op.displayName = "DropdownMenu";
|
|
13932
|
-
op.defaultProps =
|
|
13933
|
-
const
|
|
13942
|
+
op.defaultProps = Mk;
|
|
13943
|
+
const N0 = (e) => {
|
|
13934
13944
|
var t;
|
|
13935
13945
|
return ((t = e.getAttribute("role")) == null ? void 0 : t.toLowerCase()) === "menu";
|
|
13936
13946
|
}, Fm = () => {
|
|
13937
13947
|
};
|
|
13938
|
-
function
|
|
13948
|
+
function k0() {
|
|
13939
13949
|
const e = Px(), {
|
|
13940
13950
|
show: t = !1,
|
|
13941
13951
|
toggle: n = Fm,
|
|
@@ -13949,7 +13959,7 @@ function N0() {
|
|
|
13949
13959
|
onClick: s,
|
|
13950
13960
|
"aria-expanded": !!t
|
|
13951
13961
|
};
|
|
13952
|
-
return o &&
|
|
13962
|
+
return o && N0(o) && (i["aria-haspopup"] = !0), [i, {
|
|
13953
13963
|
show: t,
|
|
13954
13964
|
toggle: n
|
|
13955
13965
|
}];
|
|
@@ -13957,14 +13967,14 @@ function N0() {
|
|
|
13957
13967
|
function T0({
|
|
13958
13968
|
children: e
|
|
13959
13969
|
}) {
|
|
13960
|
-
const [t, n] =
|
|
13970
|
+
const [t, n] = k0();
|
|
13961
13971
|
return /* @__PURE__ */ a.jsx(a.Fragment, {
|
|
13962
13972
|
children: e(t, n)
|
|
13963
13973
|
});
|
|
13964
13974
|
}
|
|
13965
13975
|
T0.displayName = "DropdownToggle";
|
|
13966
|
-
const
|
|
13967
|
-
function
|
|
13976
|
+
const Dk = ["eventKey", "disabled", "onClick", "active", "as"];
|
|
13977
|
+
function Fk(e, t) {
|
|
13968
13978
|
if (e == null)
|
|
13969
13979
|
return {};
|
|
13970
13980
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -13983,7 +13993,7 @@ function O0({
|
|
|
13983
13993
|
activeKey: l
|
|
13984
13994
|
} = i || {}, c = Mr(e, t), u = n == null && e != null ? Mr(l) === c : n;
|
|
13985
13995
|
return [{
|
|
13986
|
-
onClick:
|
|
13996
|
+
onClick: ke((f) => {
|
|
13987
13997
|
r || (o == null || o(f), s && !f.isPropagationStopped() && s(c, f));
|
|
13988
13998
|
}),
|
|
13989
13999
|
"aria-disabled": r || void 0,
|
|
@@ -14000,7 +14010,7 @@ const P0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14000
14010
|
onClick: o,
|
|
14001
14011
|
active: s,
|
|
14002
14012
|
as: i = Yf
|
|
14003
|
-
} = e, l =
|
|
14013
|
+
} = e, l = Fk(e, Dk);
|
|
14004
14014
|
const [c] = O0({
|
|
14005
14015
|
key: n,
|
|
14006
14016
|
href: l.href,
|
|
@@ -14034,13 +14044,13 @@ function ai({
|
|
|
14034
14044
|
placement: i = "bottom-start",
|
|
14035
14045
|
children: l
|
|
14036
14046
|
}) {
|
|
14037
|
-
const c = Fl(), [u, d] = Tx(t, e, r), [f, p] = Lm(), y = f.current, [m, h] = Lm(), x = m.current, v = l0(u), g = w.useRef(null), b = w.useRef(!1), S = w.useContext(Mn), _ = w.useCallback((T,
|
|
14047
|
+
const c = Fl(), [u, d] = Tx(t, e, r), [f, p] = Lm(), y = f.current, [m, h] = Lm(), x = m.current, v = l0(u), g = w.useRef(null), b = w.useRef(!1), S = w.useContext(Mn), _ = w.useCallback((T, k, P = k == null ? void 0 : k.type) => {
|
|
14038
14048
|
d(T, {
|
|
14039
|
-
originalEvent:
|
|
14049
|
+
originalEvent: k,
|
|
14040
14050
|
source: P
|
|
14041
14051
|
});
|
|
14042
|
-
}, [d]), j =
|
|
14043
|
-
n == null || n(T,
|
|
14052
|
+
}, [d]), j = ke((T, k) => {
|
|
14053
|
+
n == null || n(T, k), _(!1, k, "select"), k.isPropagationStopped() || S == null || S(T, k);
|
|
14044
14054
|
}), C = w.useMemo(() => ({
|
|
14045
14055
|
toggle: _,
|
|
14046
14056
|
placement: i,
|
|
@@ -14051,33 +14061,33 @@ function ai({
|
|
|
14051
14061
|
setToggle: h
|
|
14052
14062
|
}), [_, i, u, y, x, p, h]);
|
|
14053
14063
|
y && v && !u && (b.current = y.contains(y.ownerDocument.activeElement));
|
|
14054
|
-
const E =
|
|
14064
|
+
const E = ke(() => {
|
|
14055
14065
|
x && x.focus && x.focus();
|
|
14056
|
-
}),
|
|
14066
|
+
}), N = ke(() => {
|
|
14057
14067
|
const T = g.current;
|
|
14058
|
-
let
|
|
14059
|
-
if (
|
|
14068
|
+
let k = s;
|
|
14069
|
+
if (k == null && (k = f.current && N0(f.current) ? "keyboard" : !1), k === !1 || k === "keyboard" && !/^key.+$/.test(T))
|
|
14060
14070
|
return;
|
|
14061
14071
|
const P = _n(f.current, o)[0];
|
|
14062
14072
|
P && P.focus && P.focus();
|
|
14063
14073
|
});
|
|
14064
14074
|
w.useEffect(() => {
|
|
14065
|
-
u ?
|
|
14066
|
-
}, [u, b, E,
|
|
14075
|
+
u ? N() : b.current && (b.current = !1, E());
|
|
14076
|
+
}, [u, b, E, N]), w.useEffect(() => {
|
|
14067
14077
|
g.current = null;
|
|
14068
14078
|
});
|
|
14069
|
-
const R = (T,
|
|
14079
|
+
const R = (T, k) => {
|
|
14070
14080
|
if (!f.current)
|
|
14071
14081
|
return null;
|
|
14072
14082
|
const P = _n(f.current, o);
|
|
14073
|
-
let D = P.indexOf(T) +
|
|
14083
|
+
let D = P.indexOf(T) + k;
|
|
14074
14084
|
return D = Math.max(0, Math.min(D, P.length)), P[D];
|
|
14075
14085
|
};
|
|
14076
|
-
return
|
|
14077
|
-
var
|
|
14086
|
+
return iN(w.useCallback(() => c.document, [c]), "keydown", (T) => {
|
|
14087
|
+
var k, P;
|
|
14078
14088
|
const {
|
|
14079
14089
|
key: D
|
|
14080
|
-
} = T, F = T.target, V = (
|
|
14090
|
+
} = T, F = T.target, V = (k = f.current) == null ? void 0 : k.contains(F), Q = (P = m.current) == null ? void 0 : P.contains(F);
|
|
14081
14091
|
if (/input|textarea/i.test(F.tagName) && (D === " " || D !== "Escape" && V || D === "Escape" && F.type === "search") || !V && !Q || D === "Tab" && (!f.current || !u))
|
|
14082
14092
|
return;
|
|
14083
14093
|
g.current = T.type;
|
|
@@ -14138,7 +14148,7 @@ const A0 = I0, M0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14138
14148
|
...o
|
|
14139
14149
|
})));
|
|
14140
14150
|
M0.displayName = "DropdownDivider";
|
|
14141
|
-
const
|
|
14151
|
+
const Lk = M0, D0 = /* @__PURE__ */ w.forwardRef(({
|
|
14142
14152
|
className: e,
|
|
14143
14153
|
bsPrefix: t,
|
|
14144
14154
|
as: n = "div",
|
|
@@ -14151,7 +14161,7 @@ const LN = M0, D0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14151
14161
|
...o
|
|
14152
14162
|
})));
|
|
14153
14163
|
D0.displayName = "DropdownHeader";
|
|
14154
|
-
const
|
|
14164
|
+
const Uk = D0, F0 = /* @__PURE__ */ w.forwardRef(({
|
|
14155
14165
|
bsPrefix: e,
|
|
14156
14166
|
className: t,
|
|
14157
14167
|
eventKey: n,
|
|
@@ -14176,7 +14186,7 @@ const UN = D0, F0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14176
14186
|
});
|
|
14177
14187
|
});
|
|
14178
14188
|
F0.displayName = "DropdownItem";
|
|
14179
|
-
const
|
|
14189
|
+
const Vk = F0, L0 = /* @__PURE__ */ w.forwardRef(({
|
|
14180
14190
|
className: e,
|
|
14181
14191
|
bsPrefix: t,
|
|
14182
14192
|
as: n = "span",
|
|
@@ -14187,7 +14197,7 @@ const VN = F0, L0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14187
14197
|
...r
|
|
14188
14198
|
})));
|
|
14189
14199
|
L0.displayName = "DropdownItemText";
|
|
14190
|
-
const
|
|
14200
|
+
const Bk = L0, U0 = /* @__PURE__ */ w.createContext(null);
|
|
14191
14201
|
U0.displayName = "InputGroupContext";
|
|
14192
14202
|
const V0 = U0;
|
|
14193
14203
|
function B0(e, t) {
|
|
@@ -14224,8 +14234,8 @@ const q0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14224
14234
|
if (typeof n == "object") {
|
|
14225
14235
|
const T = Object.keys(n);
|
|
14226
14236
|
if (T.length) {
|
|
14227
|
-
const
|
|
14228
|
-
p = P === "start", b.push(`${m}-${
|
|
14237
|
+
const k = T[0], P = n[k];
|
|
14238
|
+
p = P === "start", b.push(`${m}-${k}-${P}`);
|
|
14229
14239
|
}
|
|
14230
14240
|
} else
|
|
14231
14241
|
n === "end" && (p = !0);
|
|
@@ -14233,7 +14243,7 @@ const q0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14233
14243
|
hasShown: j,
|
|
14234
14244
|
popper: C,
|
|
14235
14245
|
show: E,
|
|
14236
|
-
toggle:
|
|
14246
|
+
toggle: N
|
|
14237
14247
|
}] = R0({
|
|
14238
14248
|
flip: o,
|
|
14239
14249
|
rootCloseEvent: r,
|
|
@@ -14247,7 +14257,7 @@ const q0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14247
14257
|
E && (C == null || C.update());
|
|
14248
14258
|
}, [E]), !j && !i && !g)
|
|
14249
14259
|
return null;
|
|
14250
|
-
typeof l != "string" && (_.show = E, _.close = () =>
|
|
14260
|
+
typeof l != "string" && (_.show = E, _.close = () => N == null ? void 0 : N(!1), _.align = n);
|
|
14251
14261
|
let R = d.style;
|
|
14252
14262
|
return C != null && C.placement && (R = {
|
|
14253
14263
|
...d.style,
|
|
@@ -14263,7 +14273,7 @@ const q0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14263
14273
|
});
|
|
14264
14274
|
});
|
|
14265
14275
|
q0.displayName = "DropdownMenu";
|
|
14266
|
-
const
|
|
14276
|
+
const zk = q0, H0 = /* @__PURE__ */ w.forwardRef(({
|
|
14267
14277
|
as: e,
|
|
14268
14278
|
bsPrefix: t,
|
|
14269
14279
|
variant: n = "primary",
|
|
@@ -14289,18 +14299,18 @@ const zN = q0, H0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14289
14299
|
});
|
|
14290
14300
|
});
|
|
14291
14301
|
H0.displayName = "Button";
|
|
14292
|
-
const
|
|
14302
|
+
const qk = H0, W0 = /* @__PURE__ */ w.forwardRef(({
|
|
14293
14303
|
bsPrefix: e,
|
|
14294
14304
|
split: t,
|
|
14295
14305
|
className: n,
|
|
14296
14306
|
childBsPrefix: r,
|
|
14297
14307
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
14298
|
-
as: o =
|
|
14308
|
+
as: o = qk,
|
|
14299
14309
|
...s
|
|
14300
14310
|
}, i) => {
|
|
14301
14311
|
const l = de(e, "dropdown-toggle"), c = w.useContext(Ml);
|
|
14302
14312
|
r !== void 0 && (s.bsPrefix = r);
|
|
14303
|
-
const [u] =
|
|
14313
|
+
const [u] = k0();
|
|
14304
14314
|
return u.ref = hn(u.ref, B0(i)), /* @__PURE__ */ a.jsx(o, {
|
|
14305
14315
|
className: ne(n, l, t && `${l}-split`, (c == null ? void 0 : c.show) && "show"),
|
|
14306
14316
|
...u,
|
|
@@ -14308,7 +14318,7 @@ const qN = H0, W0 = /* @__PURE__ */ w.forwardRef(({
|
|
|
14308
14318
|
});
|
|
14309
14319
|
});
|
|
14310
14320
|
W0.displayName = "DropdownToggle";
|
|
14311
|
-
const
|
|
14321
|
+
const Hk = W0, K0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
14312
14322
|
const {
|
|
14313
14323
|
bsPrefix: n,
|
|
14314
14324
|
drop: r = "down",
|
|
@@ -14325,9 +14335,9 @@ const HN = W0, K0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14325
14335
|
...y
|
|
14326
14336
|
} = Al(e, {
|
|
14327
14337
|
show: "onToggle"
|
|
14328
|
-
}), m = w.useContext(V0), h = de(n, "dropdown"), x = Il(), v = (C) => p === !1 ? C === "click" : p === "inside" ? C !== "rootClose" : p === "outside" ? C !== "select" : !0, g =
|
|
14329
|
-
var
|
|
14330
|
-
!((
|
|
14338
|
+
}), m = w.useContext(V0), h = de(n, "dropdown"), x = Il(), v = (C) => p === !1 ? C === "click" : p === "inside" ? C !== "rootClose" : p === "outside" ? C !== "select" : !0, g = ke((C, E) => {
|
|
14339
|
+
var N, R;
|
|
14340
|
+
!((N = E.originalEvent) == null || (R = N.target) == null) && R.classList.contains("dropdown-toggle") && E.source === "mousedown" || (E.originalEvent.currentTarget === document && (E.source !== "keydown" || E.originalEvent.key === "Escape") && (E.source = "rootClose"), v(E.source) && (c == null || c(C, E)));
|
|
14331
14341
|
}), S = z0(i === "end", r, x), _ = w.useMemo(() => ({
|
|
14332
14342
|
align: i,
|
|
14333
14343
|
drop: r,
|
|
@@ -14359,12 +14369,12 @@ const HN = W0, K0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14359
14369
|
});
|
|
14360
14370
|
K0.displayName = "Dropdown";
|
|
14361
14371
|
const Ai = Object.assign(K0, {
|
|
14362
|
-
Toggle:
|
|
14363
|
-
Menu:
|
|
14364
|
-
Item:
|
|
14365
|
-
ItemText:
|
|
14366
|
-
Divider:
|
|
14367
|
-
Header:
|
|
14372
|
+
Toggle: Hk,
|
|
14373
|
+
Menu: zk,
|
|
14374
|
+
Item: Vk,
|
|
14375
|
+
ItemText: Bk,
|
|
14376
|
+
Divider: Lk,
|
|
14377
|
+
Header: Uk
|
|
14368
14378
|
});
|
|
14369
14379
|
var Mi;
|
|
14370
14380
|
function Um(e) {
|
|
@@ -14374,12 +14384,12 @@ function Um(e) {
|
|
|
14374
14384
|
}
|
|
14375
14385
|
return Mi;
|
|
14376
14386
|
}
|
|
14377
|
-
function
|
|
14387
|
+
function Wk(e) {
|
|
14378
14388
|
const t = w.useRef(e);
|
|
14379
14389
|
return t.current = e, t;
|
|
14380
14390
|
}
|
|
14381
14391
|
function sp(e) {
|
|
14382
|
-
const t =
|
|
14392
|
+
const t = Wk(e);
|
|
14383
14393
|
w.useEffect(() => () => t.current(), []);
|
|
14384
14394
|
}
|
|
14385
14395
|
function Lc(e) {
|
|
@@ -14391,12 +14401,12 @@ function Lc(e) {
|
|
|
14391
14401
|
return e.body;
|
|
14392
14402
|
}
|
|
14393
14403
|
}
|
|
14394
|
-
function
|
|
14404
|
+
function Kk(e = document) {
|
|
14395
14405
|
const t = e.defaultView;
|
|
14396
14406
|
return Math.abs(t.innerWidth - e.documentElement.clientWidth);
|
|
14397
14407
|
}
|
|
14398
14408
|
const Vm = Vo("modal-open");
|
|
14399
|
-
class
|
|
14409
|
+
class Gk {
|
|
14400
14410
|
constructor({
|
|
14401
14411
|
ownerDocument: t,
|
|
14402
14412
|
handleContainerOverflow: n = !0,
|
|
@@ -14405,7 +14415,7 @@ class GN {
|
|
|
14405
14415
|
this.handleContainerOverflow = n, this.isRTL = r, this.modals = [], this.ownerDocument = t;
|
|
14406
14416
|
}
|
|
14407
14417
|
getScrollbarWidth() {
|
|
14408
|
-
return
|
|
14418
|
+
return Kk(this.ownerDocument);
|
|
14409
14419
|
}
|
|
14410
14420
|
getElement() {
|
|
14411
14421
|
return (this.ownerDocument || document).body;
|
|
@@ -14421,7 +14431,7 @@ class GN {
|
|
|
14421
14431
|
t.style = {
|
|
14422
14432
|
overflow: o.style.overflow,
|
|
14423
14433
|
[r]: o.style[r]
|
|
14424
|
-
}, t.scrollBarWidth && (n[r] = `${parseInt(
|
|
14434
|
+
}, t.scrollBarWidth && (n[r] = `${parseInt(kn(o, r) || "0", 10) + t.scrollBarWidth}px`), o.setAttribute(Vm, ""), kn(o, n);
|
|
14425
14435
|
}
|
|
14426
14436
|
reset() {
|
|
14427
14437
|
[...this.modals].forEach((t) => this.remove(t));
|
|
@@ -14445,7 +14455,7 @@ class GN {
|
|
|
14445
14455
|
return !!this.modals.length && this.modals[this.modals.length - 1] === t;
|
|
14446
14456
|
}
|
|
14447
14457
|
}
|
|
14448
|
-
const ip =
|
|
14458
|
+
const ip = Gk, Uc = (e, t) => Uo ? e == null ? (t || Lo()).body : (typeof e == "function" && (e = e()), e && "current" in e && (e = e.current), e && ("nodeType" in e || e.getBoundingClientRect) ? e : null) : null;
|
|
14449
14459
|
function pd(e, t) {
|
|
14450
14460
|
const n = Fl(), [r, o] = w.useState(() => Uc(e, n == null ? void 0 : n.document));
|
|
14451
14461
|
if (!r) {
|
|
@@ -14459,11 +14469,11 @@ function pd(e, t) {
|
|
|
14459
14469
|
s !== r && o(s);
|
|
14460
14470
|
}, [e, r]), r;
|
|
14461
14471
|
}
|
|
14462
|
-
function
|
|
14472
|
+
function Yk({
|
|
14463
14473
|
in: e,
|
|
14464
14474
|
onTransition: t
|
|
14465
14475
|
}) {
|
|
14466
|
-
const n = w.useRef(null), r = w.useRef(!0), o =
|
|
14476
|
+
const n = w.useRef(null), r = w.useRef(!0), o = ke(t);
|
|
14467
14477
|
return el(() => {
|
|
14468
14478
|
if (!n.current)
|
|
14469
14479
|
return;
|
|
@@ -14480,7 +14490,7 @@ function YN({
|
|
|
14480
14490
|
r.current = !0;
|
|
14481
14491
|
}), []), n;
|
|
14482
14492
|
}
|
|
14483
|
-
function
|
|
14493
|
+
function Qk({
|
|
14484
14494
|
children: e,
|
|
14485
14495
|
in: t,
|
|
14486
14496
|
onExited: n,
|
|
@@ -14489,7 +14499,7 @@ function QN({
|
|
|
14489
14499
|
}) {
|
|
14490
14500
|
const [s, i] = w.useState(!t);
|
|
14491
14501
|
t && s && i(!1);
|
|
14492
|
-
const l =
|
|
14502
|
+
const l = Yk({
|
|
14493
14503
|
in: !!t,
|
|
14494
14504
|
onTransition: (u) => {
|
|
14495
14505
|
const d = () => {
|
|
@@ -14505,15 +14515,15 @@ function QN({
|
|
|
14505
14515
|
});
|
|
14506
14516
|
}
|
|
14507
14517
|
function hd(e, t, n) {
|
|
14508
|
-
return e ? /* @__PURE__ */ a.jsx(e, Object.assign({}, n)) : t ? /* @__PURE__ */ a.jsx(
|
|
14518
|
+
return e ? /* @__PURE__ */ a.jsx(e, Object.assign({}, n)) : t ? /* @__PURE__ */ a.jsx(Qk, Object.assign({}, n, {
|
|
14509
14519
|
transition: t
|
|
14510
14520
|
})) : /* @__PURE__ */ a.jsx(zf, Object.assign({}, n));
|
|
14511
14521
|
}
|
|
14512
14522
|
function G0(e) {
|
|
14513
14523
|
return e.code === "Escape" || e.keyCode === 27;
|
|
14514
14524
|
}
|
|
14515
|
-
const
|
|
14516
|
-
function
|
|
14525
|
+
const Xk = ["show", "role", "className", "style", "children", "backdrop", "keyboard", "onBackdropClick", "onEscapeKeyDown", "transition", "runTransition", "backdropTransition", "runBackdropTransition", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "renderDialog", "renderBackdrop", "manager", "container", "onShow", "onHide", "onExit", "onExited", "onExiting", "onEnter", "onEntering", "onEntered"];
|
|
14526
|
+
function Zk(e, t) {
|
|
14517
14527
|
if (e == null)
|
|
14518
14528
|
return {};
|
|
14519
14529
|
var n = {}, r = Object.keys(e), o, s;
|
|
@@ -14522,13 +14532,13 @@ function ZN(e, t) {
|
|
|
14522
14532
|
return n;
|
|
14523
14533
|
}
|
|
14524
14534
|
let Vc;
|
|
14525
|
-
function
|
|
14535
|
+
function Jk(e) {
|
|
14526
14536
|
return Vc || (Vc = new ip({
|
|
14527
14537
|
ownerDocument: e == null ? void 0 : e.document
|
|
14528
14538
|
})), Vc;
|
|
14529
14539
|
}
|
|
14530
14540
|
function eT(e) {
|
|
14531
|
-
const t = Fl(), n = e ||
|
|
14541
|
+
const t = Fl(), n = e || Jk(t), r = w.useRef({
|
|
14532
14542
|
dialog: null,
|
|
14533
14543
|
backdrop: null
|
|
14534
14544
|
});
|
|
@@ -14570,16 +14580,16 @@ const Y0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14570
14580
|
onShow: C,
|
|
14571
14581
|
onHide: E = () => {
|
|
14572
14582
|
},
|
|
14573
|
-
onExit:
|
|
14583
|
+
onExit: N,
|
|
14574
14584
|
onExited: R,
|
|
14575
14585
|
onExiting: T,
|
|
14576
|
-
onEnter:
|
|
14586
|
+
onEnter: k,
|
|
14577
14587
|
onEntering: P,
|
|
14578
14588
|
onEntered: D
|
|
14579
|
-
} = e, F =
|
|
14589
|
+
} = e, F = Zk(e, Xk);
|
|
14580
14590
|
const V = Fl(), Q = pd(j), O = eT(_), L = Qf(), A = l0(n), [W, U] = w.useState(!n), Y = w.useRef(null);
|
|
14581
14591
|
w.useImperativeHandle(t, () => O, [O]), Uo && !A && n && (Y.current = Lc(V == null ? void 0 : V.document)), n && W && U(!1);
|
|
14582
|
-
const Z =
|
|
14592
|
+
const Z = ke(() => {
|
|
14583
14593
|
if (O.add(), z.current = En(document, "keydown", pe), M.current = En(
|
|
14584
14594
|
document,
|
|
14585
14595
|
"focus",
|
|
@@ -14592,7 +14602,7 @@ const Y0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14592
14602
|
const lt = Lc((ie = (Ot = O.dialog) == null ? void 0 : Ot.ownerDocument) != null ? ie : V == null ? void 0 : V.document);
|
|
14593
14603
|
O.dialog && lt && !Ws(O.dialog, lt) && (Y.current = lt, O.dialog.focus());
|
|
14594
14604
|
}
|
|
14595
|
-
}), J =
|
|
14605
|
+
}), J = ke(() => {
|
|
14596
14606
|
if (O.remove(), z.current == null || z.current(), M.current == null || M.current(), v) {
|
|
14597
14607
|
var ie;
|
|
14598
14608
|
(ie = Y.current) == null || ie.focus == null || ie.focus(g), Y.current = null;
|
|
@@ -14610,14 +14620,14 @@ const Y0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14610
14620
|
}, [W, J]), sp(() => {
|
|
14611
14621
|
J();
|
|
14612
14622
|
});
|
|
14613
|
-
const X =
|
|
14623
|
+
const X = ke(() => {
|
|
14614
14624
|
if (!x || !L() || !O.isTopModal())
|
|
14615
14625
|
return;
|
|
14616
14626
|
const ie = Lc(V == null ? void 0 : V.document);
|
|
14617
14627
|
O.dialog && ie && !Ws(O.dialog, ie) && O.dialog.focus();
|
|
14618
|
-
}), se =
|
|
14628
|
+
}), se = ke((ie) => {
|
|
14619
14629
|
ie.target === ie.currentTarget && (u == null || u(ie), l === !0 && E());
|
|
14620
|
-
}), pe =
|
|
14630
|
+
}), pe = ke((ie) => {
|
|
14621
14631
|
c && G0(ie) && O.isTopModal() && (d == null || d(ie), ie.defaultPrevented || E());
|
|
14622
14632
|
}), M = w.useRef(), z = w.useRef(), ve = (...ie) => {
|
|
14623
14633
|
U(!0), R == null || R(...ie);
|
|
@@ -14644,10 +14654,10 @@ const Y0 = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
14644
14654
|
mountOnEnter: !0,
|
|
14645
14655
|
appear: !0,
|
|
14646
14656
|
in: !!n,
|
|
14647
|
-
onExit:
|
|
14657
|
+
onExit: N,
|
|
14648
14658
|
onExiting: T,
|
|
14649
14659
|
onExited: ve,
|
|
14650
|
-
onEnter:
|
|
14660
|
+
onEnter: k,
|
|
14651
14661
|
onEntering: P,
|
|
14652
14662
|
onEntered: D,
|
|
14653
14663
|
children: Oe
|
|
@@ -14692,13 +14702,13 @@ const Wr = {
|
|
|
14692
14702
|
class oT extends ip {
|
|
14693
14703
|
adjustAndStore(t, n, r) {
|
|
14694
14704
|
const o = n.style[t];
|
|
14695
|
-
n.dataset[t] = o,
|
|
14696
|
-
[t]: `${parseFloat(
|
|
14705
|
+
n.dataset[t] = o, kn(n, {
|
|
14706
|
+
[t]: `${parseFloat(kn(n, t)) + r}px`
|
|
14697
14707
|
});
|
|
14698
14708
|
}
|
|
14699
14709
|
restore(t, n) {
|
|
14700
14710
|
const r = n.dataset[t];
|
|
14701
|
-
r !== void 0 && (delete n.dataset[t],
|
|
14711
|
+
r !== void 0 && (delete n.dataset[t], kn(n, {
|
|
14702
14712
|
[t]: r
|
|
14703
14713
|
}));
|
|
14704
14714
|
}
|
|
@@ -14805,7 +14815,7 @@ const uT = ap, dT = /* @__PURE__ */ w.forwardRef(({
|
|
|
14805
14815
|
children: o,
|
|
14806
14816
|
...s
|
|
14807
14817
|
}, i) => {
|
|
14808
|
-
const l = w.useContext(X0), c =
|
|
14818
|
+
const l = w.useContext(X0), c = ke(() => {
|
|
14809
14819
|
l == null || l.onHide(), r == null || r();
|
|
14810
14820
|
});
|
|
14811
14821
|
return /* @__PURE__ */ a.jsxs("div", {
|
|
@@ -14886,15 +14896,15 @@ const rb = /* @__PURE__ */ w.forwardRef(({
|
|
|
14886
14896
|
restoreFocusOptions: j,
|
|
14887
14897
|
onEntered: C,
|
|
14888
14898
|
onExit: E,
|
|
14889
|
-
onExiting:
|
|
14899
|
+
onExiting: N,
|
|
14890
14900
|
onEnter: R,
|
|
14891
14901
|
onEntering: T,
|
|
14892
|
-
onExited:
|
|
14902
|
+
onExited: k,
|
|
14893
14903
|
backdropClassName: P,
|
|
14894
14904
|
manager: D,
|
|
14895
14905
|
...F
|
|
14896
14906
|
}, V) => {
|
|
14897
|
-
const [Q, O] = w.useState({}), [L, A] = w.useState(!1), W = w.useRef(!1), U = w.useRef(!1), Y = w.useRef(null), [Z, J] = Ja(), X = hn(V, J), se =
|
|
14907
|
+
const [Q, O] = w.useState({}), [L, A] = w.useState(!1), W = w.useRef(!1), U = w.useRef(!1), Y = w.useRef(null), [Z, J] = Ja(), X = hn(V, J), se = ke(v), pe = Il();
|
|
14898
14908
|
e = de(e, "modal");
|
|
14899
14909
|
const M = w.useMemo(() => ({
|
|
14900
14910
|
onHide: se
|
|
@@ -14913,7 +14923,7 @@ const rb = /* @__PURE__ */ w.forwardRef(({
|
|
|
14913
14923
|
paddingLeft: !vn && zo ? Um() : void 0
|
|
14914
14924
|
});
|
|
14915
14925
|
}
|
|
14916
|
-
const ee =
|
|
14926
|
+
const ee = ke(() => {
|
|
14917
14927
|
Z && ve(Z.dialog);
|
|
14918
14928
|
});
|
|
14919
14929
|
sp(() => {
|
|
@@ -14948,7 +14958,7 @@ const rb = /* @__PURE__ */ w.forwardRef(({
|
|
|
14948
14958
|
}, Vn = (ae, vn) => {
|
|
14949
14959
|
T == null || T(ae, vn), Hf(window, "resize", ee);
|
|
14950
14960
|
}, Bn = (ae) => {
|
|
14951
|
-
ae && (ae.style.display = ""),
|
|
14961
|
+
ae && (ae.style.display = ""), k == null || k(ae), cd(window, "resize", ee);
|
|
14952
14962
|
}, ci = w.useCallback((ae) => /* @__PURE__ */ a.jsx("div", {
|
|
14953
14963
|
...ae,
|
|
14954
14964
|
className: ne(`${e}-backdrop`, P, !p && "show")
|
|
@@ -14995,7 +15005,7 @@ const rb = /* @__PURE__ */ w.forwardRef(({
|
|
|
14995
15005
|
onEntering: Vn,
|
|
14996
15006
|
onEntered: C,
|
|
14997
15007
|
onExit: je,
|
|
14998
|
-
onExiting:
|
|
15008
|
+
onExiting: N,
|
|
14999
15009
|
onExited: Bn,
|
|
15000
15010
|
manager: z(),
|
|
15001
15011
|
transition: p ? vT : void 0,
|
|
@@ -15512,15 +15522,15 @@ const ET = {
|
|
|
15512
15522
|
function RT(e, t) {
|
|
15513
15523
|
const n = `offset${e[0].toUpperCase()}${e.slice(1)}`, r = t[n], o = ET[e];
|
|
15514
15524
|
return r + // @ts-ignore
|
|
15515
|
-
parseInt(
|
|
15516
|
-
parseInt(
|
|
15525
|
+
parseInt(kn(t, o[0]), 10) + // @ts-ignore
|
|
15526
|
+
parseInt(kn(t, o[1]), 10);
|
|
15517
15527
|
}
|
|
15518
|
-
const
|
|
15528
|
+
const NT = {
|
|
15519
15529
|
[Wn]: "collapse",
|
|
15520
15530
|
[Xa]: "collapsing",
|
|
15521
15531
|
[Sn]: "collapsing",
|
|
15522
15532
|
[Yn]: "collapse show"
|
|
15523
|
-
},
|
|
15533
|
+
}, kT = /* @__PURE__ */ _e.forwardRef(({
|
|
15524
15534
|
onEnter: e,
|
|
15525
15535
|
onEntering: t,
|
|
15526
15536
|
onEntered: n,
|
|
@@ -15567,10 +15577,10 @@ const kT = {
|
|
|
15567
15577
|
appear: p,
|
|
15568
15578
|
children: (j, C) => /* @__PURE__ */ _e.cloneElement(i, {
|
|
15569
15579
|
...C,
|
|
15570
|
-
className: ne(s, i.props.className,
|
|
15580
|
+
className: ne(s, i.props.className, NT[j], x === "width" && "collapse-horizontal")
|
|
15571
15581
|
})
|
|
15572
15582
|
});
|
|
15573
|
-
}), TT =
|
|
15583
|
+
}), TT = kT;
|
|
15574
15584
|
function sb(e, t) {
|
|
15575
15585
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
15576
15586
|
}
|
|
@@ -15774,7 +15784,7 @@ function DT(e, t, {
|
|
|
15774
15784
|
disabled: n,
|
|
15775
15785
|
clickTrigger: r
|
|
15776
15786
|
});
|
|
15777
|
-
const s =
|
|
15787
|
+
const s = ke((i) => {
|
|
15778
15788
|
G0(i) && o(i);
|
|
15779
15789
|
});
|
|
15780
15790
|
w.useEffect(() => {
|
|
@@ -15826,7 +15836,7 @@ const vb = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
15826
15836
|
onExiting: j,
|
|
15827
15837
|
onEnter: C,
|
|
15828
15838
|
onEntering: E,
|
|
15829
|
-
onEntered:
|
|
15839
|
+
onEntered: N
|
|
15830
15840
|
} = e;
|
|
15831
15841
|
let R = e.children(Object.assign({}, g.attributes.popper, {
|
|
15832
15842
|
style: g.styles.popper,
|
|
@@ -15851,7 +15861,7 @@ const vb = /* @__PURE__ */ w.forwardRef((e, t) => {
|
|
|
15851
15861
|
onExited: b,
|
|
15852
15862
|
onEnter: C,
|
|
15853
15863
|
onEntering: E,
|
|
15854
|
-
onEntered:
|
|
15864
|
+
onEntered: N
|
|
15855
15865
|
}), m ? /* @__PURE__ */ wr.createPortal(R, m) : null;
|
|
15856
15866
|
});
|
|
15857
15867
|
vb.displayName = "Overlay";
|
|
@@ -16005,7 +16015,7 @@ const jb = /* @__PURE__ */ w.forwardRef(({
|
|
|
16005
16015
|
show: s = !1,
|
|
16006
16016
|
...i
|
|
16007
16017
|
}, l) => {
|
|
16008
|
-
const c = w.useRef({}), [u, d] = w.useState(null), [f, p] = BT(i.offset), y = hn(l, f), m = t === !0 ? Eo : t || void 0, h =
|
|
16018
|
+
const c = w.useRef({}), [u, d] = w.useState(null), [f, p] = BT(i.offset), y = hn(l, f), m = t === !0 ? Eo : t || void 0, h = ke((x) => {
|
|
16009
16019
|
d(x), n == null || n.onFirstUpdate == null || n.onFirstUpdate(x);
|
|
16010
16020
|
});
|
|
16011
16021
|
return el(() => {
|
|
@@ -16113,18 +16123,18 @@ const HT = ({
|
|
|
16113
16123
|
}, v.hide);
|
|
16114
16124
|
}, [v.hide, x, y]), E = w.useCallback((...F) => {
|
|
16115
16125
|
j(), g == null || g(...F);
|
|
16116
|
-
}, [j, g]),
|
|
16126
|
+
}, [j, g]), N = w.useCallback((...F) => {
|
|
16117
16127
|
C(), b == null || b(...F);
|
|
16118
16128
|
}, [C, b]), R = w.useCallback((...F) => {
|
|
16119
16129
|
x(!h), S == null || S(...F);
|
|
16120
16130
|
}, [S, x, h]), T = w.useCallback((...F) => {
|
|
16121
16131
|
zm(j, F, "fromElement");
|
|
16122
|
-
}, [j]),
|
|
16132
|
+
}, [j]), k = w.useCallback((...F) => {
|
|
16123
16133
|
zm(C, F, "toElement");
|
|
16124
16134
|
}, [C]), P = e == null ? [] : [].concat(e), D = {
|
|
16125
16135
|
ref: _
|
|
16126
16136
|
};
|
|
16127
|
-
return P.indexOf("click") !== -1 && (D.onClick = R), P.indexOf("focus") !== -1 && (D.onFocus = E, D.onBlur =
|
|
16137
|
+
return P.indexOf("click") !== -1 && (D.onClick = R), P.indexOf("focus") !== -1 && (D.onFocus = E, D.onBlur = N), P.indexOf("hover") !== -1 && (D.onMouseOver = T, D.onMouseOut = k), /* @__PURE__ */ a.jsxs(a.Fragment, {
|
|
16128
16138
|
children: [typeof n == "function" ? n(D) : /* @__PURE__ */ w.cloneElement(n, D), /* @__PURE__ */ a.jsx(Cb, {
|
|
16129
16139
|
...d,
|
|
16130
16140
|
show: h,
|
|
@@ -16434,22 +16444,22 @@ function mn(e, t) {
|
|
|
16434
16444
|
return n;
|
|
16435
16445
|
}
|
|
16436
16446
|
var eO = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
16437
|
-
function
|
|
16438
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, s = e.defaultValue, i = s === void 0 ? null : s, l = e.inputValue, c = e.menuIsOpen, u = e.onChange, d = e.onInputChange, f = e.onMenuClose, p = e.onMenuOpen, y = e.value, m = mn(e, eO), h = w.useState(l !== void 0 ? l : n), x = Ue(h, 2), v = x[0], g = x[1], b = w.useState(c !== void 0 ? c : o), S = Ue(b, 2), _ = S[0], j = S[1], C = w.useState(y !== void 0 ? y : i), E = Ue(C, 2),
|
|
16447
|
+
function Nb(e) {
|
|
16448
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, s = e.defaultValue, i = s === void 0 ? null : s, l = e.inputValue, c = e.menuIsOpen, u = e.onChange, d = e.onInputChange, f = e.onMenuClose, p = e.onMenuOpen, y = e.value, m = mn(e, eO), h = w.useState(l !== void 0 ? l : n), x = Ue(h, 2), v = x[0], g = x[1], b = w.useState(c !== void 0 ? c : o), S = Ue(b, 2), _ = S[0], j = S[1], C = w.useState(y !== void 0 ? y : i), E = Ue(C, 2), N = E[0], R = E[1], T = w.useCallback(function(O, L) {
|
|
16439
16449
|
typeof u == "function" && u(O, L), R(O);
|
|
16440
|
-
}, [u]),
|
|
16450
|
+
}, [u]), k = w.useCallback(function(O, L) {
|
|
16441
16451
|
var A;
|
|
16442
16452
|
typeof d == "function" && (A = d(O, L)), g(A !== void 0 ? A : O);
|
|
16443
16453
|
}, [d]), P = w.useCallback(function() {
|
|
16444
16454
|
typeof p == "function" && p(), j(!0);
|
|
16445
16455
|
}, [p]), D = w.useCallback(function() {
|
|
16446
16456
|
typeof f == "function" && f(), j(!1);
|
|
16447
|
-
}, [f]), F = l !== void 0 ? l : v, V = c !== void 0 ? c : _, Q = y !== void 0 ? y :
|
|
16457
|
+
}, [f]), F = l !== void 0 ? l : v, V = c !== void 0 ? c : _, Q = y !== void 0 ? y : N;
|
|
16448
16458
|
return H(H({}, m), {}, {
|
|
16449
16459
|
inputValue: F,
|
|
16450
16460
|
menuIsOpen: V,
|
|
16451
16461
|
onChange: T,
|
|
16452
|
-
onInputChange:
|
|
16462
|
+
onInputChange: k,
|
|
16453
16463
|
onMenuClose: D,
|
|
16454
16464
|
onMenuOpen: P,
|
|
16455
16465
|
value: Q
|
|
@@ -16488,13 +16498,13 @@ function rl(e) {
|
|
|
16488
16498
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
16489
16499
|
}, rl(e);
|
|
16490
16500
|
}
|
|
16491
|
-
function
|
|
16501
|
+
function kb() {
|
|
16492
16502
|
try {
|
|
16493
16503
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
16494
16504
|
}));
|
|
16495
16505
|
} catch {
|
|
16496
16506
|
}
|
|
16497
|
-
return (
|
|
16507
|
+
return (kb = function() {
|
|
16498
16508
|
return !!e;
|
|
16499
16509
|
})();
|
|
16500
16510
|
}
|
|
@@ -16511,7 +16521,7 @@ function sO(e, t) {
|
|
|
16511
16521
|
return oO(e);
|
|
16512
16522
|
}
|
|
16513
16523
|
function iO(e) {
|
|
16514
|
-
var t =
|
|
16524
|
+
var t = kb();
|
|
16515
16525
|
return function() {
|
|
16516
16526
|
var r = rl(e), o;
|
|
16517
16527
|
if (t) {
|
|
@@ -16824,7 +16834,7 @@ function mo(e, t) {
|
|
|
16824
16834
|
n += t(e[o], o, e, t) || "";
|
|
16825
16835
|
return n;
|
|
16826
16836
|
}
|
|
16827
|
-
function
|
|
16837
|
+
function NO(e, t, n, r) {
|
|
16828
16838
|
switch (e.type) {
|
|
16829
16839
|
case hO:
|
|
16830
16840
|
if (e.children.length)
|
|
@@ -16841,7 +16851,7 @@ function kO(e, t, n, r) {
|
|
|
16841
16851
|
}
|
|
16842
16852
|
return sn(n = mo(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
16843
16853
|
}
|
|
16844
|
-
function
|
|
16854
|
+
function kO(e) {
|
|
16845
16855
|
var t = pp(e);
|
|
16846
16856
|
return function(n, r, o, s) {
|
|
16847
16857
|
for (var i = "", l = 0; l < t; l++)
|
|
@@ -17075,9 +17085,9 @@ var DO = function(t, n, r, o) {
|
|
|
17075
17085
|
);
|
|
17076
17086
|
var c, u = [AO, MO];
|
|
17077
17087
|
{
|
|
17078
|
-
var d, f = [
|
|
17088
|
+
var d, f = [NO, TO(function(h) {
|
|
17079
17089
|
d.insert(h);
|
|
17080
|
-
})], p =
|
|
17090
|
+
})], p = kO(u.concat(o, f)), y = function(x) {
|
|
17081
17091
|
return mo(EO(x), p);
|
|
17082
17092
|
};
|
|
17083
17093
|
c = function(x, v, g, b) {
|
|
@@ -17747,7 +17757,7 @@ var eg = function(t) {
|
|
|
17747
17757
|
className: o(r ?? {}, i(n, t), l)
|
|
17748
17758
|
};
|
|
17749
17759
|
};
|
|
17750
|
-
function
|
|
17760
|
+
function NP(e, t, n) {
|
|
17751
17761
|
if (n) {
|
|
17752
17762
|
var r = n(e, t);
|
|
17753
17763
|
if (typeof r == "string")
|
|
@@ -17758,7 +17768,7 @@ function kP(e, t, n) {
|
|
|
17758
17768
|
function ec(e) {
|
|
17759
17769
|
return [document.documentElement, document.body, window].indexOf(e) > -1;
|
|
17760
17770
|
}
|
|
17761
|
-
function
|
|
17771
|
+
function kP(e) {
|
|
17762
17772
|
return ec(e) ? window.innerHeight : e.clientHeight;
|
|
17763
17773
|
}
|
|
17764
17774
|
function Xb(e) {
|
|
@@ -17856,7 +17866,7 @@ function VP(e) {
|
|
|
17856
17866
|
};
|
|
17857
17867
|
if (!n || !n.offsetParent)
|
|
17858
17868
|
return u;
|
|
17859
|
-
var d = c.getBoundingClientRect(), f = d.height, p = n.getBoundingClientRect(), y = p.bottom, m = p.height, h = p.top, x = n.offsetParent.getBoundingClientRect(), v = x.top, g = i ? window.innerHeight :
|
|
17869
|
+
var d = c.getBoundingClientRect(), f = d.height, p = n.getBoundingClientRect(), y = p.bottom, m = p.height, h = p.top, x = n.offsetParent.getBoundingClientRect(), v = x.top, g = i ? window.innerHeight : kP(c), b = Xb(c), S = parseInt(getComputedStyle(n).marginBottom, 10), _ = parseInt(getComputedStyle(n).marginTop, 10), j = v - _, C = g - h, E = j + b, N = f - b - h, R = y - g + b + S, T = b + h - _, k = 160;
|
|
17860
17870
|
switch (o) {
|
|
17861
17871
|
case "auto":
|
|
17862
17872
|
case "bottom":
|
|
@@ -17865,14 +17875,14 @@ function VP(e) {
|
|
|
17865
17875
|
placement: "bottom",
|
|
17866
17876
|
maxHeight: t
|
|
17867
17877
|
};
|
|
17868
|
-
if (
|
|
17869
|
-
return s && Li(c, R,
|
|
17878
|
+
if (N >= m && !i)
|
|
17879
|
+
return s && Li(c, R, k), {
|
|
17870
17880
|
placement: "bottom",
|
|
17871
17881
|
maxHeight: t
|
|
17872
17882
|
};
|
|
17873
|
-
if (!i &&
|
|
17874
|
-
s && Li(c, R,
|
|
17875
|
-
var P = i ? C - S :
|
|
17883
|
+
if (!i && N >= r || i && C >= r) {
|
|
17884
|
+
s && Li(c, R, k);
|
|
17885
|
+
var P = i ? C - S : N - S;
|
|
17876
17886
|
return {
|
|
17877
17887
|
placement: "bottom",
|
|
17878
17888
|
maxHeight: P
|
|
@@ -17898,13 +17908,13 @@ function VP(e) {
|
|
|
17898
17908
|
maxHeight: t
|
|
17899
17909
|
};
|
|
17900
17910
|
if (E >= m && !i)
|
|
17901
|
-
return s && Li(c, T,
|
|
17911
|
+
return s && Li(c, T, k), {
|
|
17902
17912
|
placement: "top",
|
|
17903
17913
|
maxHeight: t
|
|
17904
17914
|
};
|
|
17905
17915
|
if (!i && E >= r || i && j >= r) {
|
|
17906
17916
|
var V = t;
|
|
17907
|
-
return (!i && E >= r || i && j >= r) && (V = i ? j - _ : E - _), s && Li(c, T,
|
|
17917
|
+
return (!i && E >= r || i && j >= r) && (V = i ? j - _ : E - _), s && Li(c, T, k), {
|
|
17908
17918
|
placement: "top",
|
|
17909
17919
|
maxHeight: V
|
|
17910
17920
|
};
|
|
@@ -18030,9 +18040,9 @@ var Jb = function(t) {
|
|
|
18030
18040
|
};
|
|
18031
18041
|
}, []), h = w.useState(null), x = Ue(h, 2), v = x[0], g = x[1], b = w.useCallback(function() {
|
|
18032
18042
|
if (o) {
|
|
18033
|
-
var C = PP(o), E = l === "fixed" ? 0 : window.pageYOffset,
|
|
18034
|
-
(
|
|
18035
|
-
offset:
|
|
18043
|
+
var C = PP(o), E = l === "fixed" ? 0 : window.pageYOffset, N = C[p] + E;
|
|
18044
|
+
(N !== (v == null ? void 0 : v.offset) || C.left !== (v == null ? void 0 : v.rect.left) || C.width !== (v == null ? void 0 : v.rect.width)) && g({
|
|
18045
|
+
offset: N,
|
|
18036
18046
|
rect: C
|
|
18037
18047
|
});
|
|
18038
18048
|
}
|
|
@@ -18305,7 +18315,7 @@ var Jb = function(t) {
|
|
|
18305
18315
|
return K("div", G({}, Te(t, "groupHeading", {
|
|
18306
18316
|
"group-heading": !0
|
|
18307
18317
|
}), r));
|
|
18308
|
-
}, R$ = j$,
|
|
18318
|
+
}, R$ = j$, N$ = ["innerRef", "isDisabled", "isHidden", "inputClassName"], k$ = function(t, n) {
|
|
18309
18319
|
var r = t.isDisabled, o = t.value, s = t.theme, i = s.spacing, l = s.colors;
|
|
18310
18320
|
return H(H({
|
|
18311
18321
|
visibility: r ? "hidden" : "visible",
|
|
@@ -18345,7 +18355,7 @@ var Jb = function(t) {
|
|
|
18345
18355
|
width: "100%"
|
|
18346
18356
|
}, sw);
|
|
18347
18357
|
}, P$ = function(t) {
|
|
18348
|
-
var n = t.cx, r = t.value, o = Qb(t), s = o.innerRef, i = o.isDisabled, l = o.isHidden, c = o.inputClassName, u = mn(o,
|
|
18358
|
+
var n = t.cx, r = t.value, o = Qb(t), s = o.innerRef, i = o.isDisabled, l = o.isHidden, c = o.inputClassName, u = mn(o, N$);
|
|
18349
18359
|
return K("div", G({}, Te(t, "input", {
|
|
18350
18360
|
"input-container": !0
|
|
18351
18361
|
}), {
|
|
@@ -18616,7 +18626,7 @@ var nI = {
|
|
|
18616
18626
|
}, sI = function(t) {
|
|
18617
18627
|
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, s = t.focusableOptions, i = t.isFocused, l = t.selectValue, c = t.selectProps, u = t.id, d = t.isAppleDevice, f = c.ariaLiveMessages, p = c.getOptionLabel, y = c.inputValue, m = c.isMulti, h = c.isOptionDisabled, x = c.isSearchable, v = c.menuIsOpen, g = c.options, b = c.screenReaderStatus, S = c.tabSelectsValue, _ = c.isLoading, j = c["aria-label"], C = c["aria-live"], E = w.useMemo(function() {
|
|
18618
18628
|
return H(H({}, oI), f || {});
|
|
18619
|
-
}, [f]),
|
|
18629
|
+
}, [f]), N = w.useMemo(function() {
|
|
18620
18630
|
var F = "";
|
|
18621
18631
|
if (n && E.onChange) {
|
|
18622
18632
|
var V = n.option, Q = n.options, O = n.removedValue, L = n.removedValues, A = n.value, W = function(pe) {
|
|
@@ -18659,7 +18669,7 @@ var nI = {
|
|
|
18659
18669
|
});
|
|
18660
18670
|
}
|
|
18661
18671
|
return F;
|
|
18662
|
-
}, [s, y, v, E, g, b, _]),
|
|
18672
|
+
}, [s, y, v, E, g, b, _]), k = (n == null ? void 0 : n.action) === "initial-input-focus", P = w.useMemo(function() {
|
|
18663
18673
|
var F = "";
|
|
18664
18674
|
if (E.guidance) {
|
|
18665
18675
|
var V = o ? "value" : v ? "menu" : "input";
|
|
@@ -18670,13 +18680,13 @@ var nI = {
|
|
|
18670
18680
|
isMulti: m,
|
|
18671
18681
|
isSearchable: x,
|
|
18672
18682
|
tabSelectsValue: S,
|
|
18673
|
-
isInitialFocus:
|
|
18683
|
+
isInitialFocus: k
|
|
18674
18684
|
});
|
|
18675
18685
|
}
|
|
18676
18686
|
return F;
|
|
18677
|
-
}, [j, r, o, m, h, x, v, E, l, S,
|
|
18687
|
+
}, [j, r, o, m, h, x, v, E, l, S, k]), D = K(w.Fragment, null, K("span", {
|
|
18678
18688
|
id: "aria-selection"
|
|
18679
|
-
},
|
|
18689
|
+
}, N), K("span", {
|
|
18680
18690
|
id: "aria-focused"
|
|
18681
18691
|
}, R), K("span", {
|
|
18682
18692
|
id: "aria-results"
|
|
@@ -18685,12 +18695,12 @@ var nI = {
|
|
|
18685
18695
|
}, P));
|
|
18686
18696
|
return K(w.Fragment, null, K(sg, {
|
|
18687
18697
|
id: u
|
|
18688
|
-
},
|
|
18698
|
+
}, k && D), K(sg, {
|
|
18689
18699
|
"aria-live": C,
|
|
18690
18700
|
"aria-atomic": "false",
|
|
18691
18701
|
"aria-relevant": "additions text",
|
|
18692
18702
|
role: "log"
|
|
18693
|
-
}, i && !
|
|
18703
|
+
}, i && !k && D));
|
|
18694
18704
|
}, iI = sI, _d = [{
|
|
18695
18705
|
base: "A",
|
|
18696
18706
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
@@ -19005,8 +19015,8 @@ var pI = function(t) {
|
|
|
19005
19015
|
function hI(e) {
|
|
19006
19016
|
var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, o = e.onTopArrive, s = e.onTopLeave, i = w.useRef(!1), l = w.useRef(!1), c = w.useRef(0), u = w.useRef(null), d = w.useCallback(function(x, v) {
|
|
19007
19017
|
if (u.current !== null) {
|
|
19008
|
-
var g = u.current, b = g.scrollTop, S = g.scrollHeight, _ = g.clientHeight, j = u.current, C = v > 0, E = S - _ - b,
|
|
19009
|
-
E > v && i.current && (r && r(x), i.current = !1), C && l.current && (s && s(x), l.current = !1), C && v > E ? (n && !i.current && n(x), j.scrollTop = S,
|
|
19018
|
+
var g = u.current, b = g.scrollTop, S = g.scrollHeight, _ = g.clientHeight, j = u.current, C = v > 0, E = S - _ - b, N = !1;
|
|
19019
|
+
E > v && i.current && (r && r(x), i.current = !1), C && l.current && (s && s(x), l.current = !1), C && v > E ? (n && !i.current && n(x), j.scrollTop = S, N = !0, i.current = !0) : !C && -v > b && (o && !l.current && o(x), j.scrollTop = 0, N = !0, l.current = !0), N && pI(x);
|
|
19010
19020
|
}
|
|
19011
19021
|
}, [n, r, o, s]), f = w.useCallback(function(x) {
|
|
19012
19022
|
d(x, x.deltaY);
|
|
@@ -19161,9 +19171,9 @@ var EI = function(t) {
|
|
|
19161
19171
|
return t.label;
|
|
19162
19172
|
}, RI = function(t) {
|
|
19163
19173
|
return t.label;
|
|
19164
|
-
}, kI = function(t) {
|
|
19165
|
-
return t.value;
|
|
19166
19174
|
}, NI = function(t) {
|
|
19175
|
+
return t.value;
|
|
19176
|
+
}, kI = function(t) {
|
|
19167
19177
|
return !!t.isDisabled;
|
|
19168
19178
|
}, TI = {
|
|
19169
19179
|
clearIndicator: f$,
|
|
@@ -19174,7 +19184,7 @@ var EI = function(t) {
|
|
|
19174
19184
|
groupHeading: C$,
|
|
19175
19185
|
indicatorsContainer: s$,
|
|
19176
19186
|
indicatorSeparator: h$,
|
|
19177
|
-
input:
|
|
19187
|
+
input: k$,
|
|
19178
19188
|
loadingIndicator: v$,
|
|
19179
19189
|
loadingMessage: QP,
|
|
19180
19190
|
menu: zP,
|
|
@@ -19228,13 +19238,13 @@ var EI = function(t) {
|
|
|
19228
19238
|
filterOption: uI(),
|
|
19229
19239
|
formatGroupLabel: EI,
|
|
19230
19240
|
getOptionLabel: RI,
|
|
19231
|
-
getOptionValue:
|
|
19241
|
+
getOptionValue: NI,
|
|
19232
19242
|
isDisabled: !1,
|
|
19233
19243
|
isLoading: !1,
|
|
19234
19244
|
isMulti: !1,
|
|
19235
19245
|
isRtl: !1,
|
|
19236
19246
|
isSearchable: !0,
|
|
19237
|
-
isOptionDisabled:
|
|
19247
|
+
isOptionDisabled: kI,
|
|
19238
19248
|
loadingMessage: function() {
|
|
19239
19249
|
return "Loading...";
|
|
19240
19250
|
},
|
|
@@ -19967,7 +19977,7 @@ var gw = function(t) {
|
|
|
19967
19977
|
}
|
|
19968
19978
|
}), g);
|
|
19969
19979
|
if (x)
|
|
19970
|
-
return S.map(function(E,
|
|
19980
|
+
return S.map(function(E, N) {
|
|
19971
19981
|
var R = E === _, T = "".concat(o.getOptionLabel(E), "-").concat(o.getOptionValue(E));
|
|
19972
19982
|
return /* @__PURE__ */ w.createElement(i, G({}, p, {
|
|
19973
19983
|
components: {
|
|
@@ -19978,7 +19988,7 @@ var gw = function(t) {
|
|
|
19978
19988
|
isFocused: R,
|
|
19979
19989
|
isDisabled: h,
|
|
19980
19990
|
key: T,
|
|
19981
|
-
index:
|
|
19991
|
+
index: N,
|
|
19982
19992
|
removeProps: {
|
|
19983
19993
|
onClick: function() {
|
|
19984
19994
|
return o.removeValue(E);
|
|
@@ -20064,7 +20074,7 @@ var gw = function(t) {
|
|
|
20064
20074
|
}, {
|
|
20065
20075
|
key: "renderMenu",
|
|
20066
20076
|
value: function() {
|
|
20067
|
-
var o = this, s = this.getComponents(), i = s.Group, l = s.GroupHeading, c = s.Menu, u = s.MenuList, d = s.MenuPortal, f = s.LoadingMessage, p = s.NoOptionsMessage, y = s.Option, m = this.commonProps, h = this.state.focusedOption, x = this.props, v = x.captureMenuScroll, g = x.inputValue, b = x.isLoading, S = x.loadingMessage, _ = x.minMenuHeight, j = x.maxMenuHeight, C = x.menuIsOpen, E = x.menuPlacement,
|
|
20077
|
+
var o = this, s = this.getComponents(), i = s.Group, l = s.GroupHeading, c = s.Menu, u = s.MenuList, d = s.MenuPortal, f = s.LoadingMessage, p = s.NoOptionsMessage, y = s.Option, m = this.commonProps, h = this.state.focusedOption, x = this.props, v = x.captureMenuScroll, g = x.inputValue, b = x.isLoading, S = x.loadingMessage, _ = x.minMenuHeight, j = x.maxMenuHeight, C = x.menuIsOpen, E = x.menuPlacement, N = x.menuPosition, R = x.menuPortalTarget, T = x.menuShouldBlockScroll, k = x.menuShouldScrollIntoView, P = x.noOptionsMessage, D = x.onMenuScrollToTop, F = x.onMenuScrollToBottom;
|
|
20068
20078
|
if (!C)
|
|
20069
20079
|
return null;
|
|
20070
20080
|
var V = function(Y, Z) {
|
|
@@ -20134,8 +20144,8 @@ var gw = function(t) {
|
|
|
20134
20144
|
minMenuHeight: _,
|
|
20135
20145
|
maxMenuHeight: j,
|
|
20136
20146
|
menuPlacement: E,
|
|
20137
|
-
menuPosition:
|
|
20138
|
-
menuShouldScrollIntoView:
|
|
20147
|
+
menuPosition: N,
|
|
20148
|
+
menuShouldScrollIntoView: k
|
|
20139
20149
|
}, W = /* @__PURE__ */ w.createElement(qP, G({}, m, A), function(U) {
|
|
20140
20150
|
var Y = U.ref, Z = U.placerProps, J = Z.placement, X = Z.maxHeight;
|
|
20141
20151
|
return /* @__PURE__ */ w.createElement(c, G({}, m, A, {
|
|
@@ -20167,11 +20177,11 @@ var gw = function(t) {
|
|
|
20167
20177
|
}), Q);
|
|
20168
20178
|
}));
|
|
20169
20179
|
});
|
|
20170
|
-
return R ||
|
|
20180
|
+
return R || N === "fixed" ? /* @__PURE__ */ w.createElement(d, G({}, m, {
|
|
20171
20181
|
appendTo: R,
|
|
20172
20182
|
controlElement: this.controlRef,
|
|
20173
20183
|
menuPlacement: E,
|
|
20174
|
-
menuPosition:
|
|
20184
|
+
menuPosition: N
|
|
20175
20185
|
}), W) : W;
|
|
20176
20186
|
}
|
|
20177
20187
|
}, {
|
|
@@ -20275,7 +20285,7 @@ var gw = function(t) {
|
|
|
20275
20285
|
clearFocusValueOnUpdate: !1
|
|
20276
20286
|
};
|
|
20277
20287
|
}
|
|
20278
|
-
var
|
|
20288
|
+
var N = c != null && o !== i ? {
|
|
20279
20289
|
inputIsHidden: c,
|
|
20280
20290
|
inputIsHiddenAfterUpdate: void 0
|
|
20281
20291
|
} : {}, R = u, T = d && f;
|
|
@@ -20283,7 +20293,7 @@ var gw = function(t) {
|
|
|
20283
20293
|
value: Vi(v, g, g[0] || null),
|
|
20284
20294
|
options: g,
|
|
20285
20295
|
action: "initial-input-focus"
|
|
20286
|
-
}, T = !f), (u == null ? void 0 : u.action) === "initial-input-focus" && (R = null), H(H(H({}, b),
|
|
20296
|
+
}, T = !f), (u == null ? void 0 : u.action) === "initial-input-focus" && (R = null), H(H(H({}, b), N), {}, {
|
|
20287
20297
|
prevProps: o,
|
|
20288
20298
|
ariaSelection: R,
|
|
20289
20299
|
prevWasFocused: T
|
|
@@ -20293,7 +20303,7 @@ var gw = function(t) {
|
|
|
20293
20303
|
}(w.Component);
|
|
20294
20304
|
jp.defaultProps = MI;
|
|
20295
20305
|
var VI = /* @__PURE__ */ w.forwardRef(function(e, t) {
|
|
20296
|
-
var n =
|
|
20306
|
+
var n = Nb(e);
|
|
20297
20307
|
return /* @__PURE__ */ w.createElement(jp, G({
|
|
20298
20308
|
ref: t
|
|
20299
20309
|
}, n));
|
|
@@ -20496,19 +20506,19 @@ function XI({
|
|
|
20496
20506
|
return null;
|
|
20497
20507
|
const m = y + 1, x = ed(p) / s, v = p.requested - p.used, g = Math.max(0, v), b = p.isCredit ? s / p.exchangeRates.base.unitCost : p.requested, S = b == 0 ? 0 : 100 * g / b, j = `var(--bs-${p.isCredit ? n : r[y % r.length]})`;
|
|
20498
20508
|
if (x > 0) {
|
|
20499
|
-
const C = d, E = d + x / 2,
|
|
20509
|
+
const C = d, E = d + x / 2, N = d += x, R = x > 0.5 ? 1 : 0, T = [
|
|
20500
20510
|
`M ${os(C, 100)}`,
|
|
20501
|
-
`A 100 100 0 ${R} 1 ${os(
|
|
20502
|
-
`L ${os(
|
|
20511
|
+
`A 100 100 0 ${R} 1 ${os(N, 100)}`,
|
|
20512
|
+
`L ${os(N, 50)}`,
|
|
20503
20513
|
`A 50 50 0 ${R} 0 ${os(C, 50)}`
|
|
20504
|
-
].join(" "), [
|
|
20514
|
+
].join(" "), [k, P] = os(E, 75).split(" ").map((D) => parseFloat(D));
|
|
20505
20515
|
c.push(
|
|
20506
20516
|
/* @__PURE__ */ a.jsx("path", { d: T, style: { fill: j } }, p.resourceId)
|
|
20507
20517
|
), u.push(
|
|
20508
20518
|
/* @__PURE__ */ a.jsx(
|
|
20509
20519
|
"circle",
|
|
20510
20520
|
{
|
|
20511
|
-
cx:
|
|
20521
|
+
cx: k,
|
|
20512
20522
|
cy: P,
|
|
20513
20523
|
r: "8",
|
|
20514
20524
|
fill: "black"
|
|
@@ -20518,7 +20528,7 @@ function XI({
|
|
|
20518
20528
|
/* @__PURE__ */ a.jsx(
|
|
20519
20529
|
"text",
|
|
20520
20530
|
{
|
|
20521
|
-
x:
|
|
20531
|
+
x: k - 4,
|
|
20522
20532
|
y: P + 4,
|
|
20523
20533
|
fill: "white",
|
|
20524
20534
|
className: xn.number,
|
|
@@ -20651,12 +20661,12 @@ function JI({ requestId: e, grantNumber: t }) {
|
|
|
20651
20661
|
), y = w.useRef(null), m = w.useRef(null);
|
|
20652
20662
|
if (!n || !p)
|
|
20653
20663
|
return;
|
|
20654
|
-
const h = "Exchange" in n.allowedActions, x = "Renewal" in n.allowedActions, v = "Supplement" in n.allowedActions, g = n.exchangeStatus == c.pending, b = n.exchangeStatus == c.success, S = n.exchangeStatus == c.error, _ = n.exchangeErrors, j = n.exchangeActionId !== null, C = n.exchangeActionEditable, E = n.resources,
|
|
20664
|
+
const h = "Exchange" in n.allowedActions, x = "Renewal" in n.allowedActions, v = "Supplement" in n.allowedActions, g = n.exchangeStatus == c.pending, b = n.exchangeStatus == c.success, S = n.exchangeStatus == c.error, _ = n.exchangeErrors, j = n.exchangeActionId !== null, C = n.exchangeActionEditable, E = n.resources, N = n.resourcesReason, R = {};
|
|
20655
20665
|
for (let M of E)
|
|
20656
20666
|
R[M.resourceId] = M;
|
|
20657
20667
|
const T = () => {
|
|
20658
20668
|
hx(n) >= 0.75 ? u() : d();
|
|
20659
|
-
},
|
|
20669
|
+
}, k = [];
|
|
20660
20670
|
for (let M of E) {
|
|
20661
20671
|
let z = [];
|
|
20662
20672
|
if (M.requested > 0) {
|
|
@@ -20670,7 +20680,7 @@ function JI({ requestId: e, grantNumber: t }) {
|
|
|
20670
20680
|
z.push(ee);
|
|
20671
20681
|
}
|
|
20672
20682
|
}
|
|
20673
|
-
z.length &&
|
|
20683
|
+
z.length && k.push(
|
|
20674
20684
|
/* @__PURE__ */ a.jsxs("span", { children: [
|
|
20675
20685
|
/* @__PURE__ */ a.jsx(Rr, { resource: M, userGuide: !1 }),
|
|
20676
20686
|
" requires",
|
|
@@ -20691,7 +20701,7 @@ function JI({ requestId: e, grantNumber: t }) {
|
|
|
20691
20701
|
);
|
|
20692
20702
|
}
|
|
20693
20703
|
}
|
|
20694
|
-
const P =
|
|
20704
|
+
const P = k.length > 0;
|
|
20695
20705
|
let D;
|
|
20696
20706
|
b ? D = /* @__PURE__ */ a.jsx(Se, { color: "info", children: "Your exchange request has been submitted." }) : S && _.length > 0 && _[0].includes("PI") && _[0].includes("person status Unknown") ? D = /* @__PURE__ */ a.jsx(Se, { color: "danger", children: p.currentUser.role === "pi" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
20697
20707
|
"Please",
|
|
@@ -20718,10 +20728,10 @@ function JI({ requestId: e, grantNumber: t }) {
|
|
|
20718
20728
|
Df(p),
|
|
20719
20729
|
" to request a change."
|
|
20720
20730
|
] }) : P && (D = /* @__PURE__ */ a.jsxs(Se, { color: "warning", children: [
|
|
20721
|
-
|
|
20731
|
+
k,
|
|
20722
20732
|
" Please adjust your balance values."
|
|
20723
20733
|
] }));
|
|
20724
|
-
const F =
|
|
20734
|
+
const F = N.length > 0;
|
|
20725
20735
|
let V = !1, Q = !1;
|
|
20726
20736
|
for (let M of E)
|
|
20727
20737
|
if (M.isNew && (V = !0), M.allocated != M.requested && (Q = !0), V && Q)
|
|
@@ -20966,7 +20976,7 @@ function JI({ requestId: e, grantNumber: t }) {
|
|
|
20966
20976
|
className: "form-control",
|
|
20967
20977
|
id: "resources-reason",
|
|
20968
20978
|
rows: "2",
|
|
20969
|
-
value:
|
|
20979
|
+
value: N,
|
|
20970
20980
|
onChange: (M) => l(M.target.value),
|
|
20971
20981
|
style: { minHeight: "3rem" }
|
|
20972
20982
|
}
|
|
@@ -21307,7 +21317,7 @@ var rA = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
|
|
|
21307
21317
|
function oA(e) {
|
|
21308
21318
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, s = e.loadOptions;
|
|
21309
21319
|
e.options;
|
|
21310
|
-
var i = e.isLoading, l = i === void 0 ? !1 : i, c = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, f = mn(e, rA), p = f.inputValue, y = w.useRef(void 0), m = w.useRef(!1), h = w.useState(Array.isArray(n) ? n : void 0), x = Ue(h, 2), v = x[0], g = x[1], b = w.useState(typeof p < "u" ? p : ""), S = Ue(b, 2), _ = S[0], j = S[1], C = w.useState(n === !0), E = Ue(C, 2),
|
|
21320
|
+
var i = e.isLoading, l = i === void 0 ? !1 : i, c = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, f = mn(e, rA), p = f.inputValue, y = w.useRef(void 0), m = w.useRef(!1), h = w.useState(Array.isArray(n) ? n : void 0), x = Ue(h, 2), v = x[0], g = x[1], b = w.useState(typeof p < "u" ? p : ""), S = Ue(b, 2), _ = S[0], j = S[1], C = w.useState(n === !0), E = Ue(C, 2), N = E[0], R = E[1], T = w.useState(void 0), k = Ue(T, 2), P = k[0], D = k[1], F = w.useState([]), V = Ue(F, 2), Q = V[0], O = V[1], L = w.useState(!1), A = Ue(L, 2), W = A[0], U = A[1], Y = w.useState({}), Z = Ue(Y, 2), J = Z[0], X = Z[1], se = w.useState(void 0), pe = Ue(se, 2), M = pe[0], z = pe[1], ve = w.useState(void 0), ee = Ue(ve, 2), Oe = ee[0], De = ee[1];
|
|
21311
21321
|
o !== Oe && (X({}), De(o)), n !== M && (g(Array.isArray(n) ? n : void 0), z(n)), w.useEffect(function() {
|
|
21312
21322
|
return m.current = !0, function() {
|
|
21313
21323
|
m.current = !1;
|
|
@@ -21327,7 +21337,7 @@ function oA(e) {
|
|
|
21327
21337
|
});
|
|
21328
21338
|
}, []);
|
|
21329
21339
|
var Ot = w.useCallback(function(gn, en) {
|
|
21330
|
-
var je =
|
|
21340
|
+
var je = NP(gn, en, c);
|
|
21331
21341
|
if (!je) {
|
|
21332
21342
|
y.current = void 0, j(""), D(""), O([]), R(!1), U(!1);
|
|
21333
21343
|
return;
|
|
@@ -21343,13 +21353,13 @@ function oA(e) {
|
|
|
21343
21353
|
}, [o, ie, P, J, c]), lt = W ? [] : _ && P ? Q : v || [];
|
|
21344
21354
|
return H(H({}, f), {}, {
|
|
21345
21355
|
options: lt,
|
|
21346
|
-
isLoading:
|
|
21356
|
+
isLoading: N || l,
|
|
21347
21357
|
onInputChange: Ot,
|
|
21348
21358
|
filterOption: d
|
|
21349
21359
|
});
|
|
21350
21360
|
}
|
|
21351
21361
|
var sA = /* @__PURE__ */ w.forwardRef(function(e, t) {
|
|
21352
|
-
var n = oA(e), r =
|
|
21362
|
+
var n = oA(e), r = Nb(n);
|
|
21353
21363
|
return /* @__PURE__ */ w.createElement(jp, G({
|
|
21354
21364
|
ref: t
|
|
21355
21365
|
}, r));
|
|
@@ -21426,14 +21436,14 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21426
21436
|
" to request a change."
|
|
21427
21437
|
] });
|
|
21428
21438
|
const j = (R, T) => {
|
|
21429
|
-
let
|
|
21439
|
+
let k, P, D, F;
|
|
21430
21440
|
if (T.key == "all") {
|
|
21431
|
-
|
|
21441
|
+
k = "all resources for all users", P = (V) => u(V), D = 0;
|
|
21432
21442
|
for (let V of x)
|
|
21433
21443
|
D += V.resourceIds.length;
|
|
21434
21444
|
F = x.length * v.length;
|
|
21435
21445
|
} else
|
|
21436
|
-
|
|
21446
|
+
k = `all users for ${T.name}`, P = (V) => u(V, null, T.key), D = x.filter(
|
|
21437
21447
|
({ resourceIds: V }) => V.includes(T.key)
|
|
21438
21448
|
).length, F = x.length;
|
|
21439
21449
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -21442,7 +21452,7 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21442
21452
|
/* @__PURE__ */ a.jsx(
|
|
21443
21453
|
xg,
|
|
21444
21454
|
{
|
|
21445
|
-
description:
|
|
21455
|
+
description: k,
|
|
21446
21456
|
disabled: T.disabled,
|
|
21447
21457
|
onChange: P,
|
|
21448
21458
|
selectedLength: D,
|
|
@@ -21467,7 +21477,7 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21467
21477
|
{
|
|
21468
21478
|
className: "form-select",
|
|
21469
21479
|
value: R,
|
|
21470
|
-
onChange: (
|
|
21480
|
+
onChange: (k) => l(T.username, k.target.value),
|
|
21471
21481
|
disabled: !f || R == "pi" || R == "co_pi",
|
|
21472
21482
|
style: {
|
|
21473
21483
|
position: "absolute",
|
|
@@ -21478,7 +21488,7 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21478
21488
|
borderWidth: 0
|
|
21479
21489
|
},
|
|
21480
21490
|
children: C.filter(
|
|
21481
|
-
(
|
|
21491
|
+
(k) => k.key == R || !["pi", "co_pi"].includes(k.key)
|
|
21482
21492
|
)
|
|
21483
21493
|
}
|
|
21484
21494
|
)
|
|
@@ -21495,7 +21505,7 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21495
21505
|
{
|
|
21496
21506
|
description: `all users for ${T.name}`,
|
|
21497
21507
|
disabled: !f || g,
|
|
21498
|
-
onChange: (
|
|
21508
|
+
onChange: (k) => u(k, T.username),
|
|
21499
21509
|
selectedLength: T.resourceIds.length,
|
|
21500
21510
|
totalLength: v.length
|
|
21501
21511
|
}
|
|
@@ -21509,23 +21519,23 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21509
21519
|
class: "text-center",
|
|
21510
21520
|
disabled: !f || !R.isActive,
|
|
21511
21521
|
icon: R.icon,
|
|
21512
|
-
format: (T,
|
|
21522
|
+
format: (T, k) => /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
|
|
21513
21523
|
"input",
|
|
21514
21524
|
{
|
|
21515
21525
|
className: "form-check-input",
|
|
21516
21526
|
disabled: !f || !R.isActive,
|
|
21517
21527
|
onChange: (P) => u(
|
|
21518
21528
|
P.target.checked,
|
|
21519
|
-
|
|
21529
|
+
k.username,
|
|
21520
21530
|
R.resourceId
|
|
21521
21531
|
),
|
|
21522
21532
|
type: "checkbox",
|
|
21523
|
-
checked:
|
|
21533
|
+
checked: k.resourceIds.includes(R.resourceId)
|
|
21524
21534
|
}
|
|
21525
21535
|
) }),
|
|
21526
21536
|
formatHeader: j
|
|
21527
21537
|
});
|
|
21528
|
-
const
|
|
21538
|
+
const N = x.map(
|
|
21529
21539
|
(R) => R.hasChanges ? Cr.edited : ""
|
|
21530
21540
|
);
|
|
21531
21541
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -21538,7 +21548,7 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21538
21548
|
frozenColumns: v.length ? 4 : 3,
|
|
21539
21549
|
classes: "mb-0",
|
|
21540
21550
|
minWidth: "800px",
|
|
21541
|
-
rowClasses:
|
|
21551
|
+
rowClasses: N,
|
|
21542
21552
|
scrollRowIndex: n.usersNewRowIndex
|
|
21543
21553
|
}
|
|
21544
21554
|
),
|
|
@@ -21546,9 +21556,36 @@ function aA({ grantNumber: e, requestId: t }) {
|
|
|
21546
21556
|
iA,
|
|
21547
21557
|
{
|
|
21548
21558
|
classNames: { control: () => "react-select" },
|
|
21549
|
-
loadOptions: async (R) => (await PE(R)).map((
|
|
21550
|
-
|
|
21551
|
-
label:
|
|
21559
|
+
loadOptions: async (R) => (await PE(R)).map((k) => ({
|
|
21560
|
+
isDisabled: k.eligibility === "no",
|
|
21561
|
+
label: /* @__PURE__ */ a.jsxs("span", { className: "d-flex justify-content-between", children: [
|
|
21562
|
+
/* @__PURE__ */ a.jsxs(
|
|
21563
|
+
"span",
|
|
21564
|
+
{
|
|
21565
|
+
className: k.eligibility === "no" ? "text-decoration-line-through" : "",
|
|
21566
|
+
style: {
|
|
21567
|
+
color: k.eligibility === "no" ? "#707070" : void 0
|
|
21568
|
+
},
|
|
21569
|
+
children: [
|
|
21570
|
+
k.username,
|
|
21571
|
+
" (",
|
|
21572
|
+
k.firstName,
|
|
21573
|
+
" ",
|
|
21574
|
+
k.lastName,
|
|
21575
|
+
",",
|
|
21576
|
+
" ",
|
|
21577
|
+
k.organization,
|
|
21578
|
+
k.email ? `, ${k.email}` : ""
|
|
21579
|
+
]
|
|
21580
|
+
}
|
|
21581
|
+
),
|
|
21582
|
+
k.eligibility === "no" && k.eligibilityReason && /* @__PURE__ */ a.jsxs("span", { className: "text-danger ms-2", children: [
|
|
21583
|
+
/* @__PURE__ */ a.jsx("i", { className: "bi bi-exclamation-octagon" }),
|
|
21584
|
+
" ",
|
|
21585
|
+
k.eligibilityReason
|
|
21586
|
+
] })
|
|
21587
|
+
] }),
|
|
21588
|
+
value: k
|
|
21552
21589
|
})),
|
|
21553
21590
|
onChange: (R) => r(R.value),
|
|
21554
21591
|
placeholder: "Add another user...",
|
|
@@ -21617,7 +21654,7 @@ function lA({ requestId: e, grantNumber: t }) {
|
|
|
21617
21654
|
}
|
|
21618
21655
|
) : null
|
|
21619
21656
|
] }) : null,
|
|
21620
|
-
/* @__PURE__ */ a.jsxs(
|
|
21657
|
+
/* @__PURE__ */ a.jsxs(gN, { activeKey: r.tab, onSelect: s, className: "mt-3 mb-3", children: [
|
|
21621
21658
|
/* @__PURE__ */ a.jsx($i, { eventKey: "overview", title: "Overview", className: "mb-0", children: /* @__PURE__ */ a.jsx(YT, { requestId: e, grantNumber: t }) }),
|
|
21622
21659
|
/* @__PURE__ */ a.jsx(
|
|
21623
21660
|
$i,
|
|
@@ -21891,7 +21928,7 @@ const yw = {
|
|
|
21891
21928
|
"projectsBrowser/initApp",
|
|
21892
21929
|
async (e, { getState: t, dispatch: n }) => {
|
|
21893
21930
|
const r = window.location.search, o = new URLSearchParams(r);
|
|
21894
|
-
o.has("_requestNumber") && (n(Ed({ name: "requestNumber", value: o.get("_requestNumber") })), n(bw(!0))), await n(jd()), await n(
|
|
21931
|
+
o.has("_requestNumber") && (n(Ed({ name: "requestNumber", value: o.get("_requestNumber") })), n(bw(!0))), await n(jd()), await n(Nr()), n(pA());
|
|
21895
21932
|
}
|
|
21896
21933
|
), pA = Qe(
|
|
21897
21934
|
"projectsBrowser/filterCleanup",
|
|
@@ -21908,7 +21945,7 @@ const yw = {
|
|
|
21908
21945
|
const o = `${t().projectsBrowser.apiUrl}?filters=1`, i = await (await fetch(o)).json();
|
|
21909
21946
|
n(xw(i.filters));
|
|
21910
21947
|
}
|
|
21911
|
-
),
|
|
21948
|
+
), Nr = Qe(
|
|
21912
21949
|
"projectsBrowser/getProjects",
|
|
21913
21950
|
async (e, { getState: t, dispatch: n }) => {
|
|
21914
21951
|
const r = t().projectsBrowser, o = r.filters, s = r.typeLists, i = s.fosTypes.filter((d) => d.checked);
|
|
@@ -21959,12 +21996,12 @@ const yw = {
|
|
|
21959
21996
|
}
|
|
21960
21997
|
},
|
|
21961
21998
|
extraReducers: (e) => {
|
|
21962
|
-
e.addCase(
|
|
21999
|
+
e.addCase(Nr.pending, (t) => {
|
|
21963
22000
|
t.projectsLoaded = !1;
|
|
21964
|
-
}).addCase(
|
|
22001
|
+
}).addCase(Nr.fulfilled, (t, n) => {
|
|
21965
22002
|
const r = n.payload;
|
|
21966
22003
|
t.projectsLoaded = !0, t.projects = r.projects, r.pages != t.pageData.last_page && (t.pageData.current_page = 1), t.showPagination = !0, t.pageData.last_page = r.pages;
|
|
21967
|
-
}).addCase(
|
|
22004
|
+
}).addCase(Nr.rejected, (t, n) => {
|
|
21968
22005
|
console.log(n.error);
|
|
21969
22006
|
}).addCase(jd.pending, (t) => {
|
|
21970
22007
|
t.filtersLoaded = !1;
|
|
@@ -21995,9 +22032,9 @@ const RA = () => {
|
|
|
21995
22032
|
}, u = (h) => {
|
|
21996
22033
|
e(Ed({ name: h.target.name, value: h.target.value }));
|
|
21997
22034
|
}, d = () => {
|
|
21998
|
-
window.scrollTo(0, 0), p(!0), e(Cd(!1)), e(dl({ current_page: 1 })), e(
|
|
22035
|
+
window.scrollTo(0, 0), p(!0), e(Cd(!1)), e(dl({ current_page: 1 })), e(Nr());
|
|
21999
22036
|
}, f = () => {
|
|
22000
|
-
l(null), e(Cd(!1)), e(dl({ current_page: 1 })), e(hA()), r && (window.scrollTo(0, 0), e(
|
|
22037
|
+
l(null), e(Cd(!1)), e(dl({ current_page: 1 })), e(hA()), r && (window.scrollTo(0, 0), e(Nr()), p(!1));
|
|
22001
22038
|
}, p = (h) => {
|
|
22002
22039
|
e(bw(h));
|
|
22003
22040
|
}, y = (h) => {
|
|
@@ -22120,7 +22157,7 @@ const RA = () => {
|
|
|
22120
22157
|
] })
|
|
22121
22158
|
] }) });
|
|
22122
22159
|
};
|
|
22123
|
-
const
|
|
22160
|
+
const NA = ({ project: e }) => {
|
|
22124
22161
|
const t = e.resources, [n, r] = w.useState(!1), o = fe(bA);
|
|
22125
22162
|
let s = {
|
|
22126
22163
|
flush: !0,
|
|
@@ -22261,9 +22298,9 @@ const kA = ({ project: e }) => {
|
|
|
22261
22298
|
v()
|
|
22262
22299
|
] })
|
|
22263
22300
|
] });
|
|
22264
|
-
},
|
|
22301
|
+
}, kA = () => {
|
|
22265
22302
|
const e = fe(_A);
|
|
22266
|
-
return e.length == 0 ? /* @__PURE__ */ a.jsx("div", { children: "No Projects Found" }) : /* @__PURE__ */ a.jsx("div", { children: e.map((t, n) => /* @__PURE__ */ a.jsx(
|
|
22303
|
+
return e.length == 0 ? /* @__PURE__ */ a.jsx("div", { children: "No Projects Found" }) : /* @__PURE__ */ a.jsx("div", { children: e.map((t, n) => /* @__PURE__ */ a.jsx(NA, { project: t }, `project_${n}`)) });
|
|
22267
22304
|
};
|
|
22268
22305
|
const wg = () => {
|
|
22269
22306
|
const e = it(), t = fe(SA), [n, r] = w.useState([]), [o, s] = w.useState("0"), i = Array.from(
|
|
@@ -22275,7 +22312,7 @@ const wg = () => {
|
|
|
22275
22312
|
}, [t]);
|
|
22276
22313
|
const u = (m) => {
|
|
22277
22314
|
const h = parseInt(m);
|
|
22278
|
-
e(dl({ current_page: m })), e(
|
|
22315
|
+
e(dl({ current_page: m })), e(Nr(h));
|
|
22279
22316
|
}, d = (m) => (event.preventDefault(), s("0"), u(m), !1), f = () => {
|
|
22280
22317
|
const m = [];
|
|
22281
22318
|
if (t.last_page > l)
|
|
@@ -22365,7 +22402,7 @@ const wg = () => {
|
|
|
22365
22402
|
/* @__PURE__ */ a.jsx("div", { className: "col-sm-3", children: /* @__PURE__ */ a.jsx(RA, {}) }),
|
|
22366
22403
|
/* @__PURE__ */ a.jsxs("div", { className: "col-sm-9", children: [
|
|
22367
22404
|
/* @__PURE__ */ a.jsx("div", { className: "row", children: /* @__PURE__ */ a.jsx("div", { className: "col", children: o ? /* @__PURE__ */ a.jsx(wg, {}) : "" }) }),
|
|
22368
|
-
/* @__PURE__ */ a.jsx("div", { className: "row", id: "projectListRow", children: /* @__PURE__ */ a.jsx("div", { className: "col", children: n && r ? /* @__PURE__ */ a.jsx(
|
|
22405
|
+
/* @__PURE__ */ a.jsx("div", { className: "row", id: "projectListRow", children: /* @__PURE__ */ a.jsx("div", { className: "col", children: n && r ? /* @__PURE__ */ a.jsx(kA, {}) : s }) }),
|
|
22369
22406
|
/* @__PURE__ */ a.jsx("div", { className: "row", children: /* @__PURE__ */ a.jsx("div", { className: "col", children: o ? /* @__PURE__ */ a.jsx(wg, { scroll: "projects_browser_app" }) : "" }) })
|
|
22370
22407
|
] })
|
|
22371
22408
|
] }) });
|
|
@@ -22395,7 +22432,7 @@ const wg = () => {
|
|
|
22395
22432
|
}), Qs = (e) => ({
|
|
22396
22433
|
type: "UPDATE_ERRORS",
|
|
22397
22434
|
payload: e
|
|
22398
|
-
}),
|
|
22435
|
+
}), Nw = (e) => ({
|
|
22399
22436
|
type: "HIDE_ERROR",
|
|
22400
22437
|
payload: e
|
|
22401
22438
|
}), qA = (e) => ({
|
|
@@ -22407,7 +22444,7 @@ const wg = () => {
|
|
|
22407
22444
|
}), WA = (e) => ({
|
|
22408
22445
|
type: "DATA_LOADED",
|
|
22409
22446
|
payload: e
|
|
22410
|
-
}),
|
|
22447
|
+
}), kw = (e) => ({
|
|
22411
22448
|
type: "UPDATE_SHOW_SAVED",
|
|
22412
22449
|
payload: e
|
|
22413
22450
|
}), KA = () => ({
|
|
@@ -22482,7 +22519,7 @@ const JA = () => async (e, t) => {
|
|
|
22482
22519
|
);
|
|
22483
22520
|
if (!l) {
|
|
22484
22521
|
i.length > 0 && Array.from(i).forEach((y) => {
|
|
22485
|
-
e(
|
|
22522
|
+
e(Nw(y.id));
|
|
22486
22523
|
});
|
|
22487
22524
|
const p = XA(c);
|
|
22488
22525
|
e(Qs(p));
|
|
@@ -22504,7 +22541,7 @@ const JA = () => async (e, t) => {
|
|
|
22504
22541
|
body: JSON.stringify(u)
|
|
22505
22542
|
}).then(
|
|
22506
22543
|
(p) => {
|
|
22507
|
-
n.redirect ? window.location.href = te.routes.publications_path() : (s.publication_id || (e(KA()), e(Ow())), e(
|
|
22544
|
+
n.redirect ? window.location.href = te.routes.publications_path() : (s.publication_id || (e(KA()), e(Ow())), e(kw(!0)), e(Xc(!1)));
|
|
22508
22545
|
},
|
|
22509
22546
|
() => {
|
|
22510
22547
|
e(Xc(!1)), e(Qs("There was an error saving this publication."));
|
|
@@ -22877,11 +22914,11 @@ const JA = () => async (e, t) => {
|
|
|
22877
22914
|
]
|
|
22878
22915
|
},
|
|
22879
22916
|
`err_${n.id}`
|
|
22880
|
-
)) }),
|
|
22917
|
+
)) }), N2 = (e) => ({
|
|
22881
22918
|
errors: DA(e)
|
|
22882
|
-
}),
|
|
22883
|
-
hideError: (t) => e(
|
|
22884
|
-
}), T2 = Jt(
|
|
22919
|
+
}), k2 = (e) => ({
|
|
22920
|
+
hideError: (t) => e(Nw(t))
|
|
22921
|
+
}), T2 = Jt(N2, k2)(R2), O2 = ({ show_saved: e, updateShowSaved: t }) => {
|
|
22885
22922
|
const n = /* @__PURE__ */ a.jsxs("div", { className: "alert alert-success alert-dismissible sticky-top", children: [
|
|
22886
22923
|
"Publication Saved Successfully!",
|
|
22887
22924
|
/* @__PURE__ */ a.jsx(
|
|
@@ -22898,7 +22935,7 @@ const JA = () => async (e, t) => {
|
|
|
22898
22935
|
}, P2 = (e) => ({
|
|
22899
22936
|
show_saved: _w(e)
|
|
22900
22937
|
}), $2 = (e) => ({
|
|
22901
|
-
updateShowSaved: (t) => e(
|
|
22938
|
+
updateShowSaved: (t) => e(kw(t))
|
|
22902
22939
|
}), I2 = Jt(P2, $2)(O2), A2 = ({ getData: e, data_loaded: t }) => (w.useEffect(() => {
|
|
22903
22940
|
e();
|
|
22904
22941
|
}, []), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -23047,7 +23084,7 @@ const JA = () => async (e, t) => {
|
|
|
23047
23084
|
] }),
|
|
23048
23085
|
/* @__PURE__ */ a.jsx(V2, { updatePublications: d })
|
|
23049
23086
|
] });
|
|
23050
|
-
}, z2 = () => `${Math.random().toString(36).slice(2)}`,
|
|
23087
|
+
}, z2 = () => `${Math.random().toString(36).slice(2)}`, Nd = document.querySelector("#publications-react"), q2 = Nd ? Nd.dataset : {}, _g = {
|
|
23051
23088
|
publication_types: [],
|
|
23052
23089
|
tag_categories: [],
|
|
23053
23090
|
publication: {},
|
|
@@ -23058,7 +23095,7 @@ const JA = () => async (e, t) => {
|
|
|
23058
23095
|
saving: !1,
|
|
23059
23096
|
show_saved: !1,
|
|
23060
23097
|
redirect: q2.redirect || !1,
|
|
23061
|
-
modal:
|
|
23098
|
+
modal: Nd == null,
|
|
23062
23099
|
form_valid: !1,
|
|
23063
23100
|
grant_number: ""
|
|
23064
23101
|
}, H2 = (e = _g, t) => {
|
|
@@ -23245,18 +23282,18 @@ const K2 = (e) => {
|
|
|
23245
23282
|
selected: !1,
|
|
23246
23283
|
catalogId: s.catalogLabel.replace(/[^(A-z)]/, "")
|
|
23247
23284
|
}, delete t[s.catalogLabel].data, s.data.forEach((i) => {
|
|
23248
|
-
if (
|
|
23285
|
+
if (kd(s.allowedResources, s.excludedResources, i.resourceName)) {
|
|
23249
23286
|
const { categories: l, formattedResource: c } = Y2(s, i, r);
|
|
23250
23287
|
n[i.resourceId] = c, t[s.catalogLabel].resourceIds.push(i.resourceId), r = l;
|
|
23251
23288
|
}
|
|
23252
23289
|
});
|
|
23253
23290
|
}), { resources: Object.keys(n).map((s) => n[s]), catalogs: t, categories: r };
|
|
23254
|
-
},
|
|
23291
|
+
}, kd = (e, t, n) => !e && !t || e && e.length == 0 && t && t.length == 0 ? !0 : e && e.length > 0 ? e.find((r) => r == n) : t && t.length > 0 ? !t.find((r) => r == n) : !0, Y2 = (e, t, n) => {
|
|
23255
23292
|
const r = [];
|
|
23256
23293
|
let o = "";
|
|
23257
23294
|
t.featureCategories.filter((l) => l.categoryIsFilter).forEach((l) => {
|
|
23258
23295
|
const c = l.categoryId;
|
|
23259
|
-
l.categoryName == "ACCESS Resource Grouping" ? o = l.features[0].name : (!n[c] &&
|
|
23296
|
+
l.categoryName == "ACCESS Resource Grouping" ? o = l.features[0].name : (!n[c] && kd(
|
|
23260
23297
|
e.allowedCategories,
|
|
23261
23298
|
e.excludedCategories,
|
|
23262
23299
|
l.categoryName
|
|
@@ -23272,7 +23309,7 @@ const K2 = (e) => {
|
|
|
23272
23309
|
description: u.description,
|
|
23273
23310
|
categoryId: c,
|
|
23274
23311
|
selected: !1
|
|
23275
|
-
}, f =
|
|
23312
|
+
}, f = kd(
|
|
23276
23313
|
e.allowedFilters,
|
|
23277
23314
|
e.excludedFilters,
|
|
23278
23315
|
d.name
|
|
@@ -23698,7 +23735,7 @@ const K2 = (e) => {
|
|
|
23698
23735
|
t.hasErrors = !0, console.log(n.error);
|
|
23699
23736
|
});
|
|
23700
23737
|
}
|
|
23701
|
-
}), { handleResponse: jM, processData: oD, resetFilters: CM, toggleFilter: EM } = Dw.actions, RM = (e) => e.resourceCatalog.hasErrors,
|
|
23738
|
+
}), { handleResponse: jM, processData: oD, resetFilters: CM, toggleFilter: EM } = Dw.actions, RM = (e) => e.resourceCatalog.hasErrors, NM = (e) => e.resourceCatalog.resourcesLoaded, kM = (e) => e.resourceCatalog.filters, TM = (e) => e.resourceCatalog.filteredResources, OM = Dw.reducer, PM = ({ resource: e }) => {
|
|
23702
23739
|
const t = (r) => r.length == 0 ? "" : /* @__PURE__ */ a.jsx("ul", { children: r.map((o, s) => /* @__PURE__ */ a.jsx("li", { children: o }, `feature_${e.resourceId}_${s}`)) }), n = (r, o) => o && o != "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
23703
23740
|
/* @__PURE__ */ a.jsx("div", { className: "row", children: /* @__PURE__ */ a.jsx("div", { className: "col fw-bold", children: r }) }),
|
|
23704
23741
|
/* @__PURE__ */ a.jsx("div", { className: "row mb-3", children: /* @__PURE__ */ a.jsx(
|
|
@@ -23785,7 +23822,7 @@ const K2 = (e) => {
|
|
|
23785
23822
|
/* @__PURE__ */ a.jsx("div", { className: "fw-bold mb-1 mt-1", children: /* @__PURE__ */ a.jsx("abbr", { title: e.categoryDescription, children: e.categoryName }) }),
|
|
23786
23823
|
e.features.map((t) => /* @__PURE__ */ a.jsx(IM, { filter: t }, t.featureId))
|
|
23787
23824
|
] }) }), MM = () => {
|
|
23788
|
-
const e = it(), t = fe(
|
|
23825
|
+
const e = it(), t = fe(kM), n = t.filter(
|
|
23789
23826
|
(r) => r.features.filter((o) => o.selected).length > 0
|
|
23790
23827
|
);
|
|
23791
23828
|
return /* @__PURE__ */ a.jsxs("div", { children: [
|
|
@@ -23809,7 +23846,7 @@ const K2 = (e) => {
|
|
|
23809
23846
|
allowedCategories: o = [],
|
|
23810
23847
|
allowedFilters: s = []
|
|
23811
23848
|
}) => {
|
|
23812
|
-
const i = it(), l = fe(
|
|
23849
|
+
const i = it(), l = fe(NM), c = fe(RM);
|
|
23813
23850
|
return w.useEffect(() => {
|
|
23814
23851
|
i(
|
|
23815
23852
|
ha({
|
|
@@ -23849,9 +23886,9 @@ const K2 = (e) => {
|
|
|
23849
23886
|
}, FM = Qe(
|
|
23850
23887
|
"publicationsBrowser/initApp",
|
|
23851
23888
|
async (e, { getState: t, dispatch: n }) => {
|
|
23852
|
-
await n(
|
|
23889
|
+
await n(kr()), await n(Lw());
|
|
23853
23890
|
}
|
|
23854
|
-
),
|
|
23891
|
+
), kr = Qe(
|
|
23855
23892
|
"publicationsBrowser/getPublications",
|
|
23856
23893
|
async (e, { getState: t }) => {
|
|
23857
23894
|
const n = t().publicationsBrowser;
|
|
@@ -23889,11 +23926,11 @@ const K2 = (e) => {
|
|
|
23889
23926
|
}
|
|
23890
23927
|
},
|
|
23891
23928
|
extraReducers: (e) => {
|
|
23892
|
-
e.addCase(
|
|
23929
|
+
e.addCase(kr.pending, (t) => {
|
|
23893
23930
|
t.publicationsLoaded = !1, t.error = null;
|
|
23894
|
-
}).addCase(
|
|
23931
|
+
}).addCase(kr.fulfilled, (t, n) => {
|
|
23895
23932
|
t.publicationsLoaded = !0, t.publications = n.payload.publications || [], n.payload.pagination && n.payload.pagination.last_page !== t.pageData.last_page && (t.pageData.current_page = 1), t.showPagination = !0, n.payload.pagination && (t.pageData.last_page = n.payload.pagination.last_page);
|
|
23896
|
-
}).addCase(
|
|
23933
|
+
}).addCase(kr.rejected, (t, n) => {
|
|
23897
23934
|
t.publicationsLoaded = !0, t.error = n.error.message;
|
|
23898
23935
|
}).addCase(Lw.fulfilled, (t, n) => {
|
|
23899
23936
|
t.filterOptions = n.payload;
|
|
@@ -24023,9 +24060,9 @@ const K2 = (e) => {
|
|
|
24023
24060
|
return e.length === 0 ? /* @__PURE__ */ a.jsx("div", { children: "No Publications Found" }) : /* @__PURE__ */ a.jsx("div", { children: e.map((t, n) => /* @__PURE__ */ a.jsx(KM, { publication: t, index: n }, `publication_${n}`)) });
|
|
24024
24061
|
}, YM = () => {
|
|
24025
24062
|
const e = it(), t = fe(qM), n = fe(VM), r = () => {
|
|
24026
|
-
window.scrollTo(0, 0), e(Cd(!1)), e(dl({ current_page: 1 })), e(
|
|
24063
|
+
window.scrollTo(0, 0), e(Cd(!1)), e(dl({ current_page: 1 })), e(kr());
|
|
24027
24064
|
}, o = () => {
|
|
24028
|
-
e(UM()), window.scrollTo(0, 0), e(
|
|
24065
|
+
e(UM()), window.scrollTo(0, 0), e(kr());
|
|
24029
24066
|
};
|
|
24030
24067
|
if (!t.journals)
|
|
24031
24068
|
return /* @__PURE__ */ a.jsx("p", { children: "Loading filters..." });
|
|
@@ -24119,7 +24156,7 @@ const K2 = (e) => {
|
|
|
24119
24156
|
}, [t]);
|
|
24120
24157
|
const u = (m) => {
|
|
24121
24158
|
const h = parseInt(m);
|
|
24122
|
-
e(LM({ current_page: m })), e(
|
|
24159
|
+
e(LM({ current_page: m })), e(kr(h));
|
|
24123
24160
|
}, d = (m) => (event.preventDefault(), s("0"), u(m), !1), f = () => {
|
|
24124
24161
|
const m = [];
|
|
24125
24162
|
if (t.last_page > l)
|