storybook 9.0.0-beta.4 → 9.0.0-beta.5
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/assets/server/base-preview-head.html +2 -1
- package/dist/babel/index.cjs +15060 -14974
- package/dist/babel/index.d.ts +37 -18
- package/dist/babel/index.js +15097 -15011
- package/dist/bin/index.cjs +44 -44
- package/dist/bin/index.js +44 -44
- package/dist/builder-manager/index.cjs +104 -99
- package/dist/builder-manager/index.js +103 -98
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/cli/index.cjs +19438 -19340
- package/dist/cli/index.js +19449 -19351
- package/dist/common/index.cjs +4997 -4925
- package/dist/common/index.js +5088 -5012
- package/dist/components/index.cjs +4581 -4419
- package/dist/components/index.d.ts +12 -12
- package/dist/components/index.js +3847 -3681
- package/dist/core-server/index.cjs +6358 -6274
- package/dist/core-server/index.js +6406 -6318
- package/dist/core-server/presets/common-manager.js +3863 -3468
- package/dist/core-server/presets/common-preset.cjs +2302 -2236
- package/dist/core-server/presets/common-preset.js +2389 -2319
- package/dist/docs-tools/index.cjs +484 -464
- package/dist/docs-tools/index.js +502 -482
- package/dist/highlight/index.cjs +19 -18
- package/dist/highlight/index.d.ts +4 -5
- package/dist/highlight/index.js +3 -2
- package/dist/highlight/preview.cjs +311 -307
- package/dist/highlight/preview.js +293 -289
- package/dist/instrumenter/index.cjs +561 -559
- package/dist/instrumenter/index.js +1551 -1498
- package/dist/manager/globals-module-info.cjs +1 -0
- package/dist/manager/globals-module-info.js +1 -0
- package/dist/manager/globals-runtime.js +19639 -19374
- package/dist/manager/runtime.js +4372 -4133
- package/dist/manager-api/index.cjs +2375 -2319
- package/dist/manager-api/index.js +1722 -1666
- package/dist/node-logger/index.cjs +25 -25
- package/dist/node-logger/index.js +25 -25
- package/dist/preview/runtime.js +12774 -12699
- package/dist/preview-api/index.cjs +1113 -1094
- package/dist/preview-api/index.js +1161 -1142
- package/dist/router/index.cjs +1366 -1347
- package/dist/router/index.js +594 -575
- package/dist/server-errors.cjs +6 -6
- package/dist/server-errors.js +6 -6
- package/dist/telemetry/index.cjs +696 -691
- package/dist/telemetry/index.js +764 -759
- package/dist/test/index.cjs +69 -70
- package/dist/test/index.d.ts +1216 -74
- package/dist/test/index.js +128 -130
- package/dist/test/preview.cjs +16 -16
- package/dist/test/preview.js +15 -15
- package/dist/theming/create.cjs +16 -17
- package/dist/theming/create.js +346 -228
- package/dist/theming/index.cjs +16 -17
- package/dist/theming/index.js +948 -839
- package/package.json +4 -12
package/dist/test/index.js
CHANGED
|
@@ -8354,7 +8354,7 @@ var Xm = p((Ym, dP) => {
|
|
|
8354
8354
|
});
|
|
8355
8355
|
});
|
|
8356
8356
|
|
|
8357
|
-
// ../node_modules
|
|
8357
|
+
// ../node_modules/pretty-format/node_modules/ansi-styles/index.js
|
|
8358
8358
|
var bb = p((whe, _R) => {
|
|
8359
8359
|
"use strict";
|
|
8360
8360
|
var CR = /* @__PURE__ */ o((e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, "wrapAnsi256"), xR = /* @__PURE__ */ o((e = 0) => (t, r, n) => `\x1B[${38 +
|
|
@@ -8464,7 +8464,7 @@ var bb = p((whe, _R) => {
|
|
|
8464
8464
|
});
|
|
8465
8465
|
});
|
|
8466
8466
|
|
|
8467
|
-
// ../node_modules
|
|
8467
|
+
// ../node_modules/pretty-format/build/collections.js
|
|
8468
8468
|
var yo = p((cn) => {
|
|
8469
8469
|
"use strict";
|
|
8470
8470
|
Object.defineProperty(cn, "__esModule", {
|
|
@@ -8546,7 +8546,7 @@ var yo = p((cn) => {
|
|
|
8546
8546
|
o(C9, "printObjectProperties");
|
|
8547
8547
|
});
|
|
8548
8548
|
|
|
8549
|
-
// ../node_modules
|
|
8549
|
+
// ../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
|
|
8550
8550
|
var TR = p((Ht) => {
|
|
8551
8551
|
"use strict";
|
|
8552
8552
|
Object.defineProperty(Ht, "__esModule", {
|
|
@@ -8586,7 +8586,7 @@ var TR = p((Ht) => {
|
|
|
8586
8586
|
Ht.default = P9;
|
|
8587
8587
|
});
|
|
8588
8588
|
|
|
8589
|
-
// ../node_modules
|
|
8589
|
+
// ../node_modules/pretty-format/node_modules/ansi-regex/index.js
|
|
8590
8590
|
var OR = p((Rhe, SR) => {
|
|
8591
8591
|
"use strict";
|
|
8592
8592
|
SR.exports = ({ onlyFirst: e = !1 } = {}) => {
|
|
@@ -8598,7 +8598,7 @@ var OR = p((Rhe, SR) => {
|
|
|
8598
8598
|
};
|
|
8599
8599
|
});
|
|
8600
8600
|
|
|
8601
|
-
// ../node_modules
|
|
8601
|
+
// ../node_modules/pretty-format/build/plugins/ConvertAnsi.js
|
|
8602
8602
|
var jR = p((Ut) => {
|
|
8603
8603
|
"use strict";
|
|
8604
8604
|
Object.defineProperty(Ut, "__esModule", {
|
|
@@ -8665,7 +8665,7 @@ var jR = p((Ut) => {
|
|
|
8665
8665
|
Ut.default = T9;
|
|
8666
8666
|
});
|
|
8667
8667
|
|
|
8668
|
-
// ../node_modules
|
|
8668
|
+
// ../node_modules/pretty-format/build/plugins/DOMCollection.js
|
|
8669
8669
|
var DR = p((Vt) => {
|
|
8670
8670
|
"use strict";
|
|
8671
8671
|
Object.defineProperty(Vt, "__esModule", {
|
|
@@ -8702,7 +8702,7 @@ test");
|
|
|
8702
8702
|
Vt.default = I9;
|
|
8703
8703
|
});
|
|
8704
8704
|
|
|
8705
|
-
// ../node_modules
|
|
8705
|
+
// ../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
|
|
8706
8706
|
var FR = p((gb) => {
|
|
8707
8707
|
"use strict";
|
|
8708
8708
|
Object.defineProperty(gb, "__esModule", {
|
|
@@ -8715,7 +8715,7 @@ var FR = p((gb) => {
|
|
|
8715
8715
|
o(j9, "escapeHTML");
|
|
8716
8716
|
});
|
|
8717
8717
|
|
|
8718
|
-
// ../node_modules
|
|
8718
|
+
// ../node_modules/pretty-format/build/plugins/lib/markup.js
|
|
8719
8719
|
var pu = p((Fe) => {
|
|
8720
8720
|
"use strict";
|
|
8721
8721
|
Object.defineProperty(Fe, "__esModule", {
|
|
@@ -8764,7 +8764,7 @@ var pu = p((Fe) => {
|
|
|
8764
8764
|
Fe.printElementAsLeaf = F9;
|
|
8765
8765
|
});
|
|
8766
8766
|
|
|
8767
|
-
// ../node_modules
|
|
8767
|
+
// ../node_modules/pretty-format/build/plugins/DOMElement.js
|
|
8768
8768
|
var YR = p((zt) => {
|
|
8769
8769
|
"use strict";
|
|
8770
8770
|
Object.defineProperty(zt, "__esModule", {
|
|
@@ -8834,7 +8834,7 @@ var YR = p((zt) => {
|
|
|
8834
8834
|
zt.default = Y9;
|
|
8835
8835
|
});
|
|
8836
8836
|
|
|
8837
|
-
// ../node_modules
|
|
8837
|
+
// ../node_modules/pretty-format/build/plugins/Immutable.js
|
|
8838
8838
|
var eT = p((Wt) => {
|
|
8839
8839
|
"use strict";
|
|
8840
8840
|
Object.defineProperty(Wt, "__esModule", {
|
|
@@ -8953,7 +8953,7 @@ rintAsLeaf"), vo = " ", JR = "\u2026", o8 = /* @__PURE__ */ o((e, t, r, n, a, i,
|
|
|
8953
8953
|
Wt.default = u8;
|
|
8954
8954
|
});
|
|
8955
8955
|
|
|
8956
|
-
// ../node_modules
|
|
8956
|
+
// ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js
|
|
8957
8957
|
var tT = p((ue) => {
|
|
8958
8958
|
"use strict";
|
|
8959
8959
|
(function() {
|
|
@@ -9006,13 +9006,13 @@ act.provider"), s = C("react.context"), l = C("react.forward_ref"), c = C("react
|
|
|
9006
9006
|
}
|
|
9007
9007
|
}
|
|
9008
9008
|
o(R, "typeOf");
|
|
9009
|
-
var A = s, j = i, J = e, O = l, z = r, re = f, $ = d, D = t, B = a, G = n, W = c, le = !1,
|
|
9009
|
+
var A = s, j = i, J = e, O = l, z = r, re = f, $ = d, D = t, B = a, G = n, W = c, le = !1, _e = !1;
|
|
9010
9010
|
function De(M) {
|
|
9011
9011
|
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
9012
9012
|
}
|
|
9013
9013
|
o(De, "isAsyncMode");
|
|
9014
9014
|
function I(M) {
|
|
9015
|
-
return
|
|
9015
|
+
return _e || (_e = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
9016
9016
|
}
|
|
9017
9017
|
o(I, "isConcurrentMode");
|
|
9018
9018
|
function N(M) {
|
|
@@ -9065,13 +9065,13 @@ act.provider"), s = C("react.context"), l = C("react.forward_ref"), c = C("react
|
|
|
9065
9065
|
})();
|
|
9066
9066
|
});
|
|
9067
9067
|
|
|
9068
|
-
// ../node_modules
|
|
9068
|
+
// ../node_modules/pretty-format/node_modules/react-is/index.js
|
|
9069
9069
|
var nT = p((Hhe, rT) => {
|
|
9070
9070
|
"use strict";
|
|
9071
9071
|
rT.exports = tT();
|
|
9072
9072
|
});
|
|
9073
9073
|
|
|
9074
|
-
// ../node_modules
|
|
9074
|
+
// ../node_modules/pretty-format/build/plugins/ReactElement.js
|
|
9075
9075
|
var uT = p((Gt) => {
|
|
9076
9076
|
"use strict";
|
|
9077
9077
|
Object.defineProperty(Gt, "__esModule", {
|
|
@@ -9168,7 +9168,7 @@ var uT = p((Gt) => {
|
|
|
9168
9168
|
Gt.default = p8;
|
|
9169
9169
|
});
|
|
9170
9170
|
|
|
9171
|
-
// ../node_modules
|
|
9171
|
+
// ../node_modules/pretty-format/build/plugins/ReactTestComponent.js
|
|
9172
9172
|
var fT = p((Kt) => {
|
|
9173
9173
|
"use strict";
|
|
9174
9174
|
Object.defineProperty(Kt, "__esModule", {
|
|
@@ -9214,7 +9214,7 @@ var fT = p((Kt) => {
|
|
|
9214
9214
|
Kt.default = y8;
|
|
9215
9215
|
});
|
|
9216
9216
|
|
|
9217
|
-
// ../node_modules
|
|
9217
|
+
// ../node_modules/pretty-format/build/index.js
|
|
9218
9218
|
var TT = p((qt) => {
|
|
9219
9219
|
"use strict";
|
|
9220
9220
|
Object.defineProperty(qt, "__esModule", {
|
|
@@ -16175,7 +16175,7 @@ fp(Ye, {
|
|
|
16175
16175
|
hasProperty: /* @__PURE__ */ o(() => ra, "hasProperty"),
|
|
16176
16176
|
inspect: /* @__PURE__ */ o(() => ee, "inspect"),
|
|
16177
16177
|
isNaN: /* @__PURE__ */ o(() => Jo, "isNaN"),
|
|
16178
|
-
isNumeric: /* @__PURE__ */ o(() =>
|
|
16178
|
+
isNumeric: /* @__PURE__ */ o(() => Pe, "isNumeric"),
|
|
16179
16179
|
isProxyEnabled: /* @__PURE__ */ o(() => An, "isProxyEnabled"),
|
|
16180
16180
|
isRegExp: /* @__PURE__ */ o(() => Qo, "isRegExp"),
|
|
16181
16181
|
objDisplay: /* @__PURE__ */ o(() => ur, "objDisplay"),
|
|
@@ -17501,11 +17501,11 @@ function Qo(e) {
|
|
|
17501
17501
|
}
|
|
17502
17502
|
o(Qo, "isRegExp2");
|
|
17503
17503
|
T(Qo, "isRegExp");
|
|
17504
|
-
function
|
|
17504
|
+
function Pe(e) {
|
|
17505
17505
|
return ["Number", "BigInt"].includes(ie(e));
|
|
17506
17506
|
}
|
|
17507
|
-
o(
|
|
17508
|
-
T(
|
|
17507
|
+
o(Pe, "isNumeric");
|
|
17508
|
+
T(Pe, "isNumeric");
|
|
17509
17509
|
var { flag: P } = Ye;
|
|
17510
17510
|
[
|
|
17511
17511
|
"to",
|
|
@@ -17831,13 +17831,13 @@ function aa(e, t) {
|
|
|
17831
17831
|
void 0,
|
|
17832
17832
|
s
|
|
17833
17833
|
);
|
|
17834
|
-
if (!
|
|
17834
|
+
if (!Pe(e) && (n || Pe(r)))
|
|
17835
17835
|
throw new te(
|
|
17836
17836
|
i + "the argument to above must be a number",
|
|
17837
17837
|
void 0,
|
|
17838
17838
|
s
|
|
17839
17839
|
);
|
|
17840
|
-
if (!n && l !== "date" && !
|
|
17840
|
+
if (!n && l !== "date" && !Pe(r)) {
|
|
17841
17841
|
var u = l === "string" ? "'" + r + "'" : r;
|
|
17842
17842
|
throw new te(
|
|
17843
17843
|
i + "expected " + u + " to be a number or a date",
|
|
@@ -17873,9 +17873,9 @@ function ia(e, t) {
|
|
|
17873
17873
|
c = ie(e).toLowerCase(), u, d = !0;
|
|
17874
17874
|
if (n && l !== "map" && l !== "set" && new E(r, a, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
|
|
17875
17875
|
u = i + "the argument to least must be a date";
|
|
17876
|
-
else if (!
|
|
17876
|
+
else if (!Pe(e) && (n || Pe(r)))
|
|
17877
17877
|
u = i + "the argument to least must be a number";
|
|
17878
|
-
else if (!n && l !== "date" && !
|
|
17878
|
+
else if (!n && l !== "date" && !Pe(r)) {
|
|
17879
17879
|
var f = l === "string" ? "'" + r + "'" : r;
|
|
17880
17880
|
u = i + "expected " + f + " to be a number or a date";
|
|
17881
17881
|
} else
|
|
@@ -17910,9 +17910,9 @@ function sa(e, t) {
|
|
|
17910
17910
|
c = ie(e).toLowerCase(), u, d = !0;
|
|
17911
17911
|
if (n && l !== "map" && l !== "set" && new E(r, a, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
|
|
17912
17912
|
u = i + "the argument to below must be a date";
|
|
17913
|
-
else if (!
|
|
17913
|
+
else if (!Pe(e) && (n || Pe(r)))
|
|
17914
17914
|
u = i + "the argument to below must be a number";
|
|
17915
|
-
else if (!n && l !== "date" && !
|
|
17915
|
+
else if (!n && l !== "date" && !Pe(r)) {
|
|
17916
17916
|
var f = l === "string" ? "'" + r + "'" : r;
|
|
17917
17917
|
u = i + "expected " + f + " to be a number or a date";
|
|
17918
17918
|
} else
|
|
@@ -17947,9 +17947,9 @@ function la(e, t) {
|
|
|
17947
17947
|
c = ie(e).toLowerCase(), u, d = !0;
|
|
17948
17948
|
if (n && l !== "map" && l !== "set" && new E(r, a, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
|
|
17949
17949
|
u = i + "the argument to most must be a date";
|
|
17950
|
-
else if (!
|
|
17950
|
+
else if (!Pe(e) && (n || Pe(r)))
|
|
17951
17951
|
u = i + "the argument to most must be a number";
|
|
17952
|
-
else if (!n && l !== "date" && !
|
|
17952
|
+
else if (!n && l !== "date" && !Pe(r)) {
|
|
17953
17953
|
var f = l === "string" ? "'" + r + "'" : r;
|
|
17954
17954
|
u = i + "expected " + f + " to be a number or a date";
|
|
17955
17955
|
} else
|
|
@@ -17985,9 +17985,9 @@ E.addMethod("within", function(e, t, r) {
|
|
|
17985
17985
|
e + ".." + t;
|
|
17986
17986
|
if (a && c !== "map" && c !== "set" && new E(n, i, l, !0).to.have.property("length"), !a && c === "date" && (u !== "date" || d !== "date"))
|
|
17987
17987
|
f = s + "the arguments to within must be dates";
|
|
17988
|
-
else if ((!
|
|
17988
|
+
else if ((!Pe(e) || !Pe(t)) && (a || Pe(n)))
|
|
17989
17989
|
f = s + "the arguments to within must be numbers";
|
|
17990
|
-
else if (!a && c !== "date" && !
|
|
17990
|
+
else if (!a && c !== "date" && !Pe(n)) {
|
|
17991
17991
|
var y = c === "string" ? "'" + n + "'" : n;
|
|
17992
17992
|
f = s + "expected " + y + " to be a number or a date";
|
|
17993
17993
|
} else
|
|
@@ -19423,15 +19423,13 @@ var da = class {
|
|
|
19423
19423
|
this.start = t, this.end = r, this.source = n;
|
|
19424
19424
|
}
|
|
19425
19425
|
}, KI = {};
|
|
19426
|
-
Jp(KI, "CssTypes", () =>
|
|
19427
|
-
var
|
|
19428
|
-
|
|
19429
|
-
e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset =
|
|
19426
|
+
Jp(KI, "CssTypes", () => qe);
|
|
19427
|
+
var qe = /* @__PURE__ */ function(e) {
|
|
19428
|
+
return e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset =
|
|
19430
19429
|
"charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "import", e.keyframes =
|
|
19431
19430
|
"keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.startingStyle = "\
|
|
19432
|
-
starting-style", e.supports = "supports";
|
|
19433
|
-
})
|
|
19434
|
-
var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
19431
|
+
starting-style", e.supports = "supports", e;
|
|
19432
|
+
}({}), Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
19435
19433
|
t = t || {};
|
|
19436
19434
|
let r = 1, n = 1;
|
|
19437
19435
|
function a(I) {
|
|
@@ -19465,7 +19463,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19465
19463
|
function c() {
|
|
19466
19464
|
let I = f();
|
|
19467
19465
|
return {
|
|
19468
|
-
type:
|
|
19466
|
+
type: qe.stylesheet,
|
|
19469
19467
|
stylesheet: {
|
|
19470
19468
|
source: t?.source,
|
|
19471
19469
|
rules: I,
|
|
@@ -19484,7 +19482,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19484
19482
|
o(d, "close");
|
|
19485
19483
|
function f() {
|
|
19486
19484
|
let I, N = [];
|
|
19487
|
-
for (m(), y(N); e.length && e.charAt(0) !== "}" && (I =
|
|
19485
|
+
for (m(), y(N); e.length && e.charAt(0) !== "}" && (I = _e() || De()); ) I && (N.push(I), y(N));
|
|
19488
19486
|
return N;
|
|
19489
19487
|
}
|
|
19490
19488
|
o(f, "rules");
|
|
@@ -19510,7 +19508,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19510
19508
|
if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
|
|
19511
19509
|
let N = h(/^\/\*[^]*?\*\//);
|
|
19512
19510
|
return N ? I({
|
|
19513
|
-
type:
|
|
19511
|
+
type: qe.comment,
|
|
19514
19512
|
comment: N[0].slice(2, -2)
|
|
19515
19513
|
}) : l("End of comment missing");
|
|
19516
19514
|
}
|
|
@@ -19545,8 +19543,8 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19545
19543
|
if (!N) return;
|
|
19546
19544
|
let U = Je(N[0]);
|
|
19547
19545
|
if (!h(/^:\s*/)) return l("property missing ':'");
|
|
19548
|
-
let V = h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/), Y = I({
|
|
19549
|
-
type:
|
|
19546
|
+
let V = h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/), Y = I({
|
|
19547
|
+
type: qe.declaration,
|
|
19550
19548
|
property: U.replace(Yp, ""),
|
|
19551
19549
|
value: V ? Je(V[0]).replace(Yp, "") : ""
|
|
19552
19550
|
});
|
|
@@ -19568,7 +19566,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19568
19566
|
N.push(I[1]), h(/^,\s*/);
|
|
19569
19567
|
if (N.length)
|
|
19570
19568
|
return U({
|
|
19571
|
-
type:
|
|
19569
|
+
type: qe.keyframe,
|
|
19572
19570
|
values: N,
|
|
19573
19571
|
declarations: q() || []
|
|
19574
19572
|
});
|
|
@@ -19585,7 +19583,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19585
19583
|
for (; ve = C(); )
|
|
19586
19584
|
Te.push(ve), Te = Te.concat(y());
|
|
19587
19585
|
return d() ? I({
|
|
19588
|
-
type:
|
|
19586
|
+
type: qe.keyframes,
|
|
19589
19587
|
name: Y,
|
|
19590
19588
|
vendor: U,
|
|
19591
19589
|
keyframes: Te
|
|
@@ -19599,7 +19597,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19599
19597
|
if (!u()) return l("@supports missing '{'");
|
|
19600
19598
|
let V = y().concat(f());
|
|
19601
19599
|
return d() ? I({
|
|
19602
|
-
type:
|
|
19600
|
+
type: qe.supports,
|
|
19603
19601
|
supports: U,
|
|
19604
19602
|
rules: V
|
|
19605
19603
|
}) : l("@supports missing '}'");
|
|
@@ -19611,7 +19609,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19611
19609
|
if (!u()) return l("@host missing '{'");
|
|
19612
19610
|
let U = y().concat(f());
|
|
19613
19611
|
return d() ? I({
|
|
19614
|
-
type:
|
|
19612
|
+
type: qe.host,
|
|
19615
19613
|
rules: U
|
|
19616
19614
|
}) : l("@host missing '}'");
|
|
19617
19615
|
}
|
|
@@ -19623,7 +19621,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19623
19621
|
if (!u()) return l("@container missing '{'");
|
|
19624
19622
|
let V = y().concat(f());
|
|
19625
19623
|
return d() ? I({
|
|
19626
|
-
type:
|
|
19624
|
+
type: qe.container,
|
|
19627
19625
|
container: U,
|
|
19628
19626
|
rules: V
|
|
19629
19627
|
}) : l("@container missing '}'");
|
|
@@ -19635,12 +19633,12 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19635
19633
|
let U = Je(N[1]);
|
|
19636
19634
|
if (!u())
|
|
19637
19635
|
return h(/^[;\s]*/), I({
|
|
19638
|
-
type:
|
|
19636
|
+
type: qe.layer,
|
|
19639
19637
|
layer: U
|
|
19640
19638
|
});
|
|
19641
19639
|
let V = y().concat(f());
|
|
19642
19640
|
return d() ? I({
|
|
19643
|
-
type:
|
|
19641
|
+
type: qe.layer,
|
|
19644
19642
|
layer: U,
|
|
19645
19643
|
rules: V
|
|
19646
19644
|
}) : l("@layer missing '}'");
|
|
@@ -19653,7 +19651,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19653
19651
|
if (!u()) return l("@media missing '{'");
|
|
19654
19652
|
let V = y().concat(f());
|
|
19655
19653
|
return d() ? I({
|
|
19656
|
-
type:
|
|
19654
|
+
type: qe.media,
|
|
19657
19655
|
media: U,
|
|
19658
19656
|
rules: V
|
|
19659
19657
|
}) : l("@media missing '}'");
|
|
@@ -19663,7 +19661,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19663
19661
|
let I = i(), N = h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
|
|
19664
19662
|
if (N)
|
|
19665
19663
|
return I({
|
|
19666
|
-
type:
|
|
19664
|
+
type: qe.customMedia,
|
|
19667
19665
|
name: Je(N[1]),
|
|
19668
19666
|
media: Je(N[2])
|
|
19669
19667
|
});
|
|
@@ -19678,7 +19676,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19678
19676
|
for (; Y = w(); )
|
|
19679
19677
|
V.push(Y), V = V.concat(y());
|
|
19680
19678
|
return d() ? I({
|
|
19681
|
-
type:
|
|
19679
|
+
type: qe.page,
|
|
19682
19680
|
selectors: U,
|
|
19683
19681
|
declarations: V
|
|
19684
19682
|
}) : l("@page missing '}'");
|
|
@@ -19691,7 +19689,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19691
19689
|
if (!u()) return l("@document missing '{'");
|
|
19692
19690
|
let Y = y().concat(f());
|
|
19693
19691
|
return d() ? I({
|
|
19694
|
-
type:
|
|
19692
|
+
type: qe.document,
|
|
19695
19693
|
document: V,
|
|
19696
19694
|
vendor: U,
|
|
19697
19695
|
rules: Y
|
|
@@ -19706,7 +19704,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19706
19704
|
for (; V = w(); )
|
|
19707
19705
|
U.push(V), U = U.concat(y());
|
|
19708
19706
|
return d() ? I({
|
|
19709
|
-
type:
|
|
19707
|
+
type: qe.fontFace,
|
|
19710
19708
|
declarations: U
|
|
19711
19709
|
}) : l("@font-face missing '}'");
|
|
19712
19710
|
}
|
|
@@ -19717,7 +19715,7 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19717
19715
|
if (!u()) return l("@starting-style missing '{'");
|
|
19718
19716
|
let U = y().concat(f());
|
|
19719
19717
|
return d() ? I({
|
|
19720
|
-
type:
|
|
19718
|
+
type: qe.startingStyle,
|
|
19721
19719
|
rules: U
|
|
19722
19720
|
}) : l("@starting-style missing '}'");
|
|
19723
19721
|
}
|
|
@@ -19735,15 +19733,15 @@ var Yp = /\/\*[^]*?(?:\*\/|$)/g, YI = /* @__PURE__ */ o((e, t) => {
|
|
|
19735
19733
|
};
|
|
19736
19734
|
}
|
|
19737
19735
|
o(le, "_compileAtrule");
|
|
19738
|
-
function
|
|
19736
|
+
function _e() {
|
|
19739
19737
|
if (e[0] === "@")
|
|
19740
19738
|
return _() || J() || O() || S() || B() || G() || W() || re() || z() || R() || $() || A() || D() || j();
|
|
19741
19739
|
}
|
|
19742
|
-
o(
|
|
19740
|
+
o(_e, "atrule");
|
|
19743
19741
|
function De() {
|
|
19744
19742
|
let I = i(), N = b();
|
|
19745
19743
|
return N ? (y(), I({
|
|
19746
|
-
type:
|
|
19744
|
+
type: qe.rule,
|
|
19747
19745
|
selectors: N,
|
|
19748
19746
|
declarations: q() || []
|
|
19749
19747
|
})) : l("selector missing");
|
|
@@ -19893,7 +19891,7 @@ var aj = /* @__PURE__ */ function() {
|
|
|
19893
19891
|
}(), Gg = typeof Set > "u" ? Set : aj;
|
|
19894
19892
|
|
|
19895
19893
|
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
19896
|
-
function
|
|
19894
|
+
function Ee(e) {
|
|
19897
19895
|
var t;
|
|
19898
19896
|
return (
|
|
19899
19897
|
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
|
|
@@ -19903,7 +19901,7 @@ function we(e) {
|
|
|
19903
19901
|
)
|
|
19904
19902
|
);
|
|
19905
19903
|
}
|
|
19906
|
-
o(
|
|
19904
|
+
o(Ee, "getLocalName");
|
|
19907
19905
|
var ij = {
|
|
19908
19906
|
article: "article",
|
|
19909
19907
|
aside: "complementary",
|
|
@@ -20011,10 +20009,10 @@ function fa(e) {
|
|
|
20011
20009
|
}
|
|
20012
20010
|
o(fa, "getRole");
|
|
20013
20011
|
function uj(e) {
|
|
20014
|
-
var t = ij[
|
|
20012
|
+
var t = ij[Ee(e)];
|
|
20015
20013
|
if (t !== void 0)
|
|
20016
20014
|
return t;
|
|
20017
|
-
switch (
|
|
20015
|
+
switch (Ee(e)) {
|
|
20018
20016
|
case "a":
|
|
20019
20017
|
case "area":
|
|
20020
20018
|
case "link":
|
|
@@ -20073,27 +20071,27 @@ function fe(e) {
|
|
|
20073
20071
|
}
|
|
20074
20072
|
o(fe, "isElement");
|
|
20075
20073
|
function Qp(e) {
|
|
20076
|
-
return fe(e) &&
|
|
20074
|
+
return fe(e) && Ee(e) === "caption";
|
|
20077
20075
|
}
|
|
20078
20076
|
o(Qp, "isHTMLTableCaptionElement");
|
|
20079
20077
|
function $n(e) {
|
|
20080
|
-
return fe(e) &&
|
|
20078
|
+
return fe(e) && Ee(e) === "input";
|
|
20081
20079
|
}
|
|
20082
20080
|
o($n, "isHTMLInputElement");
|
|
20083
20081
|
function Yg(e) {
|
|
20084
|
-
return fe(e) &&
|
|
20082
|
+
return fe(e) && Ee(e) === "optgroup";
|
|
20085
20083
|
}
|
|
20086
20084
|
o(Yg, "isHTMLOptGroupElement");
|
|
20087
20085
|
function Xg(e) {
|
|
20088
|
-
return fe(e) &&
|
|
20086
|
+
return fe(e) && Ee(e) === "select";
|
|
20089
20087
|
}
|
|
20090
20088
|
o(Xg, "isHTMLSelectElement");
|
|
20091
20089
|
function Jg(e) {
|
|
20092
|
-
return fe(e) &&
|
|
20090
|
+
return fe(e) && Ee(e) === "table";
|
|
20093
20091
|
}
|
|
20094
20092
|
o(Jg, "isHTMLTableElement");
|
|
20095
20093
|
function Qg(e) {
|
|
20096
|
-
return fe(e) &&
|
|
20094
|
+
return fe(e) && Ee(e) === "textarea";
|
|
20097
20095
|
}
|
|
20098
20096
|
o(Qg, "isHTMLTextAreaElement");
|
|
20099
20097
|
function Zg(e) {
|
|
@@ -20104,15 +20102,15 @@ function Zg(e) {
|
|
|
20104
20102
|
}
|
|
20105
20103
|
o(Zg, "safeWindow");
|
|
20106
20104
|
function ev(e) {
|
|
20107
|
-
return fe(e) &&
|
|
20105
|
+
return fe(e) && Ee(e) === "fieldset";
|
|
20108
20106
|
}
|
|
20109
20107
|
o(ev, "isHTMLFieldSetElement");
|
|
20110
20108
|
function tv(e) {
|
|
20111
|
-
return fe(e) &&
|
|
20109
|
+
return fe(e) && Ee(e) === "legend";
|
|
20112
20110
|
}
|
|
20113
20111
|
o(tv, "isHTMLLegendElement");
|
|
20114
20112
|
function rv(e) {
|
|
20115
|
-
return fe(e) &&
|
|
20113
|
+
return fe(e) && Ee(e) === "slot";
|
|
20116
20114
|
}
|
|
20117
20115
|
o(rv, "isHTMLSlotElement");
|
|
20118
20116
|
function dj(e) {
|
|
@@ -20120,11 +20118,11 @@ function dj(e) {
|
|
|
20120
20118
|
}
|
|
20121
20119
|
o(dj, "isSVGElement");
|
|
20122
20120
|
function nv(e) {
|
|
20123
|
-
return fe(e) &&
|
|
20121
|
+
return fe(e) && Ee(e) === "svg";
|
|
20124
20122
|
}
|
|
20125
20123
|
o(nv, "isSVGSVGElement");
|
|
20126
20124
|
function ov(e) {
|
|
20127
|
-
return dj(e) &&
|
|
20125
|
+
return dj(e) && Ee(e) === "title";
|
|
20128
20126
|
}
|
|
20129
20127
|
o(ov, "isSVGTitleElement");
|
|
20130
20128
|
function $r(e, t) {
|
|
@@ -20214,7 +20212,7 @@ function iv(e) {
|
|
|
20214
20212
|
}
|
|
20215
20213
|
o(iv, "getTextualContent");
|
|
20216
20214
|
function lv(e) {
|
|
20217
|
-
var t =
|
|
20215
|
+
var t = Ee(e);
|
|
20218
20216
|
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
|
|
20219
20217
|
"select" || t === "textarea";
|
|
20220
20218
|
}
|
|
@@ -20324,7 +20322,7 @@ ame" : a, s = t.computedStyleSupportsPseudoElements, l = s === void 0 ? t.getCom
|
|
|
20324
20322
|
return J.textContent;
|
|
20325
20323
|
}
|
|
20326
20324
|
return null;
|
|
20327
|
-
} else if (
|
|
20325
|
+
} else if (Ee(b) === "img" || Ee(b) === "area") {
|
|
20328
20326
|
var O = m(b, "alt");
|
|
20329
20327
|
if (O !== null)
|
|
20330
20328
|
return O;
|
|
@@ -22402,10 +22400,10 @@ o"), h = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), y = !1, g
|
|
|
22402
22400
|
}
|
|
22403
22401
|
o(_, "typeOf");
|
|
22404
22402
|
var S = s, R = i, A = e, j = c, J = r, O = h, z = f, re = t, $ = a, D = n, B = u, G = d, W = !1, le = !1;
|
|
22405
|
-
function
|
|
22403
|
+
function _e(M) {
|
|
22406
22404
|
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
22407
22405
|
}
|
|
22408
|
-
o(
|
|
22406
|
+
o(_e, "isAsyncMode");
|
|
22409
22407
|
function De(M) {
|
|
22410
22408
|
return le || (le = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
22411
22409
|
}
|
|
@@ -22458,7 +22456,7 @@ o"), h = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), y = !1, g
|
|
|
22458
22456
|
return _(M) === d;
|
|
22459
22457
|
}
|
|
22460
22458
|
o(Yf, "isSuspenseList"), ae.ContextConsumer = S, ae.ContextProvider = R, ae.Element = A, ae.ForwardRef = j, ae.Fragment = J, ae.Lazy = O,
|
|
22461
|
-
ae.Memo = z, ae.Portal = re, ae.Profiler = $, ae.StrictMode = D, ae.Suspense = B, ae.SuspenseList = G, ae.isAsyncMode =
|
|
22459
|
+
ae.Memo = z, ae.Portal = re, ae.Profiler = $, ae.StrictMode = D, ae.Suspense = B, ae.SuspenseList = G, ae.isAsyncMode = _e, ae.isConcurrentMode =
|
|
22462
22460
|
De, ae.isContextConsumer = I, ae.isContextProvider = N, ae.isElement = U, ae.isForwardRef = V, ae.isFragment = Y, ae.isLazy = ve, ae.isMemo =
|
|
22463
22461
|
Te, ae.isPortal = ot, ae.isProfiler = sr, ae.isStrictMode = Ar, ae.isSuspense = Nr, ae.isSuspenseList = Yf, ae.isValidElementType = C, ae.
|
|
22464
22462
|
typeOf = _;
|
|
@@ -22979,7 +22977,7 @@ function Ne(e, t, r = _t) {
|
|
|
22979
22977
|
return e;
|
|
22980
22978
|
}
|
|
22981
22979
|
o(Ne, "truncate");
|
|
22982
|
-
function
|
|
22980
|
+
function we(e, t, r, n = ", ") {
|
|
22983
22981
|
r = r || t.inspect;
|
|
22984
22982
|
let a = e.length;
|
|
22985
22983
|
if (a === 0)
|
|
@@ -23002,7 +23000,7 @@ function Ce(e, t, r, n = ", ") {
|
|
|
23002
23000
|
}
|
|
23003
23001
|
return `${s}${c}`;
|
|
23004
23002
|
}
|
|
23005
|
-
o(
|
|
23003
|
+
o(we, "inspectList");
|
|
23006
23004
|
function S4(e) {
|
|
23007
23005
|
return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
|
|
23008
23006
|
}
|
|
@@ -23019,10 +23017,10 @@ function kh(e, t) {
|
|
|
23019
23017
|
if (!e.length && !r.length)
|
|
23020
23018
|
return "[]";
|
|
23021
23019
|
t.truncate -= 4;
|
|
23022
|
-
let n =
|
|
23020
|
+
let n = we(e, t);
|
|
23023
23021
|
t.truncate -= n.length;
|
|
23024
23022
|
let a = "";
|
|
23025
|
-
return r.length && (a =
|
|
23023
|
+
return r.length && (a = we(r.map((i) => [i, e[i]]), t, Pt)), `[ ${n}${a ? `, ${a}` : ""} ]`;
|
|
23026
23024
|
}
|
|
23027
23025
|
o(kh, "inspectArray");
|
|
23028
23026
|
|
|
@@ -23045,7 +23043,7 @@ function lt(e, t) {
|
|
|
23045
23043
|
a += l;
|
|
23046
23044
|
}
|
|
23047
23045
|
let i = "";
|
|
23048
|
-
return n.length && (i =
|
|
23046
|
+
return n.length && (i = we(n.map((s) => [s, e[s]]), t, Pt)), `${r}[ ${a}${i ? `, ${i}` : ""} ]`;
|
|
23049
23047
|
}
|
|
23050
23048
|
o(lt, "inspectTypedArray");
|
|
23051
23049
|
|
|
@@ -23079,7 +23077,7 @@ function A4(e) {
|
|
|
23079
23077
|
}
|
|
23080
23078
|
o(A4, "mapToEntries");
|
|
23081
23079
|
function $h(e, t) {
|
|
23082
|
-
return e.size === 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${
|
|
23080
|
+
return e.size === 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${we(A4(e), t, M4)} }`);
|
|
23083
23081
|
}
|
|
23084
23082
|
o($h, "inspectMap");
|
|
23085
23083
|
|
|
@@ -23114,7 +23112,7 @@ function I4(e) {
|
|
|
23114
23112
|
}
|
|
23115
23113
|
o(I4, "arrayFromSet");
|
|
23116
23114
|
function Dh(e, t) {
|
|
23117
|
-
return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${
|
|
23115
|
+
return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${we(I4(e), t)} }`);
|
|
23118
23116
|
}
|
|
23119
23117
|
o(Dh, "inspectSet");
|
|
23120
23118
|
|
|
@@ -23164,7 +23162,7 @@ function hr(e, t) {
|
|
|
23164
23162
|
if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e))
|
|
23165
23163
|
return "[Circular]";
|
|
23166
23164
|
t.seen.push(e);
|
|
23167
|
-
let a =
|
|
23165
|
+
let a = we(r.map((l) => [l, e[l]]), t, Pt), i = we(n.map((l) => [l, e[l]]), t, Pt);
|
|
23168
23166
|
t.seen.pop();
|
|
23169
23167
|
let s = "";
|
|
23170
23168
|
return a && i && (s = ", "), `{ ${a}${s}${i} }`;
|
|
@@ -23182,7 +23180,7 @@ o(Hh, "inspectClass");
|
|
|
23182
23180
|
|
|
23183
23181
|
// ../node_modules/loupe/lib/arguments.js
|
|
23184
23182
|
function Uh(e, t) {
|
|
23185
|
-
return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${
|
|
23183
|
+
return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${we(e, t)} ]`);
|
|
23186
23184
|
}
|
|
23187
23185
|
o(Uh, "inspectArguments");
|
|
23188
23186
|
|
|
@@ -23208,7 +23206,7 @@ function Vh(e, t) {
|
|
|
23208
23206
|
t.seen = t.seen || [], t.seen.includes(e))
|
|
23209
23207
|
return "[Circular]";
|
|
23210
23208
|
t.seen.push(e);
|
|
23211
|
-
let i =
|
|
23209
|
+
let i = we(r.map((s) => [s, e[s]]), t, Pt);
|
|
23212
23210
|
return `${n}${a}${i ? ` { ${i} }` : ""}`;
|
|
23213
23211
|
}
|
|
23214
23212
|
o(Vh, "inspectObject");
|
|
@@ -23219,7 +23217,7 @@ function D4([e, t], r) {
|
|
|
23219
23217
|
}
|
|
23220
23218
|
o(D4, "inspectAttribute");
|
|
23221
23219
|
function Fl(e, t) {
|
|
23222
|
-
return
|
|
23220
|
+
return we(e, t, Hl, `
|
|
23223
23221
|
`);
|
|
23224
23222
|
}
|
|
23225
23223
|
o(Fl, "inspectHTMLCollection");
|
|
@@ -23228,7 +23226,7 @@ function Hl(e, t) {
|
|
|
23228
23226
|
`</${n}>`, "special");
|
|
23229
23227
|
t.truncate -= n.length * 2 + 5;
|
|
23230
23228
|
let l = "";
|
|
23231
|
-
r.length > 0 && (l += " ", l +=
|
|
23229
|
+
r.length > 0 && (l += " ", l += we(r.map((d) => [d, e.getAttribute(d)]), t, D4, " ")), t.truncate -= l.length;
|
|
23232
23230
|
let c = t.truncate, u = Fl(e.children, t);
|
|
23233
23231
|
return u && u.length > c && (u = `${_t}(${e.children.length})`), `${a}${l}${i}${u}${s}`;
|
|
23234
23232
|
}
|
|
@@ -23989,13 +23987,13 @@ function s6() {
|
|
|
23989
23987
|
}, "extendPathsR"), s = /* @__PURE__ */ o((m, y, g, x, b, w, q, C, _, S, R) => {
|
|
23990
23988
|
let A = x - y, j = g - y, O = b - x - j, z = -O - (m - 1), re = -O + (m - 1), $ = t, D = m < C ? m : C;
|
|
23991
23989
|
for (let B = 0, G = -m; B <= D; B += 1, G += 2) {
|
|
23992
|
-
let W = B === 0 || B !== m && $ < q[B], le = W ? q[B] : $,
|
|
23993
|
-
|
|
23990
|
+
let W = B === 0 || B !== m && $ < q[B], le = W ? q[B] : $, _e = W ? le : le + 1, De = A + _e - G, I = r(
|
|
23991
|
+
_e + 1,
|
|
23994
23992
|
g,
|
|
23995
23993
|
De + 1,
|
|
23996
23994
|
b,
|
|
23997
23995
|
w
|
|
23998
|
-
), N =
|
|
23996
|
+
), N = _e + I;
|
|
23999
23997
|
if ($ = q[B], q[B] = N, z <= G && G <= re) {
|
|
24000
23998
|
let U = (m - 1 - (G + O)) / 2;
|
|
24001
23999
|
if (U <= S && _[U] - 1 <= N) {
|
|
@@ -24008,7 +24006,7 @@ function s6() {
|
|
|
24008
24006
|
), ve = le - Y, Te = V - Y, ot = ve + 1, sr = Te + 1;
|
|
24009
24007
|
R.nChangePreceding = m - 1, m - 1 === ot + sr - y - x ? (R.aEndPreceding = y, R.bEndPreceding = x) : (R.aEndPreceding = ot, R.bEndPreceding =
|
|
24010
24008
|
sr), R.nCommonPreceding = Y, Y !== 0 && (R.aCommonPreceding = ot, R.bCommonPreceding = sr), R.nCommonFollowing = I, I !== 0 && (R.
|
|
24011
|
-
aCommonFollowing =
|
|
24009
|
+
aCommonFollowing = _e + 1, R.bCommonFollowing = De + 1);
|
|
24012
24010
|
let Ar = N + 1, Nr = De + I + 1;
|
|
24013
24011
|
return R.nChangeFollowing = m - 1, m - 1 === g + b - Ar - Nr ? (R.aStartFollowing = g, R.bStartFollowing = b) : (R.aStartFollowing =
|
|
24014
24012
|
Ar, R.bStartFollowing = Nr), !0;
|
|
@@ -24019,13 +24017,13 @@ function s6() {
|
|
|
24019
24017
|
}, "extendOverlappablePathsF"), l = /* @__PURE__ */ o((m, y, g, x, b, w, q, C, _, S, R) => {
|
|
24020
24018
|
let A = b - g, j = g - y, O = b - x - j, z = O - m, re = O + m, $ = t, D = m < S ? m : S;
|
|
24021
24019
|
for (let B = 0, G = m; B <= D; B += 1, G -= 2) {
|
|
24022
|
-
let W = B === 0 || B !== m && _[B] < $, le = W ? _[B] : $,
|
|
24020
|
+
let W = B === 0 || B !== m && _[B] < $, le = W ? _[B] : $, _e = W ? le : le - 1, De = A + _e - G, I = n(
|
|
24023
24021
|
y,
|
|
24024
|
-
|
|
24022
|
+
_e - 1,
|
|
24025
24023
|
x,
|
|
24026
24024
|
De - 1,
|
|
24027
24025
|
w
|
|
24028
|
-
), N =
|
|
24026
|
+
), N = _e - I;
|
|
24029
24027
|
if ($ = _[B], _[B] = N, z <= G && G <= re) {
|
|
24030
24028
|
let U = (m + (G - O)) / 2;
|
|
24031
24029
|
if (U <= C && N - 1 <= q[U]) {
|
|
@@ -24148,7 +24146,7 @@ function s6() {
|
|
|
24148
24146
|
bCommonFollowing: G,
|
|
24149
24147
|
nChangeFollowing: W,
|
|
24150
24148
|
aStartFollowing: le,
|
|
24151
|
-
bStartFollowing:
|
|
24149
|
+
bStartFollowing: _e
|
|
24152
24150
|
} = S;
|
|
24153
24151
|
y < J && x < O && u(
|
|
24154
24152
|
j,
|
|
@@ -24161,11 +24159,11 @@ function s6() {
|
|
|
24161
24159
|
C,
|
|
24162
24160
|
_,
|
|
24163
24161
|
S
|
|
24164
|
-
), z !== 0 && R(z, re, $), D !== 0 && R(D, B, G), le < g &&
|
|
24162
|
+
), z !== 0 && R(z, re, $), D !== 0 && R(D, B, G), le < g && _e < b && u(
|
|
24165
24163
|
W,
|
|
24166
24164
|
le,
|
|
24167
24165
|
g,
|
|
24168
|
-
|
|
24166
|
+
_e,
|
|
24169
24167
|
b,
|
|
24170
24168
|
w,
|
|
24171
24169
|
q,
|
|
@@ -27211,7 +27209,7 @@ var Y8 = /* @__PURE__ */ function() {
|
|
|
27211
27209
|
}(), AT = typeof Set > "u" ? Set : Y8;
|
|
27212
27210
|
|
|
27213
27211
|
// ../node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
27214
|
-
function
|
|
27212
|
+
function Ce(e) {
|
|
27215
27213
|
var t;
|
|
27216
27214
|
return (
|
|
27217
27215
|
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
|
|
@@ -27221,7 +27219,7 @@ function xe(e) {
|
|
|
27221
27219
|
)
|
|
27222
27220
|
);
|
|
27223
27221
|
}
|
|
27224
|
-
o(
|
|
27222
|
+
o(Ce, "getLocalName");
|
|
27225
27223
|
var X8 = {
|
|
27226
27224
|
article: "article",
|
|
27227
27225
|
aside: "complementary",
|
|
@@ -27327,10 +27325,10 @@ function vu(e) {
|
|
|
27327
27325
|
}
|
|
27328
27326
|
o(vu, "getRole");
|
|
27329
27327
|
function Z8(e) {
|
|
27330
|
-
var t = X8[
|
|
27328
|
+
var t = X8[Ce(e)];
|
|
27331
27329
|
if (t !== void 0)
|
|
27332
27330
|
return t;
|
|
27333
|
-
switch (
|
|
27331
|
+
switch (Ce(e)) {
|
|
27334
27332
|
case "a":
|
|
27335
27333
|
case "area":
|
|
27336
27334
|
case "link":
|
|
@@ -27388,27 +27386,27 @@ function he(e) {
|
|
|
27388
27386
|
}
|
|
27389
27387
|
o(he, "isElement");
|
|
27390
27388
|
function _b(e) {
|
|
27391
|
-
return he(e) &&
|
|
27389
|
+
return he(e) && Ce(e) === "caption";
|
|
27392
27390
|
}
|
|
27393
27391
|
o(_b, "isHTMLTableCaptionElement");
|
|
27394
27392
|
function Co(e) {
|
|
27395
|
-
return he(e) &&
|
|
27393
|
+
return he(e) && Ce(e) === "input";
|
|
27396
27394
|
}
|
|
27397
27395
|
o(Co, "isHTMLInputElement");
|
|
27398
27396
|
function IT(e) {
|
|
27399
|
-
return he(e) &&
|
|
27397
|
+
return he(e) && Ce(e) === "optgroup";
|
|
27400
27398
|
}
|
|
27401
27399
|
o(IT, "isHTMLOptGroupElement");
|
|
27402
27400
|
function jT(e) {
|
|
27403
|
-
return he(e) &&
|
|
27401
|
+
return he(e) && Ce(e) === "select";
|
|
27404
27402
|
}
|
|
27405
27403
|
o(jT, "isHTMLSelectElement");
|
|
27406
27404
|
function kT(e) {
|
|
27407
|
-
return he(e) &&
|
|
27405
|
+
return he(e) && Ce(e) === "table";
|
|
27408
27406
|
}
|
|
27409
27407
|
o(kT, "isHTMLTableElement");
|
|
27410
27408
|
function LT(e) {
|
|
27411
|
-
return he(e) &&
|
|
27409
|
+
return he(e) && Ce(e) === "textarea";
|
|
27412
27410
|
}
|
|
27413
27411
|
o(LT, "isHTMLTextAreaElement");
|
|
27414
27412
|
function $T(e) {
|
|
@@ -27419,15 +27417,15 @@ function $T(e) {
|
|
|
27419
27417
|
}
|
|
27420
27418
|
o($T, "safeWindow");
|
|
27421
27419
|
function BT(e) {
|
|
27422
|
-
return he(e) &&
|
|
27420
|
+
return he(e) && Ce(e) === "fieldset";
|
|
27423
27421
|
}
|
|
27424
27422
|
o(BT, "isHTMLFieldSetElement");
|
|
27425
27423
|
function DT(e) {
|
|
27426
|
-
return he(e) &&
|
|
27424
|
+
return he(e) && Ce(e) === "legend";
|
|
27427
27425
|
}
|
|
27428
27426
|
o(DT, "isHTMLLegendElement");
|
|
27429
27427
|
function FT(e) {
|
|
27430
|
-
return he(e) &&
|
|
27428
|
+
return he(e) && Ce(e) === "slot";
|
|
27431
27429
|
}
|
|
27432
27430
|
o(FT, "isHTMLSlotElement");
|
|
27433
27431
|
function tW(e) {
|
|
@@ -27435,11 +27433,11 @@ function tW(e) {
|
|
|
27435
27433
|
}
|
|
27436
27434
|
o(tW, "isSVGElement");
|
|
27437
27435
|
function HT(e) {
|
|
27438
|
-
return he(e) &&
|
|
27436
|
+
return he(e) && Ce(e) === "svg";
|
|
27439
27437
|
}
|
|
27440
27438
|
o(HT, "isSVGSVGElement");
|
|
27441
27439
|
function UT(e) {
|
|
27442
|
-
return tW(e) &&
|
|
27440
|
+
return tW(e) && Ce(e) === "title";
|
|
27443
27441
|
}
|
|
27444
27442
|
o(UT, "isSVGTitleElement");
|
|
27445
27443
|
function pn(e, t) {
|
|
@@ -27529,7 +27527,7 @@ function zT(e) {
|
|
|
27529
27527
|
}
|
|
27530
27528
|
o(zT, "getTextualContent");
|
|
27531
27529
|
function GT(e) {
|
|
27532
|
-
var t =
|
|
27530
|
+
var t = Ce(e);
|
|
27533
27531
|
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
|
|
27534
27532
|
"select" || t === "textarea";
|
|
27535
27533
|
}
|
|
@@ -27639,7 +27637,7 @@ ame" : a, s = t.computedStyleSupportsPseudoElements, l = s === void 0 ? t.getCom
|
|
|
27639
27637
|
return J.textContent;
|
|
27640
27638
|
}
|
|
27641
27639
|
return null;
|
|
27642
|
-
} else if (
|
|
27640
|
+
} else if (Ce(b) === "img" || Ce(b) === "area") {
|
|
27643
27641
|
var O = m(b, "alt");
|
|
27644
27642
|
if (O !== null)
|
|
27645
27643
|
return O;
|
|
@@ -30406,10 +30404,10 @@ function hy(e) {
|
|
|
30406
30404
|
o(hy, "isEditableInputOrTextArea");
|
|
30407
30405
|
|
|
30408
30406
|
// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/selection.js
|
|
30409
|
-
function
|
|
30407
|
+
function xe(e) {
|
|
30410
30408
|
return BA(e) && hy(e);
|
|
30411
30409
|
}
|
|
30412
|
-
o(
|
|
30410
|
+
o(xe, "hasOwnSelection");
|
|
30413
30411
|
function $A(e) {
|
|
30414
30412
|
return BA(e) && Mf(e);
|
|
30415
30413
|
}
|
|
@@ -30422,7 +30420,7 @@ o(BA, "isElement");
|
|
|
30422
30420
|
// ../node_modules/@testing-library/user-event/dist/esm/event/selection/updateSelectionOnFocus.js
|
|
30423
30421
|
function DA(e) {
|
|
30424
30422
|
let t = e.ownerDocument.getSelection();
|
|
30425
|
-
if (t?.focusNode &&
|
|
30423
|
+
if (t?.focusNode && xe(e)) {
|
|
30426
30424
|
let n = nr(t.focusNode);
|
|
30427
30425
|
if (n) {
|
|
30428
30426
|
if (!t.isCollapsed) {
|
|
@@ -30715,7 +30713,7 @@ o(rN, "commitValueAfterInput");
|
|
|
30715
30713
|
// ../node_modules/@testing-library/user-event/dist/esm/event/selection/getTargetTypeAndSelection.js
|
|
30716
30714
|
function $f(e) {
|
|
30717
30715
|
let t = qte(e);
|
|
30718
|
-
if (t &&
|
|
30716
|
+
if (t && xe(t))
|
|
30719
30717
|
return {
|
|
30720
30718
|
type: "input",
|
|
30721
30719
|
selection: Mt(t)
|
|
@@ -30919,7 +30917,7 @@ o(lN, "getTabDestination");
|
|
|
30919
30917
|
|
|
30920
30918
|
// ../node_modules/@testing-library/user-event/dist/esm/event/selection/moveSelection.js
|
|
30921
30919
|
function gy(e, t) {
|
|
30922
|
-
if (
|
|
30920
|
+
if (xe(e)) {
|
|
30923
30921
|
let r = Mt(e);
|
|
30924
30922
|
bt({
|
|
30925
30923
|
focusNode: e,
|
|
@@ -30943,7 +30941,7 @@ o(gy, "moveSelection");
|
|
|
30943
30941
|
|
|
30944
30942
|
// ../node_modules/@testing-library/user-event/dist/esm/event/selection/selectAll.js
|
|
30945
30943
|
function Bf(e) {
|
|
30946
|
-
if (
|
|
30944
|
+
if (xe(e))
|
|
30947
30945
|
return bt({
|
|
30948
30946
|
focusNode: e,
|
|
30949
30947
|
anchorOffset: 0,
|
|
@@ -30959,7 +30957,7 @@ function Bf(e) {
|
|
|
30959
30957
|
}
|
|
30960
30958
|
o(Bf, "selectAll");
|
|
30961
30959
|
function uN(e) {
|
|
30962
|
-
if (
|
|
30960
|
+
if (xe(e))
|
|
30963
30961
|
return Mt(e).startOffset === 0 && Mt(e).endOffset === Re(e).length;
|
|
30964
30962
|
var t;
|
|
30965
30963
|
let r = (t = nr(e)) !== null && t !== void 0 ? t : e.ownerDocument.body, n = e.ownerDocument.getSelection();
|
|
@@ -30970,7 +30968,7 @@ o(uN, "isAllSelected");
|
|
|
30970
30968
|
// ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionRange.js
|
|
30971
30969
|
function Pr(e, t, r) {
|
|
30972
30970
|
var n;
|
|
30973
|
-
if (
|
|
30971
|
+
if (xe(e))
|
|
30974
30972
|
return bt({
|
|
30975
30973
|
focusNode: e,
|
|
30976
30974
|
anchorOffset: t,
|
|
@@ -31079,7 +31077,7 @@ var cN = {
|
|
|
31079
31077
|
}, "PageUp"),
|
|
31080
31078
|
Tab: /* @__PURE__ */ o((e, t, r) => () => {
|
|
31081
31079
|
let n = lN(t, r.system.keyboard.modifiers.Shift);
|
|
31082
|
-
Ue(n),
|
|
31080
|
+
Ue(n), xe(n) && ht(n, {
|
|
31083
31081
|
anchorOffset: 0,
|
|
31084
31082
|
focusOffset: n.value.length
|
|
31085
31083
|
});
|
|
@@ -32363,7 +32361,7 @@ o(Sr, "getTreeDiff");
|
|
|
32363
32361
|
|
|
32364
32362
|
// ../node_modules/@testing-library/user-event/dist/esm/event/selection/resolveCaretPosition.js
|
|
32365
32363
|
function Uo({ target: e, node: t, offset: r }) {
|
|
32366
|
-
return
|
|
32364
|
+
return xe(e) ? {
|
|
32367
32365
|
node: e,
|
|
32368
32366
|
offset: r ?? Re(e).length
|
|
32369
32367
|
} : t ? {
|
|
@@ -32403,7 +32401,7 @@ o(ON, "findNodeAtTextOffset");
|
|
|
32403
32401
|
function MN({ document: e, target: t, clickCount: r, node: n, offset: a }) {
|
|
32404
32402
|
if ($A(t))
|
|
32405
32403
|
return;
|
|
32406
|
-
let i =
|
|
32404
|
+
let i = xe(t), s = String(i ? Re(t) : t.textContent), [l, c] = n ? (
|
|
32407
32405
|
// which elements might be considered in the same line of text.
|
|
32408
32406
|
// TODO: support expanding initial range on multiple clicks if node is given
|
|
32409
32407
|
[
|
|
@@ -33102,7 +33100,7 @@ o(GN, "releaseAllKeys");
|
|
|
33102
33100
|
|
|
33103
33101
|
// ../node_modules/@testing-library/user-event/dist/esm/document/copySelection.js
|
|
33104
33102
|
function Gf(e) {
|
|
33105
|
-
let t =
|
|
33103
|
+
let t = xe(e) ? {
|
|
33106
33104
|
"text/plain": rre(e)
|
|
33107
33105
|
} : {
|
|
33108
33106
|
"text/plain": String(e.ownerDocument.getSelection())
|