@uva-glass/component-library 1.64.5 → 1.64.7
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/Lexical.prod-DeeCy7Xd.js +4216 -0
- package/dist/Lexical.prod-DeeCy7Xd.js.map +1 -0
- package/dist/LexicalClipboard.prod-CayrMfkI.js +258 -0
- package/dist/LexicalClipboard.prod-CayrMfkI.js.map +1 -0
- package/dist/{LexicalLink.prod-BvJo1BD4.js → LexicalLink.prod-Biaqry-c.js} +40 -40
- package/dist/LexicalLink.prod-Biaqry-c.js.map +1 -0
- package/dist/{LexicalList.prod-igdv32dp.js → LexicalList.prod-Uk8UObU7.js} +52 -50
- package/dist/LexicalList.prod-Uk8UObU7.js.map +1 -0
- package/dist/LexicalSelection.prod-C1TEIGhq.js +86 -0
- package/dist/{LexicalSelection.prod-CL_DfdL6.js.map → LexicalSelection.prod-C1TEIGhq.js.map} +1 -1
- package/dist/LexicalTable.prod-hx6rW3fc.js +1338 -0
- package/dist/LexicalTable.prod-hx6rW3fc.js.map +1 -0
- package/dist/LexicalUtils.prod-CCjlRAc-.js +94 -0
- package/dist/LexicalUtils.prod-CCjlRAc-.js.map +1 -0
- package/dist/{TablePlugin-BVkwu1Gt.js → TablePlugin-BbiBRjod.js} +45 -45
- package/dist/{TablePlugin-BVkwu1Gt.js.map → TablePlugin-BbiBRjod.js.map} +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +2 -2
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FormInput/FormInput.js +2 -2
- package/dist/components/FormInput/FormInput.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InputField/InputField.stories.js +3 -3
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +2 -2
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +3 -3
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +7 -7
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +5 -5
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +3 -3
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +69 -69
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +25 -25
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +12 -12
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +24 -24
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +26 -26
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +474 -473
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +9 -9
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{helpers-BKqr9jXh.js → helpers-CgzuKnuq.js} +39 -39
- package/dist/{helpers-BKqr9jXh.js.map → helpers-CgzuKnuq.js.map} +1 -1
- package/dist/index-0wq-B7do.js +238 -0
- package/dist/{index-DPQ9bZx5.js.map → index-0wq-B7do.js.map} +1 -1
- package/dist/{index-DsprzSCj.js → index-B9BWML6P.js} +1025 -963
- package/dist/{index-DsprzSCj.js.map → index-B9BWML6P.js.map} +1 -1
- package/dist/{index-C9QoqAAt.js → index-DQyNeMuh.js} +66 -66
- package/dist/index-DQyNeMuh.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/react-18-BIqxBxbW.js +65 -0
- package/dist/{react-18-C0Aiha-e.js.map → react-18-BIqxBxbW.js.map} +1 -1
- package/dist/storybook__react.d.js +186 -183
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +19 -19
- package/dist/Lexical.prod-RJB8n7sC.js +0 -4072
- package/dist/Lexical.prod-RJB8n7sC.js.map +0 -1
- package/dist/LexicalClipboard.prod-DB_B0Sr6.js +0 -259
- package/dist/LexicalClipboard.prod-DB_B0Sr6.js.map +0 -1
- package/dist/LexicalLink.prod-BvJo1BD4.js.map +0 -1
- package/dist/LexicalList.prod-igdv32dp.js.map +0 -1
- package/dist/LexicalSelection.prod-CL_DfdL6.js +0 -86
- package/dist/LexicalTable.prod-CfgKmbyy.js +0 -1221
- package/dist/LexicalTable.prod-CfgKmbyy.js.map +0 -1
- package/dist/LexicalUtils.prod-mYf1cd8X.js +0 -94
- package/dist/LexicalUtils.prod-mYf1cd8X.js.map +0 -1
- package/dist/index-C9QoqAAt.js.map +0 -1
- package/dist/index-DPQ9bZx5.js +0 -231
- package/dist/react-18-C0Aiha-e.js +0 -52
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var It = (f, o) => () => (o || f((o = { exports: {} }).exports, o), o.exports);
|
|
2
2
|
import * as Re from "react";
|
|
3
|
-
import _e, { StrictMode as
|
|
4
|
-
import { s as
|
|
5
|
-
import { r as Gr } from "./index-
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
return o || (0, f[
|
|
9
|
-
},
|
|
3
|
+
import _e, { StrictMode as Tt, Fragment as Ct, Component as Ot } from "react";
|
|
4
|
+
import { s as qr } from "./index-2mUSc_Ki.js";
|
|
5
|
+
import { r as Gr } from "./index-B9BWML6P.js";
|
|
6
|
+
var En = It((Tn, be) => {
|
|
7
|
+
var St = Object.create, cr = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, Wr = Object.getOwnPropertyNames, Lt = Object.getPrototypeOf, Dt = Object.prototype.hasOwnProperty, x = (f, o) => function() {
|
|
8
|
+
return o || (0, f[Wr(f)[0]])((o = { exports: {} }).exports, o), o.exports;
|
|
9
|
+
}, $t = (f, o) => {
|
|
10
10
|
for (var s in o) cr(f, s, { get: o[s], enumerable: !0 });
|
|
11
|
-
},
|
|
12
|
-
if (o && typeof o == "object" || typeof o == "function") for (let i of
|
|
11
|
+
}, Nt = (f, o, s, l) => {
|
|
12
|
+
if (o && typeof o == "object" || typeof o == "function") for (let i of Wr(o)) !Dt.call(f, i) && i !== s && cr(f, i, { get: () => o[i], enumerable: !(l = _t(o, i)) || l.enumerable });
|
|
13
13
|
return f;
|
|
14
|
-
},
|
|
14
|
+
}, bt = (f, o, s) => (s = f != null ? St(Lt(f)) : {}, Nt(!f || !f.__esModule ? cr(s, "default", { value: f, enumerable: !0 }) : s, f)), Ye = { exports: {} }, Q = {};
|
|
15
15
|
/**
|
|
16
16
|
* @license React
|
|
17
17
|
* react-dom-test-utils.production.min.js
|
|
@@ -22,10 +22,10 @@ var mn = Rt((Rn, be) => {
|
|
|
22
22
|
* LICENSE file in the root directory of this source tree.
|
|
23
23
|
*/
|
|
24
24
|
var Pr;
|
|
25
|
-
function
|
|
25
|
+
function At() {
|
|
26
26
|
if (Pr) return Q;
|
|
27
27
|
Pr = 1;
|
|
28
|
-
var f = _e, o = Gr;
|
|
28
|
+
var f = _e, o = Gr();
|
|
29
29
|
function s(r) {
|
|
30
30
|
var y = r, E = r;
|
|
31
31
|
if (r.alternate) for (; y.return; ) y = y.return;
|
|
@@ -141,14 +141,14 @@ var mn = Rt((Rn, be) => {
|
|
|
141
141
|
n(j);
|
|
142
142
|
var D = a({}, m, { relatedTarget: 0 });
|
|
143
143
|
n(D);
|
|
144
|
-
var
|
|
145
|
-
n(
|
|
144
|
+
var q = a({}, O, { animationName: 0, elapsedTime: 0, pseudoElement: 0 });
|
|
145
|
+
n(q);
|
|
146
146
|
var re = a({}, O, { clipboardData: function(r) {
|
|
147
147
|
return "clipboardData" in r ? r.clipboardData : window.clipboardData;
|
|
148
148
|
} });
|
|
149
149
|
n(re);
|
|
150
|
-
var
|
|
151
|
-
n(
|
|
150
|
+
var G = a({}, O, { data: 0 });
|
|
151
|
+
n(G);
|
|
152
152
|
var z = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, Z = {
|
|
153
153
|
8: "Backspace",
|
|
154
154
|
9: "Tab",
|
|
@@ -224,8 +224,8 @@ var mn = Rt((Rn, be) => {
|
|
|
224
224
|
var pe = Array.prototype.slice.call(arguments, 3);
|
|
225
225
|
try {
|
|
226
226
|
y.apply(E, pe);
|
|
227
|
-
} catch (
|
|
228
|
-
this.onError(
|
|
227
|
+
} catch (ar) {
|
|
228
|
+
this.onError(ar);
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
var w = !1, S = null, C = !1, L = null, _ = { onError: function(r) {
|
|
@@ -243,7 +243,7 @@ var mn = Rt((Rn, be) => {
|
|
|
243
243
|
C || (C = !0, L = pe);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
var k = Array.isArray, M = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, W = M[0], me = M[1], Ee = M[2],
|
|
246
|
+
var k = Array.isArray, M = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, W = M[0], me = M[1], Ee = M[2], er = M[3], rr = M[4], Pe = f.unstable_act;
|
|
247
247
|
function xe() {
|
|
248
248
|
}
|
|
249
249
|
function ke(r, y) {
|
|
@@ -352,35 +352,35 @@ var mn = Rt((Rn, be) => {
|
|
|
352
352
|
if (E && typeof E != "function") throw Error("Expected `" + y + "` listener to be a function, instead got a value of `" + typeof E + "` type.");
|
|
353
353
|
return E;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function tr(r, y, E) {
|
|
356
356
|
r && E && E._reactName && (y = Xe(r, E._reactName)) && (E._dispatchListeners == null && (E._dispatchListeners = []), E._dispatchInstances == null && (E._dispatchInstances = []), E._dispatchListeners.push(y), E._dispatchInstances.push(r));
|
|
357
357
|
}
|
|
358
358
|
function Ne(r, y, E) {
|
|
359
359
|
var b = E._reactName;
|
|
360
360
|
y === "captured" && (b += "Capture"), (y = Xe(r, b)) && (E._dispatchListeners == null && (E._dispatchListeners = []), E._dispatchInstances == null && (E._dispatchInstances = []), E._dispatchListeners.push(y), E._dispatchInstances.push(r));
|
|
361
361
|
}
|
|
362
|
-
var
|
|
363
|
-
function
|
|
362
|
+
var qe = {}, Oe = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
|
|
363
|
+
function nr(r) {
|
|
364
364
|
return function(y, E) {
|
|
365
365
|
if (f.isValidElement(y)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
|
|
366
366
|
if (ge(y)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
|
|
367
367
|
var b = "on" + r[0].toUpperCase() + r.slice(1), V = new xe();
|
|
368
368
|
V.target = y, V.type = r.toLowerCase();
|
|
369
369
|
var Y = W(y), U = new u(b, V.type, Y, V, y);
|
|
370
|
-
U.persist(), a(U, E), Oe.has(r) ? U && U._reactName &&
|
|
371
|
-
if (
|
|
370
|
+
U.persist(), a(U, E), Oe.has(r) ? U && U._reactName && tr(U._targetInst, null, U) : U && U._reactName && Fe(U._targetInst, Ne, U), o.unstable_batchedUpdates(function() {
|
|
371
|
+
if (er(y), U) {
|
|
372
372
|
var K = U._dispatchListeners, ae = U._dispatchInstances;
|
|
373
373
|
if (k(K)) for (var pe = 0; pe < K.length && !U.isPropagationStopped(); pe++) Ue(U, K[pe], ae[pe]);
|
|
374
374
|
else K && Ue(U, K, ae);
|
|
375
375
|
U._dispatchListeners = null, U._dispatchInstances = null, U.isPersistent() || U.constructor.release(U);
|
|
376
376
|
}
|
|
377
377
|
if (C) throw K = L, C = !1, L = null, K;
|
|
378
|
-
}),
|
|
378
|
+
}), rr();
|
|
379
379
|
};
|
|
380
380
|
}
|
|
381
381
|
return "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(r) {
|
|
382
|
-
|
|
383
|
-
}), Q.Simulate =
|
|
382
|
+
qe[r] = nr(r);
|
|
383
|
+
}), Q.Simulate = qe, Q.act = Pe, Q.findAllInRenderedTree = ye, Q.findRenderedComponentWithType = function(r, y) {
|
|
384
384
|
if (ce(r, "findRenderedComponentWithType"), r = Me(r, y), r.length !== 1) throw Error("Did not find exactly one match (found: " + r.length + ") for componentType:" + y);
|
|
385
385
|
return r[0];
|
|
386
386
|
}, Q.findRenderedDOMComponentWithClass = function(r, y) {
|
|
@@ -417,9 +417,9 @@ var mn = Rt((Rn, be) => {
|
|
|
417
417
|
* LICENSE file in the root directory of this source tree.
|
|
418
418
|
*/
|
|
419
419
|
var xr;
|
|
420
|
-
function
|
|
420
|
+
function Pt() {
|
|
421
421
|
return xr || (xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
422
|
-
var f = _e, o = Gr, s = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
422
|
+
var f = _e, o = Gr(), s = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
423
423
|
function l(e) {
|
|
424
424
|
{
|
|
425
425
|
for (var d = arguments.length, h = new Array(d > 1 ? d - 1 : 0), g = 1; g < d; g++)
|
|
@@ -544,14 +544,14 @@ var mn = Rt((Rn, be) => {
|
|
|
544
544
|
return g.stateNode.current === g ? e : d;
|
|
545
545
|
}
|
|
546
546
|
var D = Object.assign;
|
|
547
|
-
function
|
|
547
|
+
function q(e) {
|
|
548
548
|
var d, h = e.keyCode;
|
|
549
549
|
return "charCode" in e ? (d = e.charCode, d === 0 && h === 13 && (d = 13)) : d = h, d === 10 && (d = 13), d >= 32 || d === 13 ? d : 0;
|
|
550
550
|
}
|
|
551
551
|
function re() {
|
|
552
552
|
return !0;
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function G() {
|
|
555
555
|
return !1;
|
|
556
556
|
}
|
|
557
557
|
function z(e) {
|
|
@@ -563,7 +563,7 @@ var mn = Rt((Rn, be) => {
|
|
|
563
563
|
ie ? this[oe] = ie(X) : this[oe] = X[oe];
|
|
564
564
|
}
|
|
565
565
|
var se = X.defaultPrevented != null ? X.defaultPrevented : X.returnValue === !1;
|
|
566
|
-
return se ? this.isDefaultPrevented = re : this.isDefaultPrevented =
|
|
566
|
+
return se ? this.isDefaultPrevented = re : this.isDefaultPrevented = G, this.isPropagationStopped = G, this;
|
|
567
567
|
}
|
|
568
568
|
return D(d.prototype, {
|
|
569
569
|
preventDefault: function() {
|
|
@@ -715,7 +715,7 @@ var mn = Rt((Rn, be) => {
|
|
|
715
715
|
return d;
|
|
716
716
|
}
|
|
717
717
|
if (e.type === "keypress") {
|
|
718
|
-
var h =
|
|
718
|
+
var h = q(e);
|
|
719
719
|
return h === 13 ? "Enter" : String.fromCharCode(h);
|
|
720
720
|
}
|
|
721
721
|
return e.type === "keydown" || e.type === "keyup" ? _[e.keyCode] || "Unidentified" : "";
|
|
@@ -749,13 +749,13 @@ var mn = Rt((Rn, be) => {
|
|
|
749
749
|
getModifierState: M,
|
|
750
750
|
// Legacy Interface
|
|
751
751
|
charCode: function(e) {
|
|
752
|
-
return e.type === "keypress" ?
|
|
752
|
+
return e.type === "keypress" ? q(e) : 0;
|
|
753
753
|
},
|
|
754
754
|
keyCode: function(e) {
|
|
755
755
|
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
756
756
|
},
|
|
757
757
|
which: function(e) {
|
|
758
|
-
return e.type === "keypress" ?
|
|
758
|
+
return e.type === "keypress" ? q(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
z(W);
|
|
@@ -783,13 +783,13 @@ var mn = Rt((Rn, be) => {
|
|
|
783
783
|
getModifierState: M
|
|
784
784
|
});
|
|
785
785
|
z(Ee);
|
|
786
|
-
var
|
|
786
|
+
var er = D({}, Z, {
|
|
787
787
|
propertyName: 0,
|
|
788
788
|
elapsedTime: 0,
|
|
789
789
|
pseudoElement: 0
|
|
790
790
|
});
|
|
791
|
-
z(
|
|
792
|
-
var
|
|
791
|
+
z(er);
|
|
792
|
+
var rr = D({}, he, {
|
|
793
793
|
deltaX: function(e) {
|
|
794
794
|
return "deltaX" in e ? e.deltaX : (
|
|
795
795
|
// Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
|
|
@@ -812,7 +812,7 @@ var mn = Rt((Rn, be) => {
|
|
|
812
812
|
// ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
|
|
813
813
|
deltaMode: 0
|
|
814
814
|
});
|
|
815
|
-
z(
|
|
815
|
+
z(rr);
|
|
816
816
|
var Pe = 1;
|
|
817
817
|
function xe(e, d, h, g, P, X, J, oe, ie) {
|
|
818
818
|
var se = Array.prototype.slice.call(arguments, 3);
|
|
@@ -828,13 +828,13 @@ var mn = Rt((Rn, be) => {
|
|
|
828
828
|
ke = function(d, h, g, P, X, J, oe, ie, se) {
|
|
829
829
|
if (typeof document > "u" || document === null)
|
|
830
830
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
831
|
-
var te = document.createEvent("Event"),
|
|
831
|
+
var te = document.createEvent("Event"), or = !1, _r = !0, wt = window.event, Lr = Object.getOwnPropertyDescriptor(window, "event");
|
|
832
832
|
function Dr() {
|
|
833
|
-
ce.removeEventListener(
|
|
833
|
+
ce.removeEventListener(ir, $r, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = wt);
|
|
834
834
|
}
|
|
835
|
-
var
|
|
835
|
+
var Rt = Array.prototype.slice.call(arguments, 3);
|
|
836
836
|
function $r() {
|
|
837
|
-
|
|
837
|
+
or = !0, Dr(), h.apply(g, Rt), _r = !1;
|
|
838
838
|
}
|
|
839
839
|
var we, Nr = !1, br = !1;
|
|
840
840
|
function Ar(Ve) {
|
|
@@ -844,8 +844,8 @@ var mn = Rt((Rn, be) => {
|
|
|
844
844
|
} catch {
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
var
|
|
848
|
-
if (window.addEventListener("error", Ar), ce.addEventListener(
|
|
847
|
+
var ir = "react-" + (d || "invokeguardedcallback");
|
|
848
|
+
if (window.addEventListener("error", Ar), ce.addEventListener(ir, $r, !1), te.initEvent(ir, !1, !1), ce.dispatchEvent(te), Lr && Object.defineProperty(window, "event", Lr), or && _r && (Nr ? br && (we = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : we = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(we)), window.removeEventListener("error", Ar), !or)
|
|
849
849
|
return Dr(), xe.apply(this, arguments);
|
|
850
850
|
};
|
|
851
851
|
}
|
|
@@ -876,11 +876,11 @@ var mn = Rt((Rn, be) => {
|
|
|
876
876
|
} else
|
|
877
877
|
throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
|
|
878
878
|
}
|
|
879
|
-
var
|
|
879
|
+
var tr = Array.isArray;
|
|
880
880
|
function Ne(e) {
|
|
881
|
-
return
|
|
881
|
+
return tr(e);
|
|
882
882
|
}
|
|
883
|
-
var
|
|
883
|
+
var qe = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Oe = qe.Events, nr = Oe[0], r = Oe[1], y = Oe[2], E = Oe[3], b = Oe[4], V = f.unstable_act;
|
|
884
884
|
function Y(e) {
|
|
885
885
|
}
|
|
886
886
|
var U = !1;
|
|
@@ -916,28 +916,28 @@ var mn = Rt((Rn, be) => {
|
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
var pe = !1;
|
|
919
|
-
function
|
|
919
|
+
function ar(e) {
|
|
920
920
|
pe || (pe = !0, i("ReactDOMTestUtils is deprecated and will be removed in a future major release, because it exposes internal implementation details that are highly likely to change between releases. Upgrade to a modern testing library, such as @testing-library/react. See https://react.dev/warnings/react-dom-test-utils for more info."));
|
|
921
921
|
var d = document.createElement("div");
|
|
922
922
|
return o.render(e, d);
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function Zr(e) {
|
|
925
925
|
return f.isValidElement(e);
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function Jr(e, d) {
|
|
928
928
|
return f.isValidElement(e) && e.type === d;
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function Ge(e) {
|
|
931
931
|
return !!(e && e.nodeType === Pe && e.tagName);
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Qr(e) {
|
|
934
934
|
return !!(e && f.isValidElement(e) && e.tagName);
|
|
935
935
|
}
|
|
936
|
-
function
|
|
937
|
-
return
|
|
936
|
+
function sr(e) {
|
|
937
|
+
return Ge(e) ? !1 : e != null && typeof e.render == "function" && typeof e.setState == "function";
|
|
938
938
|
}
|
|
939
939
|
function gr(e, d) {
|
|
940
|
-
if (!
|
|
940
|
+
if (!sr(e))
|
|
941
941
|
return !1;
|
|
942
942
|
var h = c(e), g = h.type;
|
|
943
943
|
return g === d;
|
|
@@ -950,7 +950,7 @@ var mn = Rt((Rn, be) => {
|
|
|
950
950
|
}
|
|
951
951
|
function yr(e, d) {
|
|
952
952
|
return ae(e, "scryRenderedDOMComponentsWithClass"), We(e, function(h) {
|
|
953
|
-
if (
|
|
953
|
+
if (Ge(h)) {
|
|
954
954
|
var g = h.className;
|
|
955
955
|
typeof g != "string" && (g = h.getAttribute("class") || "");
|
|
956
956
|
var P = g.split(/\s+/);
|
|
@@ -966,7 +966,7 @@ var mn = Rt((Rn, be) => {
|
|
|
966
966
|
return !1;
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function et(e, d) {
|
|
970
970
|
ae(e, "findRenderedDOMComponentWithClass");
|
|
971
971
|
var h = yr(e, d);
|
|
972
972
|
if (h.length !== 1)
|
|
@@ -975,10 +975,10 @@ var mn = Rt((Rn, be) => {
|
|
|
975
975
|
}
|
|
976
976
|
function wr(e, d) {
|
|
977
977
|
return ae(e, "scryRenderedDOMComponentsWithTag"), We(e, function(h) {
|
|
978
|
-
return
|
|
978
|
+
return Ge(h) && h.tagName.toUpperCase() === d.toUpperCase();
|
|
979
979
|
});
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function rt(e, d) {
|
|
982
982
|
ae(e, "findRenderedDOMComponentWithTag");
|
|
983
983
|
var h = wr(e, d);
|
|
984
984
|
if (h.length !== 1)
|
|
@@ -990,21 +990,21 @@ var mn = Rt((Rn, be) => {
|
|
|
990
990
|
return gr(h, d);
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function tt(e, d) {
|
|
994
994
|
ae(e, "findRenderedComponentWithType");
|
|
995
995
|
var h = Rr(e, d);
|
|
996
996
|
if (h.length !== 1)
|
|
997
997
|
throw new Error("Did not find exactly one match (found: " + h.length + ") for componentType:" + d);
|
|
998
998
|
return h[0];
|
|
999
999
|
}
|
|
1000
|
-
function
|
|
1000
|
+
function nt(e, d) {
|
|
1001
1001
|
return U || (U = !0, l(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
|
|
1002
1002
|
|
|
1003
1003
|
See https://reactjs.org/link/test-utils-mock-component for more information.`)), d = d || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
|
|
1004
1004
|
return f.createElement(d, null, this.props.children);
|
|
1005
1005
|
}), this;
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function at(e, d) {
|
|
1008
1008
|
return {
|
|
1009
1009
|
touches: [{
|
|
1010
1010
|
pageX: e,
|
|
@@ -1016,7 +1016,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1016
1016
|
var g = e.type || "unknown-event";
|
|
1017
1017
|
e.currentTarget = r(h), Ue(g, d, void 0, e), e.currentTarget = null;
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function st(e) {
|
|
1020
1020
|
var d = e._dispatchListeners, h = e._dispatchInstances;
|
|
1021
1021
|
if (Ne(d))
|
|
1022
1022
|
for (var g = 0; g < d.length && !e.isPropagationStopped(); g++)
|
|
@@ -1024,13 +1024,13 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1024
1024
|
else d && Ir(e, d, h);
|
|
1025
1025
|
e._dispatchListeners = null, e._dispatchInstances = null;
|
|
1026
1026
|
}
|
|
1027
|
-
var
|
|
1028
|
-
e && (
|
|
1027
|
+
var ot = function(e) {
|
|
1028
|
+
e && (st(e), e.isPersistent() || e.constructor.release(e));
|
|
1029
1029
|
};
|
|
1030
|
-
function
|
|
1030
|
+
function it(e) {
|
|
1031
1031
|
return e === "button" || e === "input" || e === "select" || e === "textarea";
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function lt(e) {
|
|
1034
1034
|
do
|
|
1035
1035
|
e = e.return;
|
|
1036
1036
|
while (e && e.tag !== O);
|
|
@@ -1038,14 +1038,14 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1038
1038
|
}
|
|
1039
1039
|
function Tr(e, d, h) {
|
|
1040
1040
|
for (var g = []; e; )
|
|
1041
|
-
g.push(e), e =
|
|
1041
|
+
g.push(e), e = lt(e);
|
|
1042
1042
|
var P;
|
|
1043
1043
|
for (P = g.length; P-- > 0; )
|
|
1044
1044
|
d(g[P], "captured", h);
|
|
1045
1045
|
for (P = 0; P < g.length; P++)
|
|
1046
1046
|
d(g[P], "bubbled", h);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function ut(e, d, h) {
|
|
1049
1049
|
switch (e) {
|
|
1050
1050
|
case "onClick":
|
|
1051
1051
|
case "onClickCapture":
|
|
@@ -1058,7 +1058,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1058
1058
|
case "onMouseUp":
|
|
1059
1059
|
case "onMouseUpCapture":
|
|
1060
1060
|
case "onMouseEnter":
|
|
1061
|
-
return !!(h.disabled &&
|
|
1061
|
+
return !!(h.disabled && it(d));
|
|
1062
1062
|
default:
|
|
1063
1063
|
return !1;
|
|
1064
1064
|
}
|
|
@@ -1071,91 +1071,94 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1071
1071
|
if (!g)
|
|
1072
1072
|
return null;
|
|
1073
1073
|
var P = g[d];
|
|
1074
|
-
if (
|
|
1074
|
+
if (ut(d, e.type, g))
|
|
1075
1075
|
return null;
|
|
1076
1076
|
if (P && typeof P != "function")
|
|
1077
1077
|
throw new Error("Expected `" + d + "` listener to be a function, instead got a value of `" + typeof P + "` type.");
|
|
1078
1078
|
return P;
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function ct(e, d, h) {
|
|
1081
1081
|
var g = d._reactName;
|
|
1082
1082
|
return h === "captured" && (g += "Capture"), Cr(e, g);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function pt(e, d, h) {
|
|
1085
1085
|
if (e && h && h._reactName) {
|
|
1086
1086
|
var g = h._reactName, P = Cr(e, g);
|
|
1087
1087
|
P && (h._dispatchListeners == null && (h._dispatchListeners = []), h._dispatchInstances == null && (h._dispatchInstances = []), h._dispatchListeners.push(P), h._dispatchInstances.push(e));
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function dt(e, d, h) {
|
|
1091
1091
|
e || i("Dispatching inst must not be null");
|
|
1092
|
-
var g =
|
|
1092
|
+
var g = ct(e, h, d);
|
|
1093
1093
|
g && (h._dispatchListeners == null && (h._dispatchListeners = []), h._dispatchInstances == null && (h._dispatchInstances = []), h._dispatchListeners.push(g), h._dispatchInstances.push(e));
|
|
1094
1094
|
}
|
|
1095
|
-
function dt(e) {
|
|
1096
|
-
e && e._reactName && ct(e._targetInst, null, e);
|
|
1097
|
-
}
|
|
1098
1095
|
function ft(e) {
|
|
1099
|
-
e && e._reactName &&
|
|
1096
|
+
e && e._reactName && pt(e._targetInst, null, e);
|
|
1097
|
+
}
|
|
1098
|
+
function ht(e) {
|
|
1099
|
+
e && e._reactName && Tr(e._targetInst, dt, e);
|
|
1100
1100
|
}
|
|
1101
|
-
var Or = {},
|
|
1102
|
-
function
|
|
1101
|
+
var Or = {}, mt = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
|
|
1102
|
+
function vt(e) {
|
|
1103
1103
|
return function(d, h) {
|
|
1104
1104
|
if (f.isValidElement(d))
|
|
1105
1105
|
throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
|
|
1106
|
-
if (
|
|
1106
|
+
if (sr(d))
|
|
1107
1107
|
throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
|
|
1108
1108
|
var g = "on" + e[0].toUpperCase() + e.slice(1), P = new Y();
|
|
1109
1109
|
P.target = d, P.type = e.toLowerCase();
|
|
1110
|
-
var X =
|
|
1111
|
-
J.persist(), D(J, h),
|
|
1112
|
-
E(d),
|
|
1110
|
+
var X = nr(d), J = new H(g, P.type, X, P, d);
|
|
1111
|
+
J.persist(), D(J, h), mt.has(e) ? ft(J) : ht(J), o.unstable_batchedUpdates(function() {
|
|
1112
|
+
E(d), ot(J), Fe();
|
|
1113
1113
|
}), b();
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
|
-
var
|
|
1117
|
-
function
|
|
1118
|
-
|
|
1119
|
-
Or[e] =
|
|
1116
|
+
var Et = ["blur", "cancel", "click", "close", "contextMenu", "copy", "cut", "auxClick", "doubleClick", "dragEnd", "dragStart", "drop", "focus", "input", "invalid", "keyDown", "keyPress", "keyUp", "mouseDown", "mouseUp", "paste", "pause", "play", "pointerCancel", "pointerDown", "pointerUp", "rateChange", "reset", "resize", "seeked", "submit", "touchCancel", "touchEnd", "touchStart", "volumeChange", "drag", "dragEnter", "dragExit", "dragLeave", "dragOver", "mouseMove", "mouseOut", "mouseOver", "pointerMove", "pointerOut", "pointerOver", "scroll", "toggle", "touchMove", "wheel", "abort", "animationEnd", "animationIteration", "animationStart", "canPlay", "canPlayThrough", "durationChange", "emptied", "encrypted", "ended", "error", "gotPointerCapture", "load", "loadedData", "loadedMetadata", "loadStart", "lostPointerCapture", "playing", "progress", "seeking", "stalled", "suspend", "timeUpdate", "transitionEnd", "waiting", "mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave", "change", "select", "beforeInput", "compositionEnd", "compositionStart", "compositionUpdate"];
|
|
1117
|
+
function gt() {
|
|
1118
|
+
Et.forEach(function(e) {
|
|
1119
|
+
Or[e] = vt(e);
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
|
|
1123
|
-
var Sr = !1,
|
|
1122
|
+
gt();
|
|
1123
|
+
var Sr = !1, yt = function(d) {
|
|
1124
1124
|
return Sr || (Sr = !0, i("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")), V(d);
|
|
1125
1125
|
};
|
|
1126
|
-
ee.Simulate = Or, ee.act =
|
|
1126
|
+
ee.Simulate = Or, ee.act = yt, ee.findAllInRenderedTree = We, ee.findRenderedComponentWithType = tt, ee.findRenderedDOMComponentWithClass = et, ee.findRenderedDOMComponentWithTag = rt, ee.isCompositeComponent = sr, ee.isCompositeComponentWithType = gr, ee.isDOMComponent = Ge, ee.isDOMComponentElement = Qr, ee.isElement = Zr, ee.isElementOfType = Jr, ee.mockComponent = nt, ee.nativeTouchData = at, ee.renderIntoDocument = ar, ee.scryRenderedComponentsWithType = Rr, ee.scryRenderedDOMComponentsWithClass = yr, ee.scryRenderedDOMComponentsWithTag = wr, ee.traverseTwoPhase = Tr;
|
|
1127
1127
|
}()), ee;
|
|
1128
1128
|
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1129
|
+
var kr;
|
|
1130
|
+
function xt() {
|
|
1131
|
+
return kr || (kr = 1, process.env.NODE_ENV === "production" ? Ye.exports = At() : Ye.exports = Pt()), Ye.exports;
|
|
1132
|
+
}
|
|
1133
|
+
var kt = xt(), Be = x({ "../../node_modules/semver/internal/constants.js"(f, o) {
|
|
1131
1134
|
var s = "2.0.0", l = Number.MAX_SAFE_INTEGER || 9007199254740991, i = 16, a = 250, c = ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"];
|
|
1132
1135
|
o.exports = { MAX_LENGTH: 256, MAX_SAFE_COMPONENT_LENGTH: i, MAX_SAFE_BUILD_LENGTH: a, MAX_SAFE_INTEGER: l, RELEASE_TYPES: c, SEMVER_SPEC_VERSION: s, FLAG_INCLUDE_PRERELEASE: 1, FLAG_LOOSE: 2 };
|
|
1133
|
-
} }),
|
|
1136
|
+
} }), ze = x({ "../../node_modules/semver/internal/debug.js"(f, o) {
|
|
1134
1137
|
var s = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...l) => console.error("SEMVER", ...l) : () => {
|
|
1135
1138
|
};
|
|
1136
1139
|
o.exports = s;
|
|
1137
1140
|
} }), Ae = x({ "../../node_modules/semver/internal/re.js"(f, o) {
|
|
1138
|
-
var { MAX_SAFE_COMPONENT_LENGTH: s, MAX_SAFE_BUILD_LENGTH: l, MAX_LENGTH: i } =
|
|
1141
|
+
var { MAX_SAFE_COMPONENT_LENGTH: s, MAX_SAFE_BUILD_LENGTH: l, MAX_LENGTH: i } = Be(), a = ze();
|
|
1139
1142
|
f = o.exports = {};
|
|
1140
1143
|
var c = f.re = [], R = f.safeRe = [], t = f.src = [], n = f.t = {}, O = 0, u = "[a-zA-Z0-9-]", m = [["\\s", 1], ["\\d", i], [u, l]], v = (I) => {
|
|
1141
1144
|
for (let [A, j] of m) I = I.split(`${A}*`).join(`${A}{0,${j}}`).split(`${A}+`).join(`${A}{1,${j}}`);
|
|
1142
1145
|
return I;
|
|
1143
1146
|
}, p = (I, A, j) => {
|
|
1144
|
-
let D = v(A),
|
|
1145
|
-
a(I,
|
|
1147
|
+
let D = v(A), q = O++;
|
|
1148
|
+
a(I, q, A), n[I] = q, t[q] = A, c[q] = new RegExp(A, j ? "g" : void 0), R[q] = new RegExp(D, j ? "g" : void 0);
|
|
1146
1149
|
};
|
|
1147
1150
|
p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${u}*`), p("MAINVERSION", `(${t[n.NUMERICIDENTIFIER]})\\.(${t[n.NUMERICIDENTIFIER]})\\.(${t[n.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${t[n.NUMERICIDENTIFIERLOOSE]})\\.(${t[n.NUMERICIDENTIFIERLOOSE]})\\.(${t[n.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${t[n.NUMERICIDENTIFIER]}|${t[n.NONNUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${t[n.NUMERICIDENTIFIERLOOSE]}|${t[n.NONNUMERICIDENTIFIER]})`), p("PRERELEASE", `(?:-(${t[n.PRERELEASEIDENTIFIER]}(?:\\.${t[n.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${t[n.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${t[n.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${u}+`), p("BUILD", `(?:\\+(${t[n.BUILDIDENTIFIER]}(?:\\.${t[n.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${t[n.MAINVERSION]}${t[n.PRERELEASE]}?${t[n.BUILD]}?`), p("FULL", `^${t[n.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${t[n.MAINVERSIONLOOSE]}${t[n.PRERELEASELOOSE]}?${t[n.BUILD]}?`), p("LOOSE", `^${t[n.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${t[n.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${t[n.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${t[n.XRANGEIDENTIFIER]})(?:\\.(${t[n.XRANGEIDENTIFIER]})(?:\\.(${t[n.XRANGEIDENTIFIER]})(?:${t[n.PRERELEASE]})?${t[n.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${t[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[n.XRANGEIDENTIFIERLOOSE]})(?:${t[n.PRERELEASELOOSE]})?${t[n.BUILD]}?)?)?`), p("XRANGE", `^${t[n.GTLT]}\\s*${t[n.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${t[n.GTLT]}\\s*${t[n.XRANGEPLAINLOOSE]}$`), p("COERCEPLAIN", `(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?`), p("COERCE", `${t[n.COERCEPLAIN]}(?:$|[^\\d])`), p("COERCEFULL", t[n.COERCEPLAIN] + `(?:${t[n.PRERELEASE]})?(?:${t[n.BUILD]})?(?:$|[^\\d])`), p("COERCERTL", t[n.COERCE], !0), p("COERCERTLFULL", t[n.COERCEFULL], !0), p("LONETILDE", "(?:~>?)"), p("TILDETRIM", `(\\s*)${t[n.LONETILDE]}\\s+`, !0), f.tildeTrimReplace = "$1~", p("TILDE", `^${t[n.LONETILDE]}${t[n.XRANGEPLAIN]}$`), p("TILDELOOSE", `^${t[n.LONETILDE]}${t[n.XRANGEPLAINLOOSE]}$`), p("LONECARET", "(?:\\^)"), p("CARETTRIM", `(\\s*)${t[n.LONECARET]}\\s+`, !0), f.caretTrimReplace = "$1^", p("CARET", `^${t[n.LONECARET]}${t[n.XRANGEPLAIN]}$`), p("CARETLOOSE", `^${t[n.LONECARET]}${t[n.XRANGEPLAINLOOSE]}$`), p("COMPARATORLOOSE", `^${t[n.GTLT]}\\s*(${t[n.LOOSEPLAIN]})$|^$`), p("COMPARATOR", `^${t[n.GTLT]}\\s*(${t[n.FULLPLAIN]})$|^$`), p("COMPARATORTRIM", `(\\s*)${t[n.GTLT]}\\s*(${t[n.LOOSEPLAIN]}|${t[n.XRANGEPLAIN]})`, !0), f.comparatorTrimReplace = "$1$2$3", p("HYPHENRANGE", `^\\s*(${t[n.XRANGEPLAIN]})\\s+-\\s+(${t[n.XRANGEPLAIN]})\\s*$`), p("HYPHENRANGELOOSE", `^\\s*(${t[n.XRANGEPLAINLOOSE]})\\s+-\\s+(${t[n.XRANGEPLAINLOOSE]})\\s*$`), p("STAR", "(<|>)?=?\\s*\\*"), p("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), p("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
1148
1151
|
} }), pr = x({ "../../node_modules/semver/internal/parse-options.js"(f, o) {
|
|
1149
1152
|
var s = Object.freeze({ loose: !0 }), l = Object.freeze({}), i = (a) => a ? typeof a != "object" ? s : a : l;
|
|
1150
1153
|
o.exports = i;
|
|
1151
|
-
} }),
|
|
1154
|
+
} }), Vr = x({ "../../node_modules/semver/internal/identifiers.js"(f, o) {
|
|
1152
1155
|
var s = /^[0-9]+$/, l = (a, c) => {
|
|
1153
1156
|
let R = s.test(a), t = s.test(c);
|
|
1154
1157
|
return R && t && (a = +a, c = +c), a === c ? 0 : R && !t ? -1 : t && !R ? 1 : a < c ? -1 : 1;
|
|
1155
1158
|
}, i = (a, c) => l(c, a);
|
|
1156
1159
|
o.exports = { compareIdentifiers: l, rcompareIdentifiers: i };
|
|
1157
1160
|
} }), ne = x({ "../../node_modules/semver/classes/semver.js"(f, o) {
|
|
1158
|
-
var s =
|
|
1161
|
+
var s = ze(), { MAX_LENGTH: l, MAX_SAFE_INTEGER: i } = Be(), { safeRe: a, t: c } = Ae(), R = pr(), { compareIdentifiers: t } = Vr(), n = class ve {
|
|
1159
1162
|
constructor(u, m) {
|
|
1160
1163
|
if (m = R(m), u instanceof ve) {
|
|
1161
1164
|
if (u.loose === !!m.loose && u.includePrerelease === !!m.includePrerelease) return u;
|
|
@@ -1277,19 +1280,19 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1277
1280
|
}
|
|
1278
1281
|
};
|
|
1279
1282
|
o.exports = l;
|
|
1280
|
-
} }),
|
|
1283
|
+
} }), jt = x({ "../../node_modules/semver/functions/valid.js"(f, o) {
|
|
1281
1284
|
var s = $e(), l = (i, a) => {
|
|
1282
1285
|
let c = s(i, a);
|
|
1283
1286
|
return c ? c.version : null;
|
|
1284
1287
|
};
|
|
1285
1288
|
o.exports = l;
|
|
1286
|
-
} }),
|
|
1289
|
+
} }), Mt = x({ "../../node_modules/semver/functions/clean.js"(f, o) {
|
|
1287
1290
|
var s = $e(), l = (i, a) => {
|
|
1288
1291
|
let c = s(i.trim().replace(/^[=v]+/, ""), a);
|
|
1289
1292
|
return c ? c.version : null;
|
|
1290
1293
|
};
|
|
1291
1294
|
o.exports = l;
|
|
1292
|
-
} }),
|
|
1295
|
+
} }), Ut = x({ "../../node_modules/semver/functions/inc.js"(f, o) {
|
|
1293
1296
|
var s = ne(), l = (i, a, c, R, t) => {
|
|
1294
1297
|
typeof c == "string" && (t = R, R = c, c = void 0);
|
|
1295
1298
|
try {
|
|
@@ -1299,7 +1302,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1299
1302
|
}
|
|
1300
1303
|
};
|
|
1301
1304
|
o.exports = l;
|
|
1302
|
-
} }),
|
|
1305
|
+
} }), Ft = x({ "../../node_modules/semver/functions/diff.js"(f, o) {
|
|
1303
1306
|
var s = $e(), l = (i, a) => {
|
|
1304
1307
|
let c = s(i, null, !0), R = s(a, null, !0), t = c.compare(R);
|
|
1305
1308
|
if (t === 0) return null;
|
|
@@ -1309,16 +1312,16 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1309
1312
|
return c.major !== R.major ? v + "major" : c.minor !== R.minor ? v + "minor" : c.patch !== R.patch ? v + "patch" : "prerelease";
|
|
1310
1313
|
};
|
|
1311
1314
|
o.exports = l;
|
|
1312
|
-
} }),
|
|
1315
|
+
} }), Xt = x({ "../../node_modules/semver/functions/major.js"(f, o) {
|
|
1313
1316
|
var s = ne(), l = (i, a) => new s(i, a).major;
|
|
1314
1317
|
o.exports = l;
|
|
1315
|
-
} }),
|
|
1318
|
+
} }), qt = x({ "../../node_modules/semver/functions/minor.js"(f, o) {
|
|
1316
1319
|
var s = ne(), l = (i, a) => new s(i, a).minor;
|
|
1317
1320
|
o.exports = l;
|
|
1318
|
-
} }),
|
|
1321
|
+
} }), Gt = x({ "../../node_modules/semver/functions/patch.js"(f, o) {
|
|
1319
1322
|
var s = ne(), l = (i, a) => new s(i, a).patch;
|
|
1320
1323
|
o.exports = l;
|
|
1321
|
-
} }),
|
|
1324
|
+
} }), Wt = x({ "../../node_modules/semver/functions/prerelease.js"(f, o) {
|
|
1322
1325
|
var s = $e(), l = (i, a) => {
|
|
1323
1326
|
let c = s(i, a);
|
|
1324
1327
|
return c && c.prerelease.length ? c.prerelease : null;
|
|
@@ -1327,10 +1330,10 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1327
1330
|
} }), de = x({ "../../node_modules/semver/functions/compare.js"(f, o) {
|
|
1328
1331
|
var s = ne(), l = (i, a, c) => new s(i, c).compare(new s(a, c));
|
|
1329
1332
|
o.exports = l;
|
|
1330
|
-
} }),
|
|
1333
|
+
} }), Vt = x({ "../../node_modules/semver/functions/rcompare.js"(f, o) {
|
|
1331
1334
|
var s = de(), l = (i, a, c) => s(a, i, c);
|
|
1332
1335
|
o.exports = l;
|
|
1333
|
-
} }),
|
|
1336
|
+
} }), Yt = x({ "../../node_modules/semver/functions/compare-loose.js"(f, o) {
|
|
1334
1337
|
var s = de(), l = (i, a) => s(i, a, !0);
|
|
1335
1338
|
o.exports = l;
|
|
1336
1339
|
} }), dr = x({ "../../node_modules/semver/functions/compare-build.js"(f, o) {
|
|
@@ -1339,22 +1342,22 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1339
1342
|
return R.compare(t) || R.compareBuild(t);
|
|
1340
1343
|
};
|
|
1341
1344
|
o.exports = l;
|
|
1342
|
-
} }),
|
|
1345
|
+
} }), Kt = x({ "../../node_modules/semver/functions/sort.js"(f, o) {
|
|
1343
1346
|
var s = dr(), l = (i, a) => i.sort((c, R) => s(c, R, a));
|
|
1344
1347
|
o.exports = l;
|
|
1345
|
-
} }),
|
|
1348
|
+
} }), Ht = x({ "../../node_modules/semver/functions/rsort.js"(f, o) {
|
|
1346
1349
|
var s = dr(), l = (i, a) => i.sort((c, R) => s(R, c, a));
|
|
1347
1350
|
o.exports = l;
|
|
1348
|
-
} }),
|
|
1351
|
+
} }), Ze = x({ "../../node_modules/semver/functions/gt.js"(f, o) {
|
|
1349
1352
|
var s = de(), l = (i, a, c) => s(i, a, c) > 0;
|
|
1350
1353
|
o.exports = l;
|
|
1351
1354
|
} }), fr = x({ "../../node_modules/semver/functions/lt.js"(f, o) {
|
|
1352
1355
|
var s = de(), l = (i, a, c) => s(i, a, c) < 0;
|
|
1353
1356
|
o.exports = l;
|
|
1354
|
-
} }),
|
|
1357
|
+
} }), Yr = x({ "../../node_modules/semver/functions/eq.js"(f, o) {
|
|
1355
1358
|
var s = de(), l = (i, a, c) => s(i, a, c) === 0;
|
|
1356
1359
|
o.exports = l;
|
|
1357
|
-
} }),
|
|
1360
|
+
} }), Kr = x({ "../../node_modules/semver/functions/neq.js"(f, o) {
|
|
1358
1361
|
var s = de(), l = (i, a, c) => s(i, a, c) !== 0;
|
|
1359
1362
|
o.exports = l;
|
|
1360
1363
|
} }), hr = x({ "../../node_modules/semver/functions/gte.js"(f, o) {
|
|
@@ -1363,8 +1366,8 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1363
1366
|
} }), mr = x({ "../../node_modules/semver/functions/lte.js"(f, o) {
|
|
1364
1367
|
var s = de(), l = (i, a, c) => s(i, a, c) <= 0;
|
|
1365
1368
|
o.exports = l;
|
|
1366
|
-
} }),
|
|
1367
|
-
var s =
|
|
1369
|
+
} }), Hr = x({ "../../node_modules/semver/functions/cmp.js"(f, o) {
|
|
1370
|
+
var s = Yr(), l = Kr(), i = Ze(), a = hr(), c = fr(), R = mr(), t = (n, O, u, m) => {
|
|
1368
1371
|
switch (O) {
|
|
1369
1372
|
case "===":
|
|
1370
1373
|
return typeof n == "object" && (n = n.version), typeof u == "object" && (u = u.version), n === u;
|
|
@@ -1389,7 +1392,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1389
1392
|
}
|
|
1390
1393
|
};
|
|
1391
1394
|
o.exports = t;
|
|
1392
|
-
} }),
|
|
1395
|
+
} }), Bt = x({ "../../node_modules/semver/functions/coerce.js"(f, o) {
|
|
1393
1396
|
var s = ne(), l = $e(), { safeRe: i, t: a } = Ae(), c = (R, t) => {
|
|
1394
1397
|
if (R instanceof s) return R;
|
|
1395
1398
|
if (typeof R == "number" && (R = String(R)), typeof R != "string") return null;
|
|
@@ -1406,7 +1409,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1406
1409
|
return l(`${O}.${u}.${m}${v}${p}`, t);
|
|
1407
1410
|
};
|
|
1408
1411
|
o.exports = c;
|
|
1409
|
-
} }),
|
|
1412
|
+
} }), zt = x({ "../../node_modules/semver/internal/lrucache.js"(f, o) {
|
|
1410
1413
|
var s = class {
|
|
1411
1414
|
constructor() {
|
|
1412
1415
|
this.max = 1e3, this.map = /* @__PURE__ */ new Map();
|
|
@@ -1431,9 +1434,9 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1431
1434
|
};
|
|
1432
1435
|
o.exports = s;
|
|
1433
1436
|
} }), fe = x({ "../../node_modules/semver/classes/range.js"(f, o) {
|
|
1434
|
-
var s = /\s+/g, l = class
|
|
1437
|
+
var s = /\s+/g, l = class He {
|
|
1435
1438
|
constructor(w, S) {
|
|
1436
|
-
if (S = c(S), w instanceof
|
|
1439
|
+
if (S = c(S), w instanceof He) return w.loose === !!S.loose && w.includePrerelease === !!S.includePrerelease ? w : new He(w.raw, S);
|
|
1437
1440
|
if (w instanceof R) return this.raw = w.value, this.set = [[w]], this.formatted = void 0, this;
|
|
1438
1441
|
if (this.options = S, this.loose = !!S.loose, this.includePrerelease = !!S.includePrerelease, this.raw = w.trim().replace(s, " "), this.set = this.raw.split("||").map((C) => this.parseRange(C.trim())).filter((C) => C.length), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
1439
1442
|
if (this.set.length > 1) {
|
|
@@ -1482,8 +1485,8 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1482
1485
|
return a.set(S, M), M;
|
|
1483
1486
|
}
|
|
1484
1487
|
intersects(w, S) {
|
|
1485
|
-
if (!(w instanceof
|
|
1486
|
-
return this.set.some((C) =>
|
|
1488
|
+
if (!(w instanceof He)) throw new TypeError("a Range is required");
|
|
1489
|
+
return this.set.some((C) => q(C, S) && w.set.some((L) => q(L, S) && C.every((_) => L.every((N) => _.intersects(N, S)))));
|
|
1487
1490
|
}
|
|
1488
1491
|
test(w) {
|
|
1489
1492
|
if (!w) return !1;
|
|
@@ -1497,16 +1500,16 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1497
1500
|
}
|
|
1498
1501
|
};
|
|
1499
1502
|
o.exports = l;
|
|
1500
|
-
var i =
|
|
1503
|
+
var i = zt(), a = new i(), c = pr(), R = Je(), t = ze(), n = ne(), { safeRe: O, t: u, comparatorTrimReplace: m, tildeTrimReplace: v, caretTrimReplace: p } = Ae(), { FLAG_INCLUDE_PRERELEASE: I, FLAG_LOOSE: A } = Be(), j = (T) => T.value === "<0.0.0-0", D = (T) => T.value === "", q = (T, w) => {
|
|
1501
1504
|
let S = !0, C = T.slice(), L = C.pop();
|
|
1502
1505
|
for (; S && C.length; ) S = C.every((_) => L.intersects(_, w)), L = C.pop();
|
|
1503
1506
|
return S;
|
|
1504
|
-
}, re = (T, w) => (t("comp", T, w), T = H(T, w), t("caret", T), T = z(T, w), t("tildes", T), T = $(T, w), t("xrange", T), T = ue(T, w), t("stars", T), T),
|
|
1507
|
+
}, re = (T, w) => (t("comp", T, w), T = H(T, w), t("caret", T), T = z(T, w), t("tildes", T), T = $(T, w), t("xrange", T), T = ue(T, w), t("stars", T), T), G = (T) => !T || T.toLowerCase() === "x" || T === "*", z = (T, w) => T.trim().split(/\s+/).map((S) => Z(S, w)).join(" "), Z = (T, w) => {
|
|
1505
1508
|
let S = w.loose ? O[u.TILDELOOSE] : O[u.TILDE];
|
|
1506
1509
|
return T.replace(S, (C, L, _, N, F) => {
|
|
1507
1510
|
t("tilde", T, C, L, _, N, F);
|
|
1508
1511
|
let k;
|
|
1509
|
-
return
|
|
1512
|
+
return G(L) ? k = "" : G(_) ? k = `>=${L}.0.0 <${+L + 1}.0.0-0` : G(N) ? k = `>=${L}.${_}.0 <${L}.${+_ + 1}.0-0` : F ? (t("replaceTilde pr", F), k = `>=${L}.${_}.${N}-${F} <${L}.${+_ + 1}.0-0`) : k = `>=${L}.${_}.${N} <${L}.${+_ + 1}.0-0`, t("tilde return", k), k;
|
|
1510
1513
|
});
|
|
1511
1514
|
}, H = (T, w) => T.trim().split(/\s+/).map((S) => B(S, w)).join(" "), B = (T, w) => {
|
|
1512
1515
|
t("caret", T, w);
|
|
@@ -1514,17 +1517,17 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1514
1517
|
return T.replace(S, (L, _, N, F, k) => {
|
|
1515
1518
|
t("caret", T, L, _, N, F, k);
|
|
1516
1519
|
let M;
|
|
1517
|
-
return
|
|
1520
|
+
return G(_) ? M = "" : G(N) ? M = `>=${_}.0.0${C} <${+_ + 1}.0.0-0` : G(F) ? _ === "0" ? M = `>=${_}.${N}.0${C} <${_}.${+N + 1}.0-0` : M = `>=${_}.${N}.0${C} <${+_ + 1}.0.0-0` : k ? (t("replaceCaret pr", k), _ === "0" ? N === "0" ? M = `>=${_}.${N}.${F}-${k} <${_}.${N}.${+F + 1}-0` : M = `>=${_}.${N}.${F}-${k} <${_}.${+N + 1}.0-0` : M = `>=${_}.${N}.${F}-${k} <${+_ + 1}.0.0-0`) : (t("no pr"), _ === "0" ? N === "0" ? M = `>=${_}.${N}.${F}${C} <${_}.${N}.${+F + 1}-0` : M = `>=${_}.${N}.${F}${C} <${_}.${+N + 1}.0-0` : M = `>=${_}.${N}.${F} <${+_ + 1}.0.0-0`), t("caret return", M), M;
|
|
1518
1521
|
});
|
|
1519
1522
|
}, $ = (T, w) => (t("replaceXRanges", T, w), T.split(/\s+/).map((S) => le(S, w)).join(" ")), le = (T, w) => {
|
|
1520
1523
|
T = T.trim();
|
|
1521
1524
|
let S = w.loose ? O[u.XRANGELOOSE] : O[u.XRANGE];
|
|
1522
1525
|
return T.replace(S, (C, L, _, N, F, k) => {
|
|
1523
1526
|
t("xRange", T, C, L, _, N, F, k);
|
|
1524
|
-
let M =
|
|
1527
|
+
let M = G(_), W = M || G(N), me = W || G(F), Ee = me;
|
|
1525
1528
|
return L === "=" && Ee && (L = ""), k = w.includePrerelease ? "-0" : "", M ? L === ">" || L === "<" ? C = "<0.0.0-0" : C = "*" : L && Ee ? (W && (N = 0), F = 0, L === ">" ? (L = ">=", W ? (_ = +_ + 1, N = 0, F = 0) : (N = +N + 1, F = 0)) : L === "<=" && (L = "<", W ? _ = +_ + 1 : N = +N + 1), L === "<" && (k = "-0"), C = `${L + _}.${N}.${F}${k}`) : W ? C = `>=${_}.0.0${k} <${+_ + 1}.0.0-0` : me && (C = `>=${_}.${N}.0${k} <${_}.${+N + 1}.0-0`), t("xRange return", C), C;
|
|
1526
1529
|
});
|
|
1527
|
-
}, ue = (T, w) => (t("replaceStars", T, w), T.trim().replace(O[u.STAR], "")), Ie = (T, w) => (t("replaceGTE0", T, w), T.trim().replace(O[w.includePrerelease ? u.GTE0PRE : u.GTE0], "")), he = (T) => (w, S, C, L, _, N, F, k, M, W, me, Ee) => (
|
|
1530
|
+
}, ue = (T, w) => (t("replaceStars", T, w), T.trim().replace(O[u.STAR], "")), Ie = (T, w) => (t("replaceGTE0", T, w), T.trim().replace(O[w.includePrerelease ? u.GTE0PRE : u.GTE0], "")), he = (T) => (w, S, C, L, _, N, F, k, M, W, me, Ee) => (G(C) ? S = "" : G(L) ? S = `>=${C}.0.0${T ? "-0" : ""}` : G(_) ? S = `>=${C}.${L}.0${T ? "-0" : ""}` : N ? S = `>=${S}` : S = `>=${S}${T ? "-0" : ""}`, G(M) ? k = "" : G(W) ? k = `<${+M + 1}.0.0-0` : G(me) ? k = `<${M}.${+W + 1}.0-0` : Ee ? k = `<=${M}.${W}.${me}-${Ee}` : T ? k = `<${M}.${W}.${+me + 1}-0` : k = `<=${k}`, `${S} ${k}`.trim()), Te = (T, w, S) => {
|
|
1528
1531
|
for (let C = 0; C < T.length; C++) if (!T[C].test(w)) return !1;
|
|
1529
1532
|
if (w.prerelease.length && !S.includePrerelease) {
|
|
1530
1533
|
for (let C = 0; C < T.length; C++) if (t(T[C].semver), T[C].semver !== R.ANY && T[C].semver.prerelease.length > 0) {
|
|
@@ -1535,7 +1538,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1535
1538
|
}
|
|
1536
1539
|
return !0;
|
|
1537
1540
|
};
|
|
1538
|
-
} }),
|
|
1541
|
+
} }), Je = x({ "../../node_modules/semver/classes/comparator.js"(f, o) {
|
|
1539
1542
|
var s = Symbol("SemVer ANY"), l = class ur {
|
|
1540
1543
|
static get ANY() {
|
|
1541
1544
|
return s;
|
|
@@ -1570,8 +1573,8 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1570
1573
|
}
|
|
1571
1574
|
};
|
|
1572
1575
|
o.exports = l;
|
|
1573
|
-
var i = pr(), { safeRe: a, t: c } = Ae(), R =
|
|
1574
|
-
} }),
|
|
1576
|
+
var i = pr(), { safeRe: a, t: c } = Ae(), R = Hr(), t = ze(), n = ne(), O = fe();
|
|
1577
|
+
} }), Qe = x({ "../../node_modules/semver/functions/satisfies.js"(f, o) {
|
|
1575
1578
|
var s = fe(), l = (i, a, c) => {
|
|
1576
1579
|
try {
|
|
1577
1580
|
a = new s(a, c);
|
|
@@ -1581,10 +1584,10 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1581
1584
|
return a.test(i);
|
|
1582
1585
|
};
|
|
1583
1586
|
o.exports = l;
|
|
1584
|
-
} }),
|
|
1587
|
+
} }), Zt = x({ "../../node_modules/semver/ranges/to-comparators.js"(f, o) {
|
|
1585
1588
|
var s = fe(), l = (i, a) => new s(i, a).set.map((c) => c.map((R) => R.value).join(" ").trim().split(" "));
|
|
1586
1589
|
o.exports = l;
|
|
1587
|
-
} }),
|
|
1590
|
+
} }), Jt = x({ "../../node_modules/semver/ranges/max-satisfying.js"(f, o) {
|
|
1588
1591
|
var s = ne(), l = fe(), i = (a, c, R) => {
|
|
1589
1592
|
let t = null, n = null, O = null;
|
|
1590
1593
|
try {
|
|
@@ -1597,7 +1600,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1597
1600
|
}), t;
|
|
1598
1601
|
};
|
|
1599
1602
|
o.exports = i;
|
|
1600
|
-
} }),
|
|
1603
|
+
} }), Qt = x({ "../../node_modules/semver/ranges/min-satisfying.js"(f, o) {
|
|
1601
1604
|
var s = ne(), l = fe(), i = (a, c, R) => {
|
|
1602
1605
|
let t = null, n = null, O = null;
|
|
1603
1606
|
try {
|
|
@@ -1610,8 +1613,8 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1610
1613
|
}), t;
|
|
1611
1614
|
};
|
|
1612
1615
|
o.exports = i;
|
|
1613
|
-
} }),
|
|
1614
|
-
var s = ne(), l = fe(), i =
|
|
1616
|
+
} }), en = x({ "../../node_modules/semver/ranges/min-version.js"(f, o) {
|
|
1617
|
+
var s = ne(), l = fe(), i = Ze(), a = (c, R) => {
|
|
1615
1618
|
c = new l(c, R);
|
|
1616
1619
|
let t = new s("0.0.0");
|
|
1617
1620
|
if (c.test(t) || (t = new s("0.0.0-0"), c.test(t))) return t;
|
|
@@ -1638,7 +1641,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1638
1641
|
return t && c.test(t) ? t : null;
|
|
1639
1642
|
};
|
|
1640
1643
|
o.exports = a;
|
|
1641
|
-
} }),
|
|
1644
|
+
} }), rn = x({ "../../node_modules/semver/ranges/valid.js"(f, o) {
|
|
1642
1645
|
var s = fe(), l = (i, a) => {
|
|
1643
1646
|
try {
|
|
1644
1647
|
return new s(i, a).range || "*";
|
|
@@ -1648,40 +1651,40 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1648
1651
|
};
|
|
1649
1652
|
o.exports = l;
|
|
1650
1653
|
} }), vr = x({ "../../node_modules/semver/ranges/outside.js"(f, o) {
|
|
1651
|
-
var s = ne(), l =
|
|
1654
|
+
var s = ne(), l = Je(), { ANY: i } = l, a = fe(), c = Qe(), R = Ze(), t = fr(), n = mr(), O = hr(), u = (m, v, p, I) => {
|
|
1652
1655
|
m = new s(m, I), v = new a(v, I);
|
|
1653
|
-
let A, j, D,
|
|
1656
|
+
let A, j, D, q, re;
|
|
1654
1657
|
switch (p) {
|
|
1655
1658
|
case ">":
|
|
1656
|
-
A = R, j = n, D = t,
|
|
1659
|
+
A = R, j = n, D = t, q = ">", re = ">=";
|
|
1657
1660
|
break;
|
|
1658
1661
|
case "<":
|
|
1659
|
-
A = t, j = O, D = R,
|
|
1662
|
+
A = t, j = O, D = R, q = "<", re = "<=";
|
|
1660
1663
|
break;
|
|
1661
1664
|
default:
|
|
1662
1665
|
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
1663
1666
|
}
|
|
1664
1667
|
if (c(m, v, I)) return !1;
|
|
1665
|
-
for (let
|
|
1666
|
-
let z = v.set[
|
|
1668
|
+
for (let G = 0; G < v.set.length; ++G) {
|
|
1669
|
+
let z = v.set[G], Z = null, H = null;
|
|
1667
1670
|
if (z.forEach((B) => {
|
|
1668
1671
|
B.semver === i && (B = new l(">=0.0.0")), Z = Z || B, H = H || B, A(B.semver, Z.semver, I) ? Z = B : D(B.semver, H.semver, I) && (H = B);
|
|
1669
|
-
}), Z.operator ===
|
|
1672
|
+
}), Z.operator === q || Z.operator === re || (!H.operator || H.operator === q) && j(m, H.semver) || H.operator === re && D(m, H.semver)) return !1;
|
|
1670
1673
|
}
|
|
1671
1674
|
return !0;
|
|
1672
1675
|
};
|
|
1673
1676
|
o.exports = u;
|
|
1674
|
-
} }),
|
|
1677
|
+
} }), tn = x({ "../../node_modules/semver/ranges/gtr.js"(f, o) {
|
|
1675
1678
|
var s = vr(), l = (i, a, c) => s(i, a, ">", c);
|
|
1676
1679
|
o.exports = l;
|
|
1677
|
-
} }),
|
|
1680
|
+
} }), nn = x({ "../../node_modules/semver/ranges/ltr.js"(f, o) {
|
|
1678
1681
|
var s = vr(), l = (i, a, c) => s(i, a, "<", c);
|
|
1679
1682
|
o.exports = l;
|
|
1680
|
-
} }),
|
|
1683
|
+
} }), an = x({ "../../node_modules/semver/ranges/intersects.js"(f, o) {
|
|
1681
1684
|
var s = fe(), l = (i, a, c) => (i = new s(i, c), a = new s(a, c), i.intersects(a, c));
|
|
1682
1685
|
o.exports = l;
|
|
1683
|
-
} }),
|
|
1684
|
-
var s =
|
|
1686
|
+
} }), sn = x({ "../../node_modules/semver/ranges/simplify.js"(f, o) {
|
|
1687
|
+
var s = Qe(), l = de();
|
|
1685
1688
|
o.exports = (i, a, c) => {
|
|
1686
1689
|
let R = [], t = null, n = null, O = i.sort((p, I) => l(p, I, c));
|
|
1687
1690
|
for (let p of O) s(p, a, c) ? (n = p, t || (t = p)) : (n && R.push([t, n]), n = null, t = null);
|
|
@@ -1691,15 +1694,15 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1691
1694
|
let m = u.join(" || "), v = typeof a.raw == "string" ? a.raw : String(a);
|
|
1692
1695
|
return m.length < v.length ? m : a;
|
|
1693
1696
|
};
|
|
1694
|
-
} }),
|
|
1695
|
-
var s = fe(), l =
|
|
1697
|
+
} }), on = x({ "../../node_modules/semver/ranges/subset.js"(f, o) {
|
|
1698
|
+
var s = fe(), l = Je(), { ANY: i } = l, a = Qe(), c = de(), R = (v, p, I = {}) => {
|
|
1696
1699
|
if (v === p) return !0;
|
|
1697
1700
|
v = new s(v, I), p = new s(p, I);
|
|
1698
1701
|
let A = !1;
|
|
1699
1702
|
e: for (let j of v.set) {
|
|
1700
1703
|
for (let D of p.set) {
|
|
1701
|
-
let
|
|
1702
|
-
if (A = A ||
|
|
1704
|
+
let q = O(j, D, I);
|
|
1705
|
+
if (A = A || q !== null, q) continue e;
|
|
1703
1706
|
}
|
|
1704
1707
|
if (A) return !1;
|
|
1705
1708
|
}
|
|
@@ -1717,15 +1720,15 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1717
1720
|
let A = /* @__PURE__ */ new Set(), j, D;
|
|
1718
1721
|
for (let $ of v) $.operator === ">" || $.operator === ">=" ? j = u(j, $, I) : $.operator === "<" || $.operator === "<=" ? D = m(D, $, I) : A.add($.semver);
|
|
1719
1722
|
if (A.size > 1) return null;
|
|
1720
|
-
let
|
|
1721
|
-
if (j && D && (
|
|
1723
|
+
let q;
|
|
1724
|
+
if (j && D && (q = c(j.semver, D.semver, I), q > 0 || q === 0 && (j.operator !== ">=" || D.operator !== "<=")))
|
|
1722
1725
|
return null;
|
|
1723
1726
|
for (let $ of A) {
|
|
1724
1727
|
if (j && !a($, String(j), I) || D && !a($, String(D), I)) return null;
|
|
1725
1728
|
for (let le of p) if (!a($, String(le), I)) return !1;
|
|
1726
1729
|
return !0;
|
|
1727
1730
|
}
|
|
1728
|
-
let re,
|
|
1731
|
+
let re, G, z, Z, H = D && !I.includePrerelease && D.semver.prerelease.length ? D.semver : !1, B = j && !I.includePrerelease && j.semver.prerelease.length ? j.semver : !1;
|
|
1729
1732
|
H && H.prerelease.length === 1 && D.operator === "<" && H.prerelease[0] === 0 && (H = !1);
|
|
1730
1733
|
for (let $ of p) {
|
|
1731
1734
|
if (Z = Z || $.operator === ">" || $.operator === ">=", z = z || $.operator === "<" || $.operator === "<=", j) {
|
|
@@ -1735,12 +1738,12 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1735
1738
|
}
|
|
1736
1739
|
if (D) {
|
|
1737
1740
|
if (H && $.semver.prerelease && $.semver.prerelease.length && $.semver.major === H.major && $.semver.minor === H.minor && $.semver.patch === H.patch && (H = !1), $.operator === "<" || $.operator === "<=") {
|
|
1738
|
-
if (
|
|
1741
|
+
if (G = m(D, $, I), G === $ && G !== D) return !1;
|
|
1739
1742
|
} else if (D.operator === "<=" && !a(D.semver, String($), I)) return !1;
|
|
1740
1743
|
}
|
|
1741
|
-
if (!$.operator && (D || j) &&
|
|
1744
|
+
if (!$.operator && (D || j) && q !== 0) return !1;
|
|
1742
1745
|
}
|
|
1743
|
-
return !(j && z && !D &&
|
|
1746
|
+
return !(j && z && !D && q !== 0 || D && Z && !j && q !== 0 || B || H);
|
|
1744
1747
|
}, u = (v, p, I) => {
|
|
1745
1748
|
if (!v) return p;
|
|
1746
1749
|
let A = c(v.semver, p.semver, I);
|
|
@@ -1751,23 +1754,23 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1751
1754
|
return A < 0 ? v : A > 0 || p.operator === "<" && v.operator === "<=" ? p : v;
|
|
1752
1755
|
};
|
|
1753
1756
|
o.exports = R;
|
|
1754
|
-
} }),
|
|
1755
|
-
var s = Ae(), l =
|
|
1756
|
-
o.exports = { parse: c, valid: R, clean: t, inc: n, diff: O, major: u, minor: m, patch: v, prerelease: p, compare: I, rcompare: A, compareLoose: j, compareBuild: D, sort:
|
|
1757
|
-
} }),
|
|
1758
|
-
|
|
1759
|
-
var
|
|
1757
|
+
} }), ln = x({ "../../node_modules/semver/index.js"(f, o) {
|
|
1758
|
+
var s = Ae(), l = Be(), i = ne(), a = Vr(), c = $e(), R = jt(), t = Mt(), n = Ut(), O = Ft(), u = Xt(), m = qt(), v = Gt(), p = Wt(), I = de(), A = Vt(), j = Yt(), D = dr(), q = Kt(), re = Ht(), G = Ze(), z = fr(), Z = Yr(), H = Kr(), B = hr(), $ = mr(), le = Hr(), ue = Bt(), Ie = Je(), he = fe(), Te = Qe(), T = Zt(), w = Jt(), S = Qt(), C = en(), L = rn(), _ = vr(), N = tn(), F = nn(), k = an(), M = sn(), W = on();
|
|
1759
|
+
o.exports = { parse: c, valid: R, clean: t, inc: n, diff: O, major: u, minor: m, patch: v, prerelease: p, compare: I, rcompare: A, compareLoose: j, compareBuild: D, sort: q, rsort: re, gt: G, lt: z, eq: Z, neq: H, gte: B, lte: $, cmp: le, coerce: ue, Comparator: Ie, Range: he, satisfies: Te, toComparators: T, maxSatisfying: w, minSatisfying: S, minVersion: C, validRange: L, outside: _, gtr: N, ltr: F, intersects: k, simplifyRange: M, subset: W, SemVer: i, re: s.re, src: s.src, tokens: s.t, SEMVER_SPEC_VERSION: l.SEMVER_SPEC_VERSION, RELEASE_TYPES: l.RELEASE_TYPES, compareIdentifiers: a.compareIdentifiers, rcompareIdentifiers: a.rcompareIdentifiers };
|
|
1760
|
+
} }), Br = {};
|
|
1761
|
+
$t(Br, { decorators: () => mn, mount: () => fn, parameters: () => hn, render: () => un, renderToCanvas: () => zr });
|
|
1762
|
+
var jr = bt(ln()), un = (f, o) => {
|
|
1760
1763
|
let { id: s, component: l } = o;
|
|
1761
1764
|
if (!l) throw new Error(`Unable to render story ${s} as the component annotation is missing from the default export`);
|
|
1762
1765
|
return _e.createElement(l, { ...f });
|
|
1763
|
-
},
|
|
1766
|
+
}, Mr = { ...Re }, cn = typeof Mr.act == "function" ? Mr.act : kt.act;
|
|
1764
1767
|
function Se(f) {
|
|
1765
1768
|
globalThis.IS_REACT_ACT_ENVIRONMENT = f;
|
|
1766
1769
|
}
|
|
1767
1770
|
function Er() {
|
|
1768
1771
|
return globalThis.IS_REACT_ACT_ENVIRONMENT;
|
|
1769
1772
|
}
|
|
1770
|
-
function
|
|
1773
|
+
function pn(f) {
|
|
1771
1774
|
return (o) => {
|
|
1772
1775
|
let s = Er();
|
|
1773
1776
|
Se(!0);
|
|
@@ -1791,7 +1794,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1791
1794
|
}
|
|
1792
1795
|
};
|
|
1793
1796
|
}
|
|
1794
|
-
var
|
|
1797
|
+
var Ke = pn(cn), { FRAMEWORK_OPTIONS: lr } = qr, dn = class extends Ot {
|
|
1795
1798
|
constructor() {
|
|
1796
1799
|
super(...arguments), this.state = { hasError: !1 };
|
|
1797
1800
|
}
|
|
@@ -1810,26 +1813,26 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
|
|
|
1810
1813
|
let { hasError: f } = this.state, { children: o } = this.props;
|
|
1811
1814
|
return f ? null : o;
|
|
1812
1815
|
}
|
|
1813
|
-
},
|
|
1814
|
-
async function
|
|
1816
|
+
}, Ur = lr != null && lr.strictMode ? Tt : Ct;
|
|
1817
|
+
async function zr({ storyContext: f, unboundStoryFn: o, showMain: s, showException: l, forceRemount: i }, a) {
|
|
1815
1818
|
var u, m;
|
|
1816
|
-
let { renderElement: c, unmountElement: R } = await import("./react-18-
|
|
1819
|
+
let { renderElement: c, unmountElement: R } = await import("./react-18-BIqxBxbW.js"), t = o, n = Er() ? _e.createElement(t, { ...f }) : _e.createElement(dn, { showMain: s, showException: l }, _e.createElement(t, { ...f })), O = Ur ? _e.createElement(Ur, null, n) : n;
|
|
1817
1820
|
return i && R(a), await c(O, a, (m = (u = f == null ? void 0 : f.parameters) == null ? void 0 : u.react) == null ? void 0 : m.rootOptions), () => R(a);
|
|
1818
1821
|
}
|
|
1819
|
-
var
|
|
1822
|
+
var fn = (f) => async (o) => (o != null && (f.originalStoryFn = () => o), await f.renderToCanvas(), f.canvas), hn = { renderer: "react" }, mn = [(f, o) => {
|
|
1820
1823
|
var i, a;
|
|
1821
1824
|
if (!((a = (i = o.parameters) == null ? void 0 : i.react) != null && a.rsc)) return Re.createElement(f, null);
|
|
1822
|
-
let s =
|
|
1825
|
+
let s = jr.default.major(Re.version), l = jr.default.minor(Re.version);
|
|
1823
1826
|
if (s < 18 || s === 18 && l < 3) throw new Error("React Server Components require React >= 18.3");
|
|
1824
1827
|
return Re.createElement(Re.Suspense, null, Re.createElement(f, null));
|
|
1825
|
-
}], { window:
|
|
1826
|
-
|
|
1827
|
-
({ ...
|
|
1828
|
-
function
|
|
1828
|
+
}], { window: Fr } = qr;
|
|
1829
|
+
Fr && (Fr.STORYBOOK_ENV = "react");
|
|
1830
|
+
({ ...Br });
|
|
1831
|
+
function vn() {
|
|
1829
1832
|
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
1830
1833
|
}
|
|
1831
|
-
var
|
|
1832
|
-
typeof be < "u" && ((
|
|
1834
|
+
var Xr;
|
|
1835
|
+
typeof be < "u" && ((Xr = be == null ? void 0 : be.hot) == null || Xr.decline());
|
|
1833
1836
|
});
|
|
1834
|
-
export default
|
|
1837
|
+
export default En();
|
|
1835
1838
|
//# sourceMappingURL=storybook__react.d.js.map
|