@slashid/jump-page 1.0.8 → 1.0.9
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/package/dist/_astro/app.c9eaaa27.d.ts +2 -0
- package/package/dist/_astro/client.e76f28bb.d.ts +7 -0
- package/package/dist/_astro/{index.Dt-4rw4R.d.ts → index.fdea1a5e.d.ts} +1 -1
- package/package/main.js +793 -792
- package/package/main.js.map +1 -1
- package/package.json +17 -17
- package/package/dist/_astro/app.BSjhAGBJ.d.ts +0 -2
- package/package/dist/_astro/client.DCpG1yvw.d.ts +0 -7
package/package/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as g from "react";
|
|
2
2
|
import Y, { useLayoutEffect as Dn, forwardRef as Be, useCallback as Le, useState as Ce, createContext as at, useMemo as qe, useContext as Pr, useEffect as xe, useRef as nt, Children as rt, isValidElement as xr, createElement as we, cloneElement as wa, Fragment as fd, useReducer as pd } from "react";
|
|
3
3
|
import { Errors as Fe, SlashID as hd } from "@slashid/slashid";
|
|
4
|
-
import * as
|
|
4
|
+
import * as Or from "react-dom";
|
|
5
5
|
import { createPortal as md, flushSync as gd } from "react-dom";
|
|
6
6
|
var Ho = { exports: {} }, zn = {};
|
|
7
7
|
/**
|
|
@@ -65,10 +65,10 @@ function yd() {
|
|
|
65
65
|
W.unshift("Warning: " + x), Function.prototype.apply.call(console[c], console, W);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var S = !1, C = !1,
|
|
68
|
+
var S = !1, C = !1, T = !1, q = !1, D = !1, $;
|
|
69
69
|
$ = Symbol.for("react.module.reference");
|
|
70
70
|
function ne(c) {
|
|
71
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === a || D || c === o || c === u || c === d || q || c === m || S || C ||
|
|
71
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === a || D || c === o || c === u || c === d || q || c === m || S || C || T || typeof c == "object" && c !== null && (c.$$typeof === _ || c.$$typeof === p || c.$$typeof === i || c.$$typeof === s || c.$$typeof === l || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -129,14 +129,14 @@ function yd() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var A = Object.assign, X = 0, H, Z, ae, R, j, M, B;
|
|
133
133
|
function L() {
|
|
134
134
|
}
|
|
135
135
|
L.__reactDisabledLog = !0;
|
|
136
136
|
function Q() {
|
|
137
137
|
{
|
|
138
138
|
if (X === 0) {
|
|
139
|
-
H = console.log, Z = console.info, ae = console.warn, R = console.error,
|
|
139
|
+
H = console.log, Z = console.info, ae = console.warn, R = console.error, j = console.group, M = console.groupCollapsed, B = console.groupEnd;
|
|
140
140
|
var c = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -165,25 +165,25 @@ function yd() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: A({}, c, {
|
|
169
169
|
value: H
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: A({}, c, {
|
|
172
172
|
value: Z
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: A({}, c, {
|
|
175
175
|
value: ae
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: A({}, c, {
|
|
178
178
|
value: R
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
180
|
+
group: A({}, c, {
|
|
181
|
+
value: j
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: A({}, c, {
|
|
184
184
|
value: M
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: A({}, c, {
|
|
187
187
|
value: B
|
|
188
188
|
})
|
|
189
189
|
});
|
|
@@ -191,18 +191,18 @@ function yd() {
|
|
|
191
191
|
X < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var ce = E.ReactCurrentDispatcher,
|
|
194
|
+
var ce = E.ReactCurrentDispatcher, I;
|
|
195
195
|
function ee(c, x, k) {
|
|
196
196
|
{
|
|
197
|
-
if (
|
|
197
|
+
if (I === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (U) {
|
|
201
201
|
var P = U.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
-
|
|
202
|
+
I = P && P[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
|
-
` +
|
|
205
|
+
` + I + c;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
var se = !1, J;
|
|
@@ -210,7 +210,7 @@ function yd() {
|
|
|
210
210
|
var ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
211
|
J = new ie();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function O(c, x) {
|
|
214
214
|
if (!c || se)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
@@ -258,17 +258,17 @@ function yd() {
|
|
|
258
258
|
}
|
|
259
259
|
} catch (Ee) {
|
|
260
260
|
if (Ee && P && typeof Ee.stack == "string") {
|
|
261
|
-
for (var
|
|
261
|
+
for (var N = Ee.stack.split(`
|
|
262
262
|
`), de = P.stack.split(`
|
|
263
|
-
`), re =
|
|
263
|
+
`), re = N.length - 1, oe = de.length - 1; re >= 1 && oe >= 0 && N[re] !== de[oe]; )
|
|
264
264
|
oe--;
|
|
265
265
|
for (; re >= 1 && oe >= 0; re--, oe--)
|
|
266
|
-
if (
|
|
266
|
+
if (N[re] !== de[oe]) {
|
|
267
267
|
if (re !== 1 || oe !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (re--, oe--, oe < 0 ||
|
|
269
|
+
if (re--, oe--, oe < 0 || N[re] !== de[oe]) {
|
|
270
270
|
var ye = `
|
|
271
|
-
` +
|
|
271
|
+
` + N[re].replace(" at new ", " at ");
|
|
272
272
|
return c.displayName && ye.includes("<anonymous>") && (ye = ye.replace("<anonymous>", c.displayName)), typeof c == "function" && J.set(c, ye), ye;
|
|
273
273
|
}
|
|
274
274
|
while (re >= 1 && oe >= 0);
|
|
@@ -282,9 +282,9 @@ function yd() {
|
|
|
282
282
|
return typeof c == "function" && J.set(c, Sn), Sn;
|
|
283
283
|
}
|
|
284
284
|
function _e(c, x, k) {
|
|
285
|
-
return
|
|
285
|
+
return O(c, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Oe(c) {
|
|
288
288
|
var x = c.prototype;
|
|
289
289
|
return !!(x && x.isReactComponent);
|
|
290
290
|
}
|
|
@@ -292,7 +292,7 @@ function yd() {
|
|
|
292
292
|
if (c == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof c == "function")
|
|
295
|
-
return
|
|
295
|
+
return O(c, Oe(c));
|
|
296
296
|
if (typeof c == "string")
|
|
297
297
|
return ee(c);
|
|
298
298
|
switch (c) {
|
|
@@ -317,35 +317,35 @@ function yd() {
|
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var Me = Object.prototype.hasOwnProperty, qt = {},
|
|
321
|
-
function
|
|
320
|
+
var Me = Object.prototype.hasOwnProperty, qt = {}, jt = E.ReactDebugCurrentFrame;
|
|
321
|
+
function Ne(c) {
|
|
322
322
|
if (c) {
|
|
323
323
|
var x = c._owner, k = ze(c.type, c._source, x ? x.type : null);
|
|
324
|
-
|
|
324
|
+
jt.setExtraStackFrame(k);
|
|
325
325
|
} else
|
|
326
|
-
|
|
326
|
+
jt.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
328
|
function no(c, x, k, P, U) {
|
|
329
329
|
{
|
|
330
330
|
var W = Function.call.bind(Me);
|
|
331
331
|
for (var F in c)
|
|
332
332
|
if (W(c, F)) {
|
|
333
|
-
var
|
|
333
|
+
var N = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof c[F] != "function") {
|
|
336
336
|
var de = Error((P || "React class") + ": " + k + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw de.name = "Invariant Violation", de;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
N = c[F](x, F, P, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (re) {
|
|
341
|
-
|
|
341
|
+
N = re;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
N && !(N instanceof Error) && (Ne(U), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", k, F, typeof N), Ne(null)), N instanceof Error && !(N.message in qt) && (qt[N.message] = !0, Ne(U), y("Failed %s type: %s", k, N.message), Ne(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
var ro = Array.isArray;
|
|
348
|
-
function
|
|
348
|
+
function Tt(c) {
|
|
349
349
|
return ro(c);
|
|
350
350
|
}
|
|
351
351
|
function oo(c) {
|
|
@@ -420,7 +420,7 @@ function yd() {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
var po = function(c, x, k, P, U, W, F) {
|
|
423
|
-
var
|
|
423
|
+
var N = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: t,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
@@ -431,27 +431,27 @@ function yd() {
|
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
432
|
_owner: W
|
|
433
433
|
};
|
|
434
|
-
return
|
|
434
|
+
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !0,
|
|
438
438
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(N, "_self", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
443
|
value: P
|
|
444
|
-
}), Object.defineProperty(
|
|
444
|
+
}), Object.defineProperty(N, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
447
447
|
writable: !1,
|
|
448
448
|
value: U
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
449
|
+
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
450
450
|
};
|
|
451
451
|
function ho(c, x, k, P, U) {
|
|
452
452
|
{
|
|
453
|
-
var W, F = {},
|
|
454
|
-
k !== void 0 && (vn(k),
|
|
453
|
+
var W, F = {}, N = null, de = null;
|
|
454
|
+
k !== void 0 && (vn(k), N = "" + k), lo(x) && (vn(x.key), N = "" + x.key), so(x) && (de = x.ref, co(x, U));
|
|
455
455
|
for (W in x)
|
|
456
456
|
Me.call(x, W) && !io.hasOwnProperty(W) && (F[W] = x[W]);
|
|
457
457
|
if (c && c.defaultProps) {
|
|
@@ -459,15 +459,15 @@ function yd() {
|
|
|
459
459
|
for (W in re)
|
|
460
460
|
F[W] === void 0 && (F[W] = re[W]);
|
|
461
461
|
}
|
|
462
|
-
if (
|
|
462
|
+
if (N || de) {
|
|
463
463
|
var oe = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
464
|
-
|
|
464
|
+
N && uo(F, oe), de && fo(F, oe);
|
|
465
465
|
}
|
|
466
|
-
return po(c,
|
|
466
|
+
return po(c, N, de, U, P, Ke.current, F);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
var Mt = E.ReactCurrentOwner, bn = E.ReactDebugCurrentFrame;
|
|
470
|
-
function
|
|
470
|
+
function Ae(c) {
|
|
471
471
|
if (c) {
|
|
472
472
|
var x = c._owner, k = ze(c.type, c._source, x ? x.type : null);
|
|
473
473
|
bn.setExtraStackFrame(k);
|
|
@@ -476,7 +476,7 @@ function yd() {
|
|
|
476
476
|
}
|
|
477
477
|
var Pt;
|
|
478
478
|
Pt = !1;
|
|
479
|
-
function
|
|
479
|
+
function Ot(c) {
|
|
480
480
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
481
481
|
}
|
|
482
482
|
function Cn() {
|
|
@@ -517,25 +517,25 @@ Check the top-level render call using <` + k + ">.");
|
|
|
517
517
|
return;
|
|
518
518
|
xn[k] = !0;
|
|
519
519
|
var P = "";
|
|
520
|
-
c && c._owner && c._owner !== Mt.current && (P = " It was passed a child from " + V(c._owner.type) + "."),
|
|
520
|
+
c && c._owner && c._owner !== Mt.current && (P = " It was passed a child from " + V(c._owner.type) + "."), Ae(c), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, P), Ae(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
function En(c, x) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof c != "object")
|
|
526
526
|
return;
|
|
527
|
-
if (
|
|
527
|
+
if (Tt(c))
|
|
528
528
|
for (var k = 0; k < c.length; k++) {
|
|
529
529
|
var P = c[k];
|
|
530
|
-
|
|
530
|
+
Ot(P) && wn(P, x);
|
|
531
531
|
}
|
|
532
|
-
else if (
|
|
532
|
+
else if (Ot(c))
|
|
533
533
|
c._store && (c._store.validated = !0);
|
|
534
534
|
else if (c) {
|
|
535
535
|
var U = v(c);
|
|
536
536
|
if (typeof U == "function" && U !== c.entries)
|
|
537
537
|
for (var W = U.call(c), F; !(F = W.next()).done; )
|
|
538
|
-
|
|
538
|
+
Ot(F.value) && wn(F.value, x);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
@@ -569,23 +569,23 @@ Check the top-level render call using <` + k + ">.");
|
|
|
569
569
|
for (var x = Object.keys(c.props), k = 0; k < x.length; k++) {
|
|
570
570
|
var P = x[k];
|
|
571
571
|
if (P !== "children" && P !== "key") {
|
|
572
|
-
|
|
572
|
+
Ae(c), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Ae(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
c.ref !== null && (
|
|
576
|
+
c.ref !== null && (Ae(c), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
function kn(c, x, k, P, U, W) {
|
|
580
580
|
{
|
|
581
581
|
var F = ne(c);
|
|
582
582
|
if (!F) {
|
|
583
|
-
var
|
|
584
|
-
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (
|
|
583
|
+
var N = "";
|
|
584
|
+
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
585
585
|
var de = mo();
|
|
586
|
-
de ?
|
|
586
|
+
de ? N += de : N += Cn();
|
|
587
587
|
var re;
|
|
588
|
-
c === null ? re = "null" :
|
|
588
|
+
c === null ? re = "null" : Tt(c) ? re = "array" : c !== void 0 && c.$$typeof === t ? (re = "<" + (V(c.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : re = typeof c, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", re, N);
|
|
589
589
|
}
|
|
590
590
|
var oe = ho(c, x, k, U, W);
|
|
591
591
|
if (oe == null)
|
|
@@ -594,7 +594,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
594
594
|
var ye = x.children;
|
|
595
595
|
if (ye !== void 0)
|
|
596
596
|
if (P)
|
|
597
|
-
if (
|
|
597
|
+
if (Tt(ye)) {
|
|
598
598
|
for (var De = 0; De < ye.length; De++)
|
|
599
599
|
En(ye[De], c);
|
|
600
600
|
Object.freeze && Object.freeze(ye);
|
|
@@ -665,7 +665,7 @@ function kd({ children: e, theme: t = "light", className: n }) {
|
|
|
665
665
|
}
|
|
666
666
|
var Sd = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
|
|
667
667
|
const Ea = ({ className: e, variant: t = "default" }) => /* @__PURE__ */ z.jsx("div", { className: Je(Sd[t], e) });
|
|
668
|
-
var zd = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, qd = "eccmw9",
|
|
668
|
+
var zd = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, qd = "eccmw9", jd = "eccmwa", Td = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
|
|
669
669
|
const Xs = Be(
|
|
670
670
|
({
|
|
671
671
|
children: e,
|
|
@@ -694,16 +694,16 @@ const Xs = Be(
|
|
|
694
694
|
n
|
|
695
695
|
),
|
|
696
696
|
onClick: t,
|
|
697
|
-
children: l ? /* @__PURE__ */ z.jsx(Ea, { variant: "short", className:
|
|
698
|
-
i ? /* @__PURE__ */ z.jsx("i", { className:
|
|
697
|
+
children: l ? /* @__PURE__ */ z.jsx(Ea, { variant: "short", className: Td[o] }) : /* @__PURE__ */ z.jsxs(z.Fragment, { children: [
|
|
698
|
+
i ? /* @__PURE__ */ z.jsx("i", { className: jd, children: i }) : null,
|
|
699
699
|
e
|
|
700
700
|
] })
|
|
701
701
|
}
|
|
702
702
|
)
|
|
703
703
|
);
|
|
704
704
|
Xs.displayName = "Button";
|
|
705
|
-
var Rd = "_1doytsg0", Md = "_1doytsg3", Pd = "_1doytsg4",
|
|
706
|
-
const
|
|
705
|
+
var Rd = "_1doytsg0", Md = "_1doytsg3", Pd = "_1doytsg4", Od = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, Nd = "_1doytsga", Ld = "_1doytsgc";
|
|
706
|
+
const Id = ({
|
|
707
707
|
id: e,
|
|
708
708
|
name: t,
|
|
709
709
|
label: n,
|
|
@@ -720,8 +720,8 @@ const Od = ({
|
|
|
720
720
|
},
|
|
721
721
|
[i]
|
|
722
722
|
);
|
|
723
|
-
return /* @__PURE__ */ z.jsxs("div", { className:
|
|
724
|
-
/* @__PURE__ */ z.jsx("label", { htmlFor: e, className:
|
|
723
|
+
return /* @__PURE__ */ z.jsxs("div", { className: Od[s], children: [
|
|
724
|
+
/* @__PURE__ */ z.jsx("label", { htmlFor: e, className: Nd, children: n }),
|
|
725
725
|
/* @__PURE__ */ z.jsx(
|
|
726
726
|
"input",
|
|
727
727
|
{
|
|
@@ -774,7 +774,7 @@ function wi() {
|
|
|
774
774
|
}
|
|
775
775
|
);
|
|
776
776
|
}
|
|
777
|
-
const
|
|
777
|
+
const Ad = () => /* @__PURE__ */ z.jsxs(
|
|
778
778
|
"svg",
|
|
779
779
|
{
|
|
780
780
|
width: "16",
|
|
@@ -863,7 +863,7 @@ const Id = () => /* @__PURE__ */ z.jsxs(
|
|
|
863
863
|
),
|
|
864
864
|
style: e.style,
|
|
865
865
|
children: [
|
|
866
|
-
/* @__PURE__ */ z.jsx(
|
|
866
|
+
/* @__PURE__ */ z.jsx(Id, { ...e, type: t ? "text" : "password" }),
|
|
867
867
|
/* @__PURE__ */ z.jsx(
|
|
868
868
|
"button",
|
|
869
869
|
{
|
|
@@ -871,7 +871,7 @@ const Id = () => /* @__PURE__ */ z.jsxs(
|
|
|
871
871
|
className: Ld,
|
|
872
872
|
type: "button",
|
|
873
873
|
onClick: () => n(!t),
|
|
874
|
-
children: t ? /* @__PURE__ */ z.jsx(Dd, {}) : /* @__PURE__ */ z.jsx(
|
|
874
|
+
children: t ? /* @__PURE__ */ z.jsx(Dd, {}) : /* @__PURE__ */ z.jsx(Ad, {})
|
|
875
875
|
}
|
|
876
876
|
)
|
|
877
877
|
]
|
|
@@ -1024,17 +1024,17 @@ var ef = (e) => function() {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
var E = _ ? wo(wo({}, d), p) : l, y = function() {
|
|
1027
|
-
var
|
|
1027
|
+
var T = E[w], q = o[w];
|
|
1028
1028
|
try {
|
|
1029
1029
|
if (q.mappings)
|
|
1030
1030
|
return "continue";
|
|
1031
|
-
if (typeof
|
|
1032
|
-
if (process.env.NODE_ENV !== "production" && !q.values[
|
|
1031
|
+
if (typeof T == "string" || typeof T == "number") {
|
|
1032
|
+
if (process.env.NODE_ENV !== "production" && !q.values[T].defaultClass)
|
|
1033
1033
|
throw new Error();
|
|
1034
|
-
u.push(q.values[
|
|
1035
|
-
} else if (Array.isArray(
|
|
1036
|
-
for (var D = 0; D <
|
|
1037
|
-
var $ =
|
|
1034
|
+
u.push(q.values[T].defaultClass);
|
|
1035
|
+
} else if (Array.isArray(T))
|
|
1036
|
+
for (var D = 0; D < T.length; D++) {
|
|
1037
|
+
var $ = T[D];
|
|
1038
1038
|
if ($ != null) {
|
|
1039
1039
|
var ne = q.responsiveArray[D];
|
|
1040
1040
|
if (process.env.NODE_ENV !== "production" && !q.values[$].conditions[ne])
|
|
@@ -1043,8 +1043,8 @@ var ef = (e) => function() {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
else
|
|
1046
|
-
for (var te in
|
|
1047
|
-
var G =
|
|
1046
|
+
for (var te in T) {
|
|
1047
|
+
var G = T[te];
|
|
1048
1048
|
if (G != null) {
|
|
1049
1049
|
if (process.env.NODE_ENV !== "production" && !q.values[G].conditions[te])
|
|
1050
1050
|
throw new Error();
|
|
@@ -1053,34 +1053,34 @@ var ef = (e) => function() {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
} catch (R) {
|
|
1055
1055
|
if (process.env.NODE_ENV !== "production") {
|
|
1056
|
-
class
|
|
1056
|
+
class j extends Error {
|
|
1057
1057
|
constructor(B) {
|
|
1058
1058
|
super(B), this.name = "SprinklesError";
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
|
-
var V = (M) => typeof M == "string" ? '"'.concat(M, '"') : M,
|
|
1062
|
-
throw new
|
|
1061
|
+
var V = (M) => typeof M == "string" ? '"'.concat(M, '"') : M, A = (M, B, L) => {
|
|
1062
|
+
throw new j('"'.concat(M, '" has no value ').concat(V(B), ". Possible values are ").concat(Object.keys(L).map(V).join(", ")));
|
|
1063
1063
|
};
|
|
1064
1064
|
if (!q)
|
|
1065
|
-
throw new
|
|
1066
|
-
if ((typeof
|
|
1067
|
-
throw new
|
|
1068
|
-
if (typeof
|
|
1065
|
+
throw new j('"'.concat(w, '" is not a valid sprinkle'));
|
|
1066
|
+
if ((typeof T == "string" || typeof T == "number") && (T in q.values || A(w, T, q.values), !q.values[T].defaultClass))
|
|
1067
|
+
throw new j('"'.concat(w, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(q.values[T].conditions).map(V).join(", ")));
|
|
1068
|
+
if (typeof T == "object") {
|
|
1069
1069
|
if (!("conditions" in q.values[Object.keys(q.values)[0]]))
|
|
1070
|
-
throw new
|
|
1071
|
-
if (Array.isArray(
|
|
1070
|
+
throw new j('"'.concat(w, '" is not a conditional property'));
|
|
1071
|
+
if (Array.isArray(T)) {
|
|
1072
1072
|
if (!("responsiveArray" in q))
|
|
1073
|
-
throw new
|
|
1073
|
+
throw new j('"'.concat(w, '" does not support responsive arrays'));
|
|
1074
1074
|
var X = q.responsiveArray.length;
|
|
1075
|
-
if (X <
|
|
1076
|
-
throw new
|
|
1077
|
-
for (var H of
|
|
1078
|
-
q.values[H] ||
|
|
1075
|
+
if (X < T.length)
|
|
1076
|
+
throw new j('"'.concat(w, '" only supports up to ').concat(X, " breakpoints. You passed ").concat(T.length));
|
|
1077
|
+
for (var H of T)
|
|
1078
|
+
q.values[H] || A(w, H, q.values);
|
|
1079
1079
|
} else
|
|
1080
|
-
for (var Z in
|
|
1081
|
-
var ae =
|
|
1082
|
-
if (ae != null && (q.values[ae] ||
|
|
1083
|
-
throw new
|
|
1080
|
+
for (var Z in T) {
|
|
1081
|
+
var ae = T[Z];
|
|
1082
|
+
if (ae != null && (q.values[ae] || A(w, ae, q.values), !q.values[ae].conditions[Z]))
|
|
1083
|
+
throw new j('"'.concat(w, '" has no condition named ').concat(V(Z), ". Possible values are ").concat(Object.keys(q.values[ae].conditions).map(V).join(", ")));
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
@@ -1446,38 +1446,38 @@ function qa(e) {
|
|
|
1446
1446
|
case "[object DOMException]":
|
|
1447
1447
|
return !0;
|
|
1448
1448
|
default:
|
|
1449
|
-
return
|
|
1449
|
+
return It(e, Error);
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
1452
|
function ln(e, t) {
|
|
1453
1453
|
return il.call(e) === `[object ${t}]`;
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function ja(e) {
|
|
1456
1456
|
return ln(e, "ErrorEvent");
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function ji(e) {
|
|
1459
1459
|
return ln(e, "DOMError");
|
|
1460
1460
|
}
|
|
1461
|
-
function
|
|
1461
|
+
function jf(e) {
|
|
1462
1462
|
return ln(e, "DOMException");
|
|
1463
1463
|
}
|
|
1464
1464
|
function dt(e) {
|
|
1465
1465
|
return ln(e, "String");
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function Ta(e) {
|
|
1468
1468
|
return typeof e == "object" && e !== null && "__sentry_template_string__" in e && "__sentry_template_values__" in e;
|
|
1469
1469
|
}
|
|
1470
1470
|
function Ra(e) {
|
|
1471
|
-
return e === null ||
|
|
1471
|
+
return e === null || Ta(e) || typeof e != "object" && typeof e != "function";
|
|
1472
1472
|
}
|
|
1473
1473
|
function rn(e) {
|
|
1474
1474
|
return ln(e, "Object");
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1477
|
-
return typeof Event < "u" &&
|
|
1476
|
+
function Nr(e) {
|
|
1477
|
+
return typeof Event < "u" && It(e, Event);
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return typeof Element < "u" &&
|
|
1479
|
+
function Tf(e) {
|
|
1480
|
+
return typeof Element < "u" && It(e, Element);
|
|
1481
1481
|
}
|
|
1482
1482
|
function Rf(e) {
|
|
1483
1483
|
return ln(e, "RegExp");
|
|
@@ -1491,7 +1491,7 @@ function Mf(e) {
|
|
|
1491
1491
|
function Pf(e) {
|
|
1492
1492
|
return typeof e == "number" && e !== e;
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function It(e, t) {
|
|
1495
1495
|
try {
|
|
1496
1496
|
return e instanceof t;
|
|
1497
1497
|
} catch {
|
|
@@ -1504,7 +1504,7 @@ function sl(e) {
|
|
|
1504
1504
|
function Qt(e, t = 0) {
|
|
1505
1505
|
return typeof e != "string" || t === 0 || e.length <= t ? e : `${e.slice(0, t)}...`;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function Ti(e, t) {
|
|
1508
1508
|
if (!Array.isArray(e))
|
|
1509
1509
|
return "";
|
|
1510
1510
|
const n = [];
|
|
@@ -1518,14 +1518,14 @@ function ji(e, t) {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
return n.join(t);
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Of(e, t, n = !1) {
|
|
1522
1522
|
return dt(e) ? Rf(t) ? t.test(e) : dt(t) ? n ? e === t : e.includes(t) : !1 : !1;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1525
|
-
return t.some((r) =>
|
|
1524
|
+
function Ir(e, t = [], n = !1) {
|
|
1525
|
+
return t.some((r) => Of(e, r, n));
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1528
|
-
if (!a.exception || !a.exception.values || !i || !
|
|
1527
|
+
function Nf(e, t, n = 250, r, o, a, i) {
|
|
1528
|
+
if (!a.exception || !a.exception.values || !i || !It(i.originalException, Error))
|
|
1529
1529
|
return;
|
|
1530
1530
|
const s = a.exception.values.length > 0 ? a.exception.values[a.exception.values.length - 1] : void 0;
|
|
1531
1531
|
s && (a.exception.values = Lf(
|
|
@@ -1546,7 +1546,7 @@ function Vo(e, t, n, r, o, a, i, s) {
|
|
|
1546
1546
|
if (a.length >= n + 1)
|
|
1547
1547
|
return a;
|
|
1548
1548
|
let l = [...a];
|
|
1549
|
-
if (
|
|
1549
|
+
if (It(r[o], Error)) {
|
|
1550
1550
|
Ri(i, s);
|
|
1551
1551
|
const u = e(t, r[o]), d = l.length;
|
|
1552
1552
|
Mi(u, o, d, s), l = Vo(
|
|
@@ -1561,7 +1561,7 @@ function Vo(e, t, n, r, o, a, i, s) {
|
|
|
1561
1561
|
);
|
|
1562
1562
|
}
|
|
1563
1563
|
return Array.isArray(r.errors) && r.errors.forEach((u, d) => {
|
|
1564
|
-
if (
|
|
1564
|
+
if (It(u, Error)) {
|
|
1565
1565
|
Ri(i, s);
|
|
1566
1566
|
const p = e(t, u), _ = l.length;
|
|
1567
1567
|
Mi(p, `errors[${d}]`, _, s), l = Vo(
|
|
@@ -1610,7 +1610,7 @@ function ll(e, t, n) {
|
|
|
1610
1610
|
const r = n || he, o = r.__SENTRY__ = r.__SENTRY__ || {};
|
|
1611
1611
|
return o[e] || (o[e] = t());
|
|
1612
1612
|
}
|
|
1613
|
-
const Pa = Ma(),
|
|
1613
|
+
const Pa = Ma(), If = 80;
|
|
1614
1614
|
function cl(e, t = {}) {
|
|
1615
1615
|
if (!e)
|
|
1616
1616
|
return "<unknown>";
|
|
@@ -1620,15 +1620,15 @@ function cl(e, t = {}) {
|
|
|
1620
1620
|
let a = 0, i = 0;
|
|
1621
1621
|
const s = " > ", l = s.length;
|
|
1622
1622
|
let u;
|
|
1623
|
-
const d = Array.isArray(t) ? t : t.keyAttrs, p = !Array.isArray(t) && t.maxStringLength ||
|
|
1624
|
-
for (; n && a++ < r && (u =
|
|
1623
|
+
const d = Array.isArray(t) ? t : t.keyAttrs, p = !Array.isArray(t) && t.maxStringLength || If;
|
|
1624
|
+
for (; n && a++ < r && (u = Af(n, d), !(u === "html" || a > 1 && i + o.length * l + u.length >= p)); )
|
|
1625
1625
|
o.push(u), i += u.length, n = n.parentNode;
|
|
1626
1626
|
return o.reverse().join(s);
|
|
1627
1627
|
} catch {
|
|
1628
1628
|
return "<unknown>";
|
|
1629
1629
|
}
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function Af(e, t) {
|
|
1632
1632
|
const n = e, r = [];
|
|
1633
1633
|
let o, a, i, s, l;
|
|
1634
1634
|
if (!n || !n.tagName)
|
|
@@ -1679,7 +1679,7 @@ const Kn = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, $f = "Sentry Logge
|
|
|
1679
1679
|
"assert",
|
|
1680
1680
|
"trace"
|
|
1681
1681
|
], wr = {};
|
|
1682
|
-
function
|
|
1682
|
+
function Ar(e) {
|
|
1683
1683
|
if (!("console" in he))
|
|
1684
1684
|
return e();
|
|
1685
1685
|
const t = he.console, n = {}, r = Object.keys(wr);
|
|
@@ -1708,7 +1708,7 @@ function Hf() {
|
|
|
1708
1708
|
};
|
|
1709
1709
|
return Kn ? Wo.forEach((n) => {
|
|
1710
1710
|
t[n] = (...r) => {
|
|
1711
|
-
e &&
|
|
1711
|
+
e && Ar(() => {
|
|
1712
1712
|
he.console[n](`${$f}[${n}]:`, ...r);
|
|
1713
1713
|
});
|
|
1714
1714
|
};
|
|
@@ -1728,7 +1728,7 @@ function cn(e, t = !1) {
|
|
|
1728
1728
|
function Vf(e) {
|
|
1729
1729
|
const t = Uf.exec(e);
|
|
1730
1730
|
if (!t) {
|
|
1731
|
-
|
|
1731
|
+
Ar(() => {
|
|
1732
1732
|
console.error(`Invalid Sentry Dsn: ${e}`);
|
|
1733
1733
|
});
|
|
1734
1734
|
return;
|
|
@@ -1770,7 +1770,7 @@ class tt extends Error {
|
|
|
1770
1770
|
super(t), this.message = t, this.name = new.target.prototype.constructor.name, Object.setPrototypeOf(this, new.target.prototype), this.logLevel = n;
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function je(e, t, n) {
|
|
1774
1774
|
if (!(t in e))
|
|
1775
1775
|
return;
|
|
1776
1776
|
const r = e[t], o = n(r);
|
|
@@ -1795,7 +1795,7 @@ function fl(e, t) {
|
|
|
1795
1795
|
} catch {
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1798
|
+
function Oa(e) {
|
|
1799
1799
|
return e.__sentry_original__;
|
|
1800
1800
|
}
|
|
1801
1801
|
function Gf(e) {
|
|
@@ -1807,27 +1807,27 @@ function pl(e) {
|
|
|
1807
1807
|
message: e.message,
|
|
1808
1808
|
name: e.name,
|
|
1809
1809
|
stack: e.stack,
|
|
1810
|
-
...
|
|
1810
|
+
...Oi(e)
|
|
1811
1811
|
};
|
|
1812
|
-
if (
|
|
1812
|
+
if (Nr(e)) {
|
|
1813
1813
|
const t = {
|
|
1814
1814
|
type: e.type,
|
|
1815
1815
|
target: Pi(e.target),
|
|
1816
1816
|
currentTarget: Pi(e.currentTarget),
|
|
1817
|
-
...
|
|
1817
|
+
...Oi(e)
|
|
1818
1818
|
};
|
|
1819
|
-
return typeof CustomEvent < "u" &&
|
|
1819
|
+
return typeof CustomEvent < "u" && It(e, CustomEvent) && (t.detail = e.detail), t;
|
|
1820
1820
|
} else
|
|
1821
1821
|
return e;
|
|
1822
1822
|
}
|
|
1823
1823
|
function Pi(e) {
|
|
1824
1824
|
try {
|
|
1825
|
-
return
|
|
1825
|
+
return Tf(e) ? cl(e) : Object.prototype.toString.call(e);
|
|
1826
1826
|
} catch {
|
|
1827
1827
|
return "<unknown>";
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
|
-
function
|
|
1830
|
+
function Oi(e) {
|
|
1831
1831
|
if (typeof e == "object" && e !== null) {
|
|
1832
1832
|
const t = {};
|
|
1833
1833
|
for (const n in e)
|
|
@@ -1884,7 +1884,7 @@ function Kf(e) {
|
|
|
1884
1884
|
return !0;
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
|
-
const hl = 50,
|
|
1887
|
+
const hl = 50, Ni = /\(error: (.*)\)/, Li = /captureMessage|captureException/;
|
|
1888
1888
|
function ml(...e) {
|
|
1889
1889
|
const t = e.sort((n, r) => n[0] - r[0]).map((n) => n[1]);
|
|
1890
1890
|
return (n, r = 0) => {
|
|
@@ -1894,7 +1894,7 @@ function ml(...e) {
|
|
|
1894
1894
|
const s = a[i];
|
|
1895
1895
|
if (s.length > 1024)
|
|
1896
1896
|
continue;
|
|
1897
|
-
const l =
|
|
1897
|
+
const l = Ni.test(s) ? s.replace(Ni, "$1") : s;
|
|
1898
1898
|
if (!l.match(/\S*Error: /)) {
|
|
1899
1899
|
for (const u of t) {
|
|
1900
1900
|
const d = u(l);
|
|
@@ -1931,12 +1931,12 @@ function Ct(e) {
|
|
|
1931
1931
|
return ko;
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
1934
|
-
const br = {},
|
|
1934
|
+
const br = {}, Ii = {};
|
|
1935
1935
|
function Ht(e, t) {
|
|
1936
1936
|
br[e] = br[e] || [], br[e].push(t);
|
|
1937
1937
|
}
|
|
1938
1938
|
function Ut(e, t) {
|
|
1939
|
-
|
|
1939
|
+
Ii[e] || (t(), Ii[e] = !0);
|
|
1940
1940
|
}
|
|
1941
1941
|
function Qe(e, t) {
|
|
1942
1942
|
const n = e && br[e];
|
|
@@ -1960,7 +1960,7 @@ function Jf(e) {
|
|
|
1960
1960
|
}
|
|
1961
1961
|
function Qf() {
|
|
1962
1962
|
"console" in he && Wo.forEach(function(e) {
|
|
1963
|
-
e in he.console &&
|
|
1963
|
+
e in he.console && je(he.console, e, function(t) {
|
|
1964
1964
|
return wr[e] = t, function(...n) {
|
|
1965
1965
|
Qe("console", { args: n, level: e });
|
|
1966
1966
|
const o = wr[e];
|
|
@@ -2013,7 +2013,7 @@ function Hn(e, t) {
|
|
|
2013
2013
|
n.mechanism.data = a;
|
|
2014
2014
|
}
|
|
2015
2015
|
}
|
|
2016
|
-
function
|
|
2016
|
+
function Ai(e) {
|
|
2017
2017
|
if (e && e.__sentry_captured__)
|
|
2018
2018
|
return !0;
|
|
2019
2019
|
try {
|
|
@@ -2037,7 +2037,7 @@ function np() {
|
|
|
2037
2037
|
const e = Qe.bind(null, "dom"), t = Fi(e, !0);
|
|
2038
2038
|
Jt.document.addEventListener("click", t, !1), Jt.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((n) => {
|
|
2039
2039
|
const r = Jt[n] && Jt[n].prototype;
|
|
2040
|
-
!r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (
|
|
2040
|
+
!r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (je(r, "addEventListener", function(o) {
|
|
2041
2041
|
return function(a, i, s) {
|
|
2042
2042
|
if (a === "click" || a == "keypress")
|
|
2043
2043
|
try {
|
|
@@ -2051,7 +2051,7 @@ function np() {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
return o.call(this, a, i, s);
|
|
2053
2053
|
};
|
|
2054
|
-
}),
|
|
2054
|
+
}), je(
|
|
2055
2055
|
r,
|
|
2056
2056
|
"removeEventListener",
|
|
2057
2057
|
function(o) {
|
|
@@ -2138,7 +2138,7 @@ function sp(e) {
|
|
|
2138
2138
|
Ht(t, e), Ut(t, lp);
|
|
2139
2139
|
}
|
|
2140
2140
|
function lp() {
|
|
2141
|
-
ip() &&
|
|
2141
|
+
ip() && je(he, "fetch", function(e) {
|
|
2142
2142
|
return function(...t) {
|
|
2143
2143
|
const { method: n, url: r } = cp(t), o = {
|
|
2144
2144
|
args: t,
|
|
@@ -2224,7 +2224,7 @@ function hp() {
|
|
|
2224
2224
|
const e = ar.chrome, t = e && e.app && e.app.runtime, n = "history" in ar && !!ar.history.pushState && !!ar.history.replaceState;
|
|
2225
2225
|
return !t && n;
|
|
2226
2226
|
}
|
|
2227
|
-
const
|
|
2227
|
+
const jn = he;
|
|
2228
2228
|
let ir;
|
|
2229
2229
|
function _l(e) {
|
|
2230
2230
|
const t = "history";
|
|
@@ -2233,9 +2233,9 @@ function _l(e) {
|
|
|
2233
2233
|
function mp() {
|
|
2234
2234
|
if (!hp())
|
|
2235
2235
|
return;
|
|
2236
|
-
const e =
|
|
2237
|
-
|
|
2238
|
-
const r =
|
|
2236
|
+
const e = jn.onpopstate;
|
|
2237
|
+
jn.onpopstate = function(...n) {
|
|
2238
|
+
const r = jn.location.href, o = ir;
|
|
2239
2239
|
if (ir = r, Qe("history", { from: o, to: r }), e)
|
|
2240
2240
|
try {
|
|
2241
2241
|
return e.apply(this, n);
|
|
@@ -2252,9 +2252,9 @@ function mp() {
|
|
|
2252
2252
|
return n.apply(this, r);
|
|
2253
2253
|
};
|
|
2254
2254
|
}
|
|
2255
|
-
|
|
2255
|
+
je(jn.history, "pushState", t), je(jn.history, "replaceState", t);
|
|
2256
2256
|
}
|
|
2257
|
-
const gp = he,
|
|
2257
|
+
const gp = he, On = "__sentry_xhr_v3__";
|
|
2258
2258
|
function vp(e) {
|
|
2259
2259
|
const t = "xhr";
|
|
2260
2260
|
Ht(t, e), Ut(t, yp);
|
|
@@ -2263,18 +2263,18 @@ function yp() {
|
|
|
2263
2263
|
if (!gp.XMLHttpRequest)
|
|
2264
2264
|
return;
|
|
2265
2265
|
const e = XMLHttpRequest.prototype;
|
|
2266
|
-
|
|
2266
|
+
je(e, "open", function(t) {
|
|
2267
2267
|
return function(...n) {
|
|
2268
2268
|
const r = Date.now(), o = dt(n[0]) ? n[0].toUpperCase() : void 0, a = _p(n[1]);
|
|
2269
2269
|
if (!o || !a)
|
|
2270
2270
|
return t.apply(this, n);
|
|
2271
|
-
this[
|
|
2271
|
+
this[On] = {
|
|
2272
2272
|
method: o,
|
|
2273
2273
|
url: a,
|
|
2274
2274
|
request_headers: {}
|
|
2275
2275
|
}, o === "POST" && a.match(/sentry_key/) && (this.__sentry_own_request__ = !0);
|
|
2276
2276
|
const i = () => {
|
|
2277
|
-
const s = this[
|
|
2277
|
+
const s = this[On];
|
|
2278
2278
|
if (s && this.readyState === 4) {
|
|
2279
2279
|
try {
|
|
2280
2280
|
s.status_code = this.status;
|
|
@@ -2289,20 +2289,20 @@ function yp() {
|
|
|
2289
2289
|
Qe("xhr", l);
|
|
2290
2290
|
}
|
|
2291
2291
|
};
|
|
2292
|
-
return "onreadystatechange" in this && typeof this.onreadystatechange == "function" ?
|
|
2292
|
+
return "onreadystatechange" in this && typeof this.onreadystatechange == "function" ? je(this, "onreadystatechange", function(s) {
|
|
2293
2293
|
return function(...l) {
|
|
2294
2294
|
return i(), s.apply(this, l);
|
|
2295
2295
|
};
|
|
2296
|
-
}) : this.addEventListener("readystatechange", i),
|
|
2296
|
+
}) : this.addEventListener("readystatechange", i), je(this, "setRequestHeader", function(s) {
|
|
2297
2297
|
return function(...l) {
|
|
2298
|
-
const [u, d] = l, p = this[
|
|
2298
|
+
const [u, d] = l, p = this[On];
|
|
2299
2299
|
return p && dt(u) && dt(d) && (p.request_headers[u.toLowerCase()] = d), s.apply(this, l);
|
|
2300
2300
|
};
|
|
2301
2301
|
}), t.apply(this, n);
|
|
2302
2302
|
};
|
|
2303
|
-
}),
|
|
2303
|
+
}), je(e, "send", function(t) {
|
|
2304
2304
|
return function(...n) {
|
|
2305
|
-
const r = this[
|
|
2305
|
+
const r = this[On];
|
|
2306
2306
|
if (!r)
|
|
2307
2307
|
return t.apply(this, n);
|
|
2308
2308
|
n[0] !== void 0 && (r.body = n[0]);
|
|
@@ -2449,7 +2449,7 @@ function on(e) {
|
|
|
2449
2449
|
t(e);
|
|
2450
2450
|
});
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2452
|
+
function Na(e) {
|
|
2453
2453
|
return new $e((t, n) => {
|
|
2454
2454
|
n(e);
|
|
2455
2455
|
});
|
|
@@ -2561,7 +2561,7 @@ function Sp(e) {
|
|
|
2561
2561
|
}
|
|
2562
2562
|
function o(i) {
|
|
2563
2563
|
if (!n())
|
|
2564
|
-
return
|
|
2564
|
+
return Na(new tt("Not adding Promise because buffer limit was reached."));
|
|
2565
2565
|
const s = i();
|
|
2566
2566
|
return t.indexOf(s) === -1 && t.push(s), s.then(() => r(s)).then(
|
|
2567
2567
|
null,
|
|
@@ -2615,14 +2615,14 @@ const Cl = 1e3;
|
|
|
2615
2615
|
function Zn() {
|
|
2616
2616
|
return Date.now() / Cl;
|
|
2617
2617
|
}
|
|
2618
|
-
function
|
|
2618
|
+
function jp() {
|
|
2619
2619
|
const { performance: e } = he;
|
|
2620
2620
|
if (!e || !e.now)
|
|
2621
2621
|
return Zn;
|
|
2622
2622
|
const t = Date.now() - e.now(), n = e.timeOrigin == null ? t : e.timeOrigin;
|
|
2623
2623
|
return () => (n + e.now()) / Cl;
|
|
2624
2624
|
}
|
|
2625
|
-
const xl =
|
|
2625
|
+
const xl = jp();
|
|
2626
2626
|
(() => {
|
|
2627
2627
|
const { performance: e } = he;
|
|
2628
2628
|
if (!e || !e.now)
|
|
@@ -2633,7 +2633,7 @@ const xl = Tp();
|
|
|
2633
2633
|
function un(e, t = []) {
|
|
2634
2634
|
return [e, t];
|
|
2635
2635
|
}
|
|
2636
|
-
function
|
|
2636
|
+
function Tp(e, t) {
|
|
2637
2637
|
const [n, r] = e;
|
|
2638
2638
|
return [n, [...r, t]];
|
|
2639
2639
|
}
|
|
@@ -2693,7 +2693,7 @@ function Pp(e, t) {
|
|
|
2693
2693
|
n
|
|
2694
2694
|
];
|
|
2695
2695
|
}
|
|
2696
|
-
const
|
|
2696
|
+
const Op = {
|
|
2697
2697
|
session: "session",
|
|
2698
2698
|
sessions: "session",
|
|
2699
2699
|
attachment: "attachment",
|
|
@@ -2710,7 +2710,7 @@ const Np = {
|
|
|
2710
2710
|
statsd: "metric_bucket"
|
|
2711
2711
|
};
|
|
2712
2712
|
function Ui(e) {
|
|
2713
|
-
return
|
|
2713
|
+
return Op[e];
|
|
2714
2714
|
}
|
|
2715
2715
|
function wl(e) {
|
|
2716
2716
|
if (!e || !e.sdk)
|
|
@@ -2718,7 +2718,7 @@ function wl(e) {
|
|
|
2718
2718
|
const { name: t, version: n } = e.sdk;
|
|
2719
2719
|
return { name: t, version: n };
|
|
2720
2720
|
}
|
|
2721
|
-
function
|
|
2721
|
+
function Np(e, t, n, r) {
|
|
2722
2722
|
const o = e.sdkProcessingMetadata && e.sdkProcessingMetadata.dynamicSamplingContext;
|
|
2723
2723
|
return {
|
|
2724
2724
|
event_id: e.event_id,
|
|
@@ -2740,13 +2740,13 @@ function Lp(e, t, n) {
|
|
|
2740
2740
|
];
|
|
2741
2741
|
return un(t ? { dsn: t } : {}, [r]);
|
|
2742
2742
|
}
|
|
2743
|
-
const
|
|
2744
|
-
function
|
|
2743
|
+
const Ip = 60 * 1e3;
|
|
2744
|
+
function Ap(e, t = Date.now()) {
|
|
2745
2745
|
const n = parseInt(`${e}`, 10);
|
|
2746
2746
|
if (!isNaN(n))
|
|
2747
2747
|
return n * 1e3;
|
|
2748
2748
|
const r = Date.parse(`${e}`);
|
|
2749
|
-
return isNaN(r) ?
|
|
2749
|
+
return isNaN(r) ? Ip : r - t;
|
|
2750
2750
|
}
|
|
2751
2751
|
function Dp(e, t) {
|
|
2752
2752
|
return e[t] || e.all || 0;
|
|
@@ -2767,7 +2767,7 @@ function $p(e, { statusCode: t, headers: n }, r = Date.now()) {
|
|
|
2767
2767
|
for (const m of u.split(";"))
|
|
2768
2768
|
m === "metric_bucket" ? (!d || d.split(";").includes("custom")) && (o[m] = r + _) : o[m] = r + _;
|
|
2769
2769
|
}
|
|
2770
|
-
else i ? o.all = r +
|
|
2770
|
+
else i ? o.all = r + Ap(i, r) : t === 429 && (o.all = r + 60 * 1e3);
|
|
2771
2771
|
return o;
|
|
2772
2772
|
}
|
|
2773
2773
|
const ve = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Dr = "production";
|
|
@@ -2800,9 +2800,9 @@ function El(e) {
|
|
|
2800
2800
|
ignoreDuration: !1,
|
|
2801
2801
|
toJSON: () => Up(n)
|
|
2802
2802
|
};
|
|
2803
|
-
return e &&
|
|
2803
|
+
return e && At(n, e), n;
|
|
2804
2804
|
}
|
|
2805
|
-
function
|
|
2805
|
+
function At(e, t = {}) {
|
|
2806
2806
|
if (t.user && (!e.ipAddress && t.user.ip_address && (e.ipAddress = t.user.ip_address), !e.did && !t.did && (e.did = t.user.id || t.user.email || t.user.username)), e.timestamp = t.timestamp || xl(), t.abnormal_mechanism && (e.abnormal_mechanism = t.abnormal_mechanism), t.ignoreDuration && (e.ignoreDuration = t.ignoreDuration), t.sid && (e.sid = t.sid.length === 32 ? t.sid : We()), t.init !== void 0 && (e.init = t.init), !e.did && t.did && (e.did = `${t.did}`), typeof t.started == "number" && (e.started = t.started), e.ignoreDuration)
|
|
2807
2807
|
e.duration = void 0;
|
|
2808
2808
|
else if (typeof t.duration == "number")
|
|
@@ -2815,7 +2815,7 @@ function It(e, t = {}) {
|
|
|
2815
2815
|
}
|
|
2816
2816
|
function kl(e, t) {
|
|
2817
2817
|
let n = {};
|
|
2818
|
-
e.status === "ok" && (n = { status: "exited" }),
|
|
2818
|
+
e.status === "ok" && (n = { status: "exited" }), At(e, n);
|
|
2819
2819
|
}
|
|
2820
2820
|
function Up(e) {
|
|
2821
2821
|
return ct({
|
|
@@ -3009,7 +3009,7 @@ const rh = [
|
|
|
3009
3009
|
function oh(e) {
|
|
3010
3010
|
return Object.keys(e).some((t) => rh.includes(t));
|
|
3011
3011
|
}
|
|
3012
|
-
function
|
|
3012
|
+
function Ia(e, t) {
|
|
3013
3013
|
return st().captureException(e, th(t));
|
|
3014
3014
|
}
|
|
3015
3015
|
function Sl(e, t) {
|
|
@@ -3018,7 +3018,7 @@ function Sl(e, t) {
|
|
|
3018
3018
|
function Dt(e, t) {
|
|
3019
3019
|
st().addBreadcrumb(e, t);
|
|
3020
3020
|
}
|
|
3021
|
-
function
|
|
3021
|
+
function Aa(...e) {
|
|
3022
3022
|
const t = st();
|
|
3023
3023
|
if (e.length === 2) {
|
|
3024
3024
|
const [n, r] = e;
|
|
@@ -3040,7 +3040,7 @@ function Vi(e) {
|
|
|
3040
3040
|
...i && { userAgent: i },
|
|
3041
3041
|
...e
|
|
3042
3042
|
}), l = n.getSession();
|
|
3043
|
-
return l && l.status === "ok" &&
|
|
3043
|
+
return l && l.status === "ok" && At(l, { status: "exited" }), zl(), n.setSession(s), r.setSession(s), s;
|
|
3044
3044
|
}
|
|
3045
3045
|
function zl() {
|
|
3046
3046
|
const e = $r(), t = Xn(), n = t.getSession() || e.getSession();
|
|
@@ -3057,10 +3057,10 @@ function Wi(e = !1) {
|
|
|
3057
3057
|
}
|
|
3058
3058
|
ql();
|
|
3059
3059
|
}
|
|
3060
|
-
function
|
|
3060
|
+
function jl(e) {
|
|
3061
3061
|
return e.transaction;
|
|
3062
3062
|
}
|
|
3063
|
-
function
|
|
3063
|
+
function Tl(e, t, n) {
|
|
3064
3064
|
const r = t.getOptions(), { publicKey: o } = t.getDsn() || {}, { segment: a } = n && n.getUser() || {}, i = ct({
|
|
3065
3065
|
environment: r.environment || Dr,
|
|
3066
3066
|
release: r.release,
|
|
@@ -3074,7 +3074,7 @@ function ah(e) {
|
|
|
3074
3074
|
const t = Pe();
|
|
3075
3075
|
if (!t)
|
|
3076
3076
|
return {};
|
|
3077
|
-
const n =
|
|
3077
|
+
const n = Tl(Un(e).trace_id || "", t, Xn()), r = jl(e);
|
|
3078
3078
|
if (!r)
|
|
3079
3079
|
return n;
|
|
3080
3080
|
const o = r && r._frozenDynamicSamplingContext;
|
|
@@ -3106,9 +3106,9 @@ function Gi(e, t) {
|
|
|
3106
3106
|
transactionName: m,
|
|
3107
3107
|
span: b
|
|
3108
3108
|
} = t;
|
|
3109
|
-
|
|
3109
|
+
Tn(e, "extra", n), Tn(e, "tags", r), Tn(e, "user", o), Tn(e, "contexts", a), Tn(e, "sdkProcessingMetadata", s), i && (e.level = i), m && (e.transactionName = m), b && (e.span = b), l.length && (e.breadcrumbs = [...e.breadcrumbs, ...l]), u.length && (e.fingerprint = [...e.fingerprint, ...u]), d.length && (e.eventProcessors = [...e.eventProcessors, ...d]), p.length && (e.attachments = [...e.attachments, ...p]), e.propagationContext = { ...e.propagationContext, ..._ };
|
|
3110
3110
|
}
|
|
3111
|
-
function
|
|
3111
|
+
function Tn(e, t, n) {
|
|
3112
3112
|
if (n && Object.keys(n).length) {
|
|
3113
3113
|
e[t] = { ...e[t] };
|
|
3114
3114
|
for (const r in n)
|
|
@@ -3145,7 +3145,7 @@ function lh(e, t) {
|
|
|
3145
3145
|
}
|
|
3146
3146
|
function ch(e, t) {
|
|
3147
3147
|
e.contexts = { trace: Vp(t), ...e.contexts };
|
|
3148
|
-
const n =
|
|
3148
|
+
const n = jl(t);
|
|
3149
3149
|
if (n) {
|
|
3150
3150
|
e.sdkProcessingMetadata = {
|
|
3151
3151
|
dynamicSamplingContext: ah(t),
|
|
@@ -3238,7 +3238,7 @@ class ft {
|
|
|
3238
3238
|
ip_address: void 0,
|
|
3239
3239
|
segment: void 0,
|
|
3240
3240
|
username: void 0
|
|
3241
|
-
}, this._session &&
|
|
3241
|
+
}, this._session && At(this._session, { user: t }), this._notifyScopeListeners(), this;
|
|
3242
3242
|
}
|
|
3243
3243
|
/**
|
|
3244
3244
|
* @inheritDoc
|
|
@@ -3771,7 +3771,7 @@ class Pl {
|
|
|
3771
3771
|
if (!o) return;
|
|
3772
3772
|
const { beforeBreadcrumb: a = null, maxBreadcrumbs: i = ph } = o.getOptions && o.getOptions() || {};
|
|
3773
3773
|
if (i <= 0) return;
|
|
3774
|
-
const l = { timestamp: Zn(), ...t }, u = a ?
|
|
3774
|
+
const l = { timestamp: Zn(), ...t }, u = a ? Ar(() => a(l, n)) : l;
|
|
3775
3775
|
u !== null && (o.emit && o.emit("beforeAddBreadcrumb", u, n), r.addBreadcrumb(u, i));
|
|
3776
3776
|
}
|
|
3777
3777
|
/**
|
|
@@ -3916,7 +3916,7 @@ Sentry.init({...});
|
|
|
3916
3916
|
...i && { userAgent: i },
|
|
3917
3917
|
...t
|
|
3918
3918
|
}), l = n.getSession && n.getSession();
|
|
3919
|
-
return l && l.status === "ok" &&
|
|
3919
|
+
return l && l.status === "ok" && At(l, { status: "exited" }), this.endSession(), n.setSession(s), s;
|
|
3920
3920
|
}
|
|
3921
3921
|
/**
|
|
3922
3922
|
* Returns if default PII should be sent to Sentry and propagated in ourgoing requests
|
|
@@ -3956,7 +3956,7 @@ function Fr() {
|
|
|
3956
3956
|
}
|
|
3957
3957
|
function Ki(e) {
|
|
3958
3958
|
const t = Fr(), n = ra(t);
|
|
3959
|
-
return
|
|
3959
|
+
return Ol(t, e), n;
|
|
3960
3960
|
}
|
|
3961
3961
|
function st() {
|
|
3962
3962
|
const e = Fr();
|
|
@@ -3972,7 +3972,7 @@ function $r() {
|
|
|
3972
3972
|
}
|
|
3973
3973
|
function hh(e = Fr()) {
|
|
3974
3974
|
return (!mh(e) || // eslint-disable-next-line deprecation/deprecation
|
|
3975
|
-
ra(e).isOlderThan(Ml)) &&
|
|
3975
|
+
ra(e).isOlderThan(Ml)) && Ol(e, new Pl()), ra(e);
|
|
3976
3976
|
}
|
|
3977
3977
|
function mh(e) {
|
|
3978
3978
|
return !!(e && e.__SENTRY__ && e.__SENTRY__.hub);
|
|
@@ -3980,7 +3980,7 @@ function mh(e) {
|
|
|
3980
3980
|
function ra(e) {
|
|
3981
3981
|
return ll("hub", () => new Pl(), e);
|
|
3982
3982
|
}
|
|
3983
|
-
function
|
|
3983
|
+
function Ol(e, t) {
|
|
3984
3984
|
if (!e) return !1;
|
|
3985
3985
|
const n = e.__SENTRY__ = e.__SENTRY__ || {};
|
|
3986
3986
|
return n.hub = t, !0;
|
|
@@ -3999,16 +3999,16 @@ function vh(e, t, n, r) {
|
|
|
3999
3999
|
function yh(e, t, n, r) {
|
|
4000
4000
|
const o = wl(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
4001
4001
|
gh(e, n && n.sdk);
|
|
4002
|
-
const i =
|
|
4002
|
+
const i = Np(e, o, r, t);
|
|
4003
4003
|
return delete e.sdkProcessingMetadata, un(i, [[{ type: a }, e]]);
|
|
4004
4004
|
}
|
|
4005
4005
|
const _h = "7";
|
|
4006
|
-
function
|
|
4006
|
+
function Nl(e) {
|
|
4007
4007
|
const t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
4008
4008
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
4009
4009
|
}
|
|
4010
4010
|
function bh(e) {
|
|
4011
|
-
return `${
|
|
4011
|
+
return `${Nl(e)}${e.projectId}/envelope/`;
|
|
4012
4012
|
}
|
|
4013
4013
|
function Ch(e, t) {
|
|
4014
4014
|
return Gf({
|
|
@@ -4027,7 +4027,7 @@ function wh(e, t) {
|
|
|
4027
4027
|
const n = dl(e);
|
|
4028
4028
|
if (!n)
|
|
4029
4029
|
return "";
|
|
4030
|
-
const r = `${
|
|
4030
|
+
const r = `${Nl(n)}embed/error-page/`;
|
|
4031
4031
|
let o = `dsn=${cn(n)}`;
|
|
4032
4032
|
for (const a in t)
|
|
4033
4033
|
if (a !== "dsn" && a !== "onClose")
|
|
@@ -4112,7 +4112,7 @@ function qh(e) {
|
|
|
4112
4112
|
}
|
|
4113
4113
|
return t;
|
|
4114
4114
|
}
|
|
4115
|
-
function
|
|
4115
|
+
function jh(e, t, n, r) {
|
|
4116
4116
|
const o = {
|
|
4117
4117
|
sent_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
4118
4118
|
};
|
|
@@ -4120,10 +4120,10 @@ function Th(e, t, n, r) {
|
|
|
4120
4120
|
name: n.sdk.name,
|
|
4121
4121
|
version: n.sdk.version
|
|
4122
4122
|
}), r && t && (o.dsn = cn(t));
|
|
4123
|
-
const a =
|
|
4123
|
+
const a = Th(e);
|
|
4124
4124
|
return un(o, [a]);
|
|
4125
4125
|
}
|
|
4126
|
-
function
|
|
4126
|
+
function Th(e) {
|
|
4127
4127
|
const t = qh(e);
|
|
4128
4128
|
return [{
|
|
4129
4129
|
type: "statsd",
|
|
@@ -4165,7 +4165,7 @@ class Rh {
|
|
|
4165
4165
|
*/
|
|
4166
4166
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
4167
4167
|
captureException(t, n, r) {
|
|
4168
|
-
if (
|
|
4168
|
+
if (Ai(t)) {
|
|
4169
4169
|
ve && K.log(Ji);
|
|
4170
4170
|
return;
|
|
4171
4171
|
}
|
|
@@ -4181,7 +4181,7 @@ class Rh {
|
|
|
4181
4181
|
*/
|
|
4182
4182
|
captureMessage(t, n, r, o) {
|
|
4183
4183
|
let a = r && r.event_id;
|
|
4184
|
-
const i =
|
|
4184
|
+
const i = Ta(t) ? t : String(t), s = Ra(t) ? this.eventFromMessage(i, n, r) : this.eventFromException(t, r);
|
|
4185
4185
|
return this._process(
|
|
4186
4186
|
s.then((l) => this._captureEvent(l, r, o)).then((l) => {
|
|
4187
4187
|
a = l;
|
|
@@ -4192,7 +4192,7 @@ class Rh {
|
|
|
4192
4192
|
* @inheritDoc
|
|
4193
4193
|
*/
|
|
4194
4194
|
captureEvent(t, n, r) {
|
|
4195
|
-
if (n && n.originalException &&
|
|
4195
|
+
if (n && n.originalException && Ai(n.originalException)) {
|
|
4196
4196
|
ve && K.log(Ji);
|
|
4197
4197
|
return;
|
|
4198
4198
|
}
|
|
@@ -4208,7 +4208,7 @@ class Rh {
|
|
|
4208
4208
|
* @inheritDoc
|
|
4209
4209
|
*/
|
|
4210
4210
|
captureSession(t) {
|
|
4211
|
-
typeof t.release != "string" ? ve && K.warn("Discarded session because of missing or non-string release") : (this.sendSession(t),
|
|
4211
|
+
typeof t.release != "string" ? ve && K.warn("Discarded session because of missing or non-string release") : (this.sendSession(t), At(t, { init: !1 }));
|
|
4212
4212
|
}
|
|
4213
4213
|
/**
|
|
4214
4214
|
* @inheritDoc
|
|
@@ -4310,7 +4310,7 @@ class Rh {
|
|
|
4310
4310
|
this.emit("beforeSendEvent", t, n);
|
|
4311
4311
|
let r = yh(t, this._dsn, this._options._metadata, this._options.tunnel);
|
|
4312
4312
|
for (const a of n.attachments || [])
|
|
4313
|
-
r =
|
|
4313
|
+
r = Tp(
|
|
4314
4314
|
r,
|
|
4315
4315
|
Pp(
|
|
4316
4316
|
a,
|
|
@@ -4341,7 +4341,7 @@ class Rh {
|
|
|
4341
4341
|
*/
|
|
4342
4342
|
captureAggregateMetrics(t) {
|
|
4343
4343
|
ve && K.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);
|
|
4344
|
-
const n =
|
|
4344
|
+
const n = jh(
|
|
4345
4345
|
t,
|
|
4346
4346
|
this._dsn,
|
|
4347
4347
|
this._options._metadata,
|
|
@@ -4382,7 +4382,7 @@ class Rh {
|
|
|
4382
4382
|
}
|
|
4383
4383
|
}
|
|
4384
4384
|
const i = t.status === "ok";
|
|
4385
|
-
(i && t.errors === 0 || i && r) && (
|
|
4385
|
+
(i && t.errors === 0 || i && r) && (At(t, {
|
|
4386
4386
|
...r && { status: "crashed" },
|
|
4387
4387
|
errors: t.errors || Number(o || r)
|
|
4388
4388
|
}), this.captureSession(t));
|
|
@@ -4442,7 +4442,7 @@ class Rh {
|
|
|
4442
4442
|
},
|
|
4443
4443
|
...s.contexts
|
|
4444
4444
|
};
|
|
4445
|
-
const b = m ||
|
|
4445
|
+
const b = m || Tl(d, this, r);
|
|
4446
4446
|
s.sdkProcessingMetadata = {
|
|
4447
4447
|
dynamicSamplingContext: b,
|
|
4448
4448
|
...s.sdkProcessingMetadata
|
|
@@ -4482,9 +4482,9 @@ class Rh {
|
|
|
4482
4482
|
* @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
|
|
4483
4483
|
*/
|
|
4484
4484
|
_processEvent(t, n, r) {
|
|
4485
|
-
const o = this.getOptions(), { sampleRate: a } = o, i =
|
|
4485
|
+
const o = this.getOptions(), { sampleRate: a } = o, i = Al(t), s = Il(t), l = t.type || "error", u = `before send for type \`${l}\``;
|
|
4486
4486
|
if (s && typeof a == "number" && Math.random() > a)
|
|
4487
|
-
return this.recordDroppedEvent("sample_rate", "error", t),
|
|
4487
|
+
return this.recordDroppedEvent("sample_rate", "error", t), Na(
|
|
4488
4488
|
new tt(
|
|
4489
4489
|
`Discarding event because it's not included in the random sample (sampling rate = ${a})`,
|
|
4490
4490
|
"log"
|
|
@@ -4589,9 +4589,9 @@ function Mh(e, t) {
|
|
|
4589
4589
|
}
|
|
4590
4590
|
function Ph(e, t, n) {
|
|
4591
4591
|
const { beforeSend: r, beforeSendTransaction: o } = e;
|
|
4592
|
-
if (
|
|
4592
|
+
if (Il(t) && r)
|
|
4593
4593
|
return r(t, n);
|
|
4594
|
-
if (
|
|
4594
|
+
if (Al(t) && o) {
|
|
4595
4595
|
if (t.spans) {
|
|
4596
4596
|
const a = t.spans.length;
|
|
4597
4597
|
t.sdkProcessingMetadata = {
|
|
@@ -4603,29 +4603,29 @@ function Ph(e, t, n) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
return t;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Il(e) {
|
|
4607
4607
|
return e.type === void 0;
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function Al(e) {
|
|
4610
4610
|
return e.type === "transaction";
|
|
4611
4611
|
}
|
|
4612
|
-
function
|
|
4613
|
-
t.debug === !0 && (ve ? K.enable() :
|
|
4612
|
+
function Oh(e, t) {
|
|
4613
|
+
t.debug === !0 && (ve ? K.enable() : Ar(() => {
|
|
4614
4614
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
4615
4615
|
})), Xn().update(t.initialScope);
|
|
4616
4616
|
const r = new e(t);
|
|
4617
|
-
|
|
4617
|
+
Nh(r), Lh(r);
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function Nh(e) {
|
|
4620
4620
|
const n = st().getStackTop();
|
|
4621
4621
|
n.client = e, n.scope.setClient(e);
|
|
4622
4622
|
}
|
|
4623
4623
|
function Lh(e) {
|
|
4624
4624
|
e.init ? e.init() : e.setupIntegrations && e.setupIntegrations();
|
|
4625
4625
|
}
|
|
4626
|
-
const
|
|
4626
|
+
const Ih = 30;
|
|
4627
4627
|
function Dl(e, t, n = Sp(
|
|
4628
|
-
e.bufferSize ||
|
|
4628
|
+
e.bufferSize || Ih
|
|
4629
4629
|
)) {
|
|
4630
4630
|
let r = {};
|
|
4631
4631
|
const o = (i) => n.drain(i);
|
|
@@ -4680,7 +4680,7 @@ function Fl(e, t, n = [t], r = "npm") {
|
|
|
4680
4680
|
version: na
|
|
4681
4681
|
}), e._metadata = o;
|
|
4682
4682
|
}
|
|
4683
|
-
const
|
|
4683
|
+
const Ah = [
|
|
4684
4684
|
/^Script error\.?$/,
|
|
4685
4685
|
/^Javascript error: Script error\.? on line 0$/,
|
|
4686
4686
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -4715,7 +4715,7 @@ function $h(e = {}, t = {}) {
|
|
|
4715
4715
|
ignoreErrors: [
|
|
4716
4716
|
...e.ignoreErrors || [],
|
|
4717
4717
|
...t.ignoreErrors || [],
|
|
4718
|
-
...e.disableErrorDefaults ? [] :
|
|
4718
|
+
...e.disableErrorDefaults ? [] : Ah
|
|
4719
4719
|
],
|
|
4720
4720
|
ignoreTransactions: [
|
|
4721
4721
|
...e.ignoreTransactions || [],
|
|
@@ -4748,25 +4748,25 @@ Url: ${kr(e)}`
|
|
|
4748
4748
|
), !0);
|
|
4749
4749
|
}
|
|
4750
4750
|
function Uh(e, t) {
|
|
4751
|
-
return e.type || !t || !t.length ? !1 : Gh(e).some((n) =>
|
|
4751
|
+
return e.type || !t || !t.length ? !1 : Gh(e).some((n) => Ir(n, t));
|
|
4752
4752
|
}
|
|
4753
4753
|
function Bh(e, t) {
|
|
4754
4754
|
if (e.type !== "transaction" || !t || !t.length)
|
|
4755
4755
|
return !1;
|
|
4756
4756
|
const n = e.transaction;
|
|
4757
|
-
return n ?
|
|
4757
|
+
return n ? Ir(n, t) : !1;
|
|
4758
4758
|
}
|
|
4759
4759
|
function Vh(e, t) {
|
|
4760
4760
|
if (!t || !t.length)
|
|
4761
4761
|
return !1;
|
|
4762
4762
|
const n = kr(e);
|
|
4763
|
-
return n ?
|
|
4763
|
+
return n ? Ir(n, t) : !1;
|
|
4764
4764
|
}
|
|
4765
4765
|
function Wh(e, t) {
|
|
4766
4766
|
if (!t || !t.length)
|
|
4767
4767
|
return !0;
|
|
4768
4768
|
const n = kr(e);
|
|
4769
|
-
return n ?
|
|
4769
|
+
return n ? Ir(n, t) : !0;
|
|
4770
4770
|
}
|
|
4771
4771
|
function Gh(e) {
|
|
4772
4772
|
const t = [];
|
|
@@ -4812,7 +4812,7 @@ const Ul = "FunctionToString", ts = /* @__PURE__ */ new WeakMap(), Zh = () => ({
|
|
|
4812
4812
|
es = Function.prototype.toString;
|
|
4813
4813
|
try {
|
|
4814
4814
|
Function.prototype.toString = function(...e) {
|
|
4815
|
-
const t =
|
|
4815
|
+
const t = Oa(this), n = ts.has(Pe()) && t !== void 0 ? t : this;
|
|
4816
4816
|
return es.apply(n, e);
|
|
4817
4817
|
};
|
|
4818
4818
|
} catch {
|
|
@@ -4843,7 +4843,7 @@ function an(e, t = {}, n) {
|
|
|
4843
4843
|
const o = e.__sentry_wrapped__;
|
|
4844
4844
|
if (o)
|
|
4845
4845
|
return typeof o == "function" ? o : e;
|
|
4846
|
-
if (
|
|
4846
|
+
if (Oa(e))
|
|
4847
4847
|
return e;
|
|
4848
4848
|
} catch {
|
|
4849
4849
|
return e;
|
|
@@ -4854,11 +4854,11 @@ function an(e, t = {}, n) {
|
|
|
4854
4854
|
const a = o.map((i) => an(i, t));
|
|
4855
4855
|
return e.apply(this, a);
|
|
4856
4856
|
} catch (a) {
|
|
4857
|
-
throw Xh(),
|
|
4857
|
+
throw Xh(), Aa((i) => {
|
|
4858
4858
|
i.addEventProcessor((s) => (t.mechanism && (Yo(s, void 0), Hn(s, t.mechanism)), s.extra = {
|
|
4859
4859
|
...s.extra,
|
|
4860
4860
|
arguments: o
|
|
4861
|
-
}, s)),
|
|
4861
|
+
}, s)), Ia(a);
|
|
4862
4862
|
}), a;
|
|
4863
4863
|
}
|
|
4864
4864
|
};
|
|
@@ -4891,7 +4891,7 @@ function Jh(e, t, n, r) {
|
|
|
4891
4891
|
exception: {
|
|
4892
4892
|
values: [
|
|
4893
4893
|
{
|
|
4894
|
-
type:
|
|
4894
|
+
type: Nr(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
4895
4895
|
value: o1(t, { isUnhandledRejection: r })
|
|
4896
4896
|
}
|
|
4897
4897
|
]
|
|
@@ -4945,19 +4945,19 @@ function r1(e, t, n = "info", r, o) {
|
|
|
4945
4945
|
}
|
|
4946
4946
|
function Fa(e, t, n, r, o) {
|
|
4947
4947
|
let a;
|
|
4948
|
-
if (
|
|
4948
|
+
if (ja(t) && t.error)
|
|
4949
4949
|
return qo(e, t.error);
|
|
4950
|
-
if (
|
|
4950
|
+
if (ji(t) || jf(t)) {
|
|
4951
4951
|
const i = t;
|
|
4952
4952
|
if ("stack" in t)
|
|
4953
4953
|
a = qo(e, t);
|
|
4954
4954
|
else {
|
|
4955
|
-
const s = i.name || (
|
|
4955
|
+
const s = i.name || (ji(i) ? "DOMError" : "DOMException"), l = i.message ? `${s}: ${i.message}` : s;
|
|
4956
4956
|
a = aa(e, l, n, r), Yo(a, l);
|
|
4957
4957
|
}
|
|
4958
4958
|
return "code" in i && (a.tags = { ...a.tags, "DOMException.code": `${i.code}` }), a;
|
|
4959
4959
|
}
|
|
4960
|
-
return qa(t) ? qo(e, t) : rn(t) ||
|
|
4960
|
+
return qa(t) ? qo(e, t) : rn(t) || Nr(t) ? (a = Jh(e, t, n, o), Hn(a, {
|
|
4961
4961
|
synthetic: !0
|
|
4962
4962
|
}), a) : (a = aa(e, t, n, r), Yo(a, `${t}`), Hn(a, {
|
|
4963
4963
|
synthetic: !0
|
|
@@ -4971,7 +4971,7 @@ function aa(e, t, n, r) {
|
|
|
4971
4971
|
values: [{ value: t, stacktrace: { frames: a } }]
|
|
4972
4972
|
});
|
|
4973
4973
|
}
|
|
4974
|
-
if (
|
|
4974
|
+
if (Ta(t)) {
|
|
4975
4975
|
const { __sentry_template_string__: a, __sentry_template_values__: i } = t;
|
|
4976
4976
|
return o.logentry = {
|
|
4977
4977
|
message: a,
|
|
@@ -4982,7 +4982,7 @@ function aa(e, t, n, r) {
|
|
|
4982
4982
|
}
|
|
4983
4983
|
function o1(e, { isUnhandledRejection: t }) {
|
|
4984
4984
|
const n = Yf(e), r = t ? "promise rejection" : "exception";
|
|
4985
|
-
return
|
|
4985
|
+
return ja(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Nr(e) ? `Event \`${a1(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
4986
4986
|
}
|
|
4987
4987
|
function a1(e) {
|
|
4988
4988
|
try {
|
|
@@ -5077,12 +5077,12 @@ class l1 extends Rh {
|
|
|
5077
5077
|
this._sendEnvelope(n);
|
|
5078
5078
|
}
|
|
5079
5079
|
}
|
|
5080
|
-
let
|
|
5080
|
+
let Nn;
|
|
5081
5081
|
function c1() {
|
|
5082
|
-
if (
|
|
5083
|
-
return
|
|
5082
|
+
if (Nn)
|
|
5083
|
+
return Nn;
|
|
5084
5084
|
if (Jo(ue.fetch))
|
|
5085
|
-
return
|
|
5085
|
+
return Nn = ue.fetch.bind(ue);
|
|
5086
5086
|
const e = ue.document;
|
|
5087
5087
|
let t = ue.fetch;
|
|
5088
5088
|
if (e && typeof e.createElement == "function")
|
|
@@ -5094,10 +5094,10 @@ function c1() {
|
|
|
5094
5094
|
} catch (n) {
|
|
5095
5095
|
Ve && K.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", n);
|
|
5096
5096
|
}
|
|
5097
|
-
return
|
|
5097
|
+
return Nn = t.bind(ue);
|
|
5098
5098
|
}
|
|
5099
5099
|
function u1() {
|
|
5100
|
-
|
|
5100
|
+
Nn = void 0;
|
|
5101
5101
|
}
|
|
5102
5102
|
function d1(e, t = c1()) {
|
|
5103
5103
|
let n = 0, r = 0;
|
|
@@ -5132,7 +5132,7 @@ function d1(e, t = c1()) {
|
|
|
5132
5132
|
}
|
|
5133
5133
|
}));
|
|
5134
5134
|
} catch (l) {
|
|
5135
|
-
return u1(), n -= i, r--,
|
|
5135
|
+
return u1(), n -= i, r--, Na(l);
|
|
5136
5136
|
}
|
|
5137
5137
|
}
|
|
5138
5138
|
return Dl(e, o);
|
|
@@ -5191,13 +5191,13 @@ const v1 = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((
|
|
|
5191
5191
|
}, E1 = [g1, w1], k1 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i, S1 = (e) => {
|
|
5192
5192
|
const t = k1.exec(e);
|
|
5193
5193
|
return t ? $a(t[2], t[1] || Hr, +t[3], t[4] ? +t[4] : void 0) : void 0;
|
|
5194
|
-
}, z1 = [m1, S1], q1 = [b1, E1, z1],
|
|
5194
|
+
}, z1 = [m1, S1], q1 = [b1, E1, z1], j1 = ml(...q1), Gl = (e, t) => {
|
|
5195
5195
|
const n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
5196
5196
|
return n || r ? [
|
|
5197
5197
|
e.indexOf("@") !== -1 ? e.split("@")[0] : Hr,
|
|
5198
5198
|
n ? `safari-extension:${t}` : `safari-web-extension:${t}`
|
|
5199
5199
|
] : [e, t];
|
|
5200
|
-
}, sr = 1024, Yl = "Breadcrumbs",
|
|
5200
|
+
}, sr = 1024, Yl = "Breadcrumbs", T1 = (e = {}) => {
|
|
5201
5201
|
const t = {
|
|
5202
5202
|
console: !0,
|
|
5203
5203
|
dom: !0,
|
|
@@ -5214,10 +5214,10 @@ const v1 = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((
|
|
|
5214
5214
|
},
|
|
5215
5215
|
// eslint-disable-line @typescript-eslint/no-empty-function
|
|
5216
5216
|
setup(n) {
|
|
5217
|
-
t.console && Jf(P1(n)), t.dom && tp(M1(n, t.dom)), t.xhr && vp(
|
|
5217
|
+
t.console && Jf(P1(n)), t.dom && tp(M1(n, t.dom)), t.xhr && vp(O1(n)), t.fetch && sp(N1(n)), t.history && _l(L1(n)), t.sentry && n.on && n.on("beforeSendEvent", R1(n));
|
|
5218
5218
|
}
|
|
5219
5219
|
};
|
|
5220
|
-
}, Kl =
|
|
5220
|
+
}, Kl = T1;
|
|
5221
5221
|
kt(Yl, Kl);
|
|
5222
5222
|
function R1(e) {
|
|
5223
5223
|
return function(n) {
|
|
@@ -5243,7 +5243,7 @@ function M1(e, t) {
|
|
|
5243
5243
|
`\`dom.maxStringLength\` cannot exceed ${sr}, but a value of ${s} was configured. Sentry will use ${sr} instead.`
|
|
5244
5244
|
), s = sr), typeof i == "string" && (i = [i]);
|
|
5245
5245
|
try {
|
|
5246
|
-
const u = r.event, d =
|
|
5246
|
+
const u = r.event, d = I1(u) ? u.target : u;
|
|
5247
5247
|
o = cl(d, { keyAttrs: i, maxStringLength: s }), a = Ff(d);
|
|
5248
5248
|
} catch {
|
|
5249
5249
|
o = "<unknown>";
|
|
@@ -5272,11 +5272,11 @@ function P1(e) {
|
|
|
5272
5272
|
logger: "console"
|
|
5273
5273
|
},
|
|
5274
5274
|
level: qp(n.level),
|
|
5275
|
-
message:
|
|
5275
|
+
message: Ti(n.args, " ")
|
|
5276
5276
|
};
|
|
5277
5277
|
if (n.level === "assert")
|
|
5278
5278
|
if (n.args[0] === !1)
|
|
5279
|
-
r.message = `Assertion failed: ${
|
|
5279
|
+
r.message = `Assertion failed: ${Ti(n.args.slice(1), " ") || "console.assert"}`, r.data.arguments = n.args.slice(1);
|
|
5280
5280
|
else
|
|
5281
5281
|
return;
|
|
5282
5282
|
Dt(r, {
|
|
@@ -5285,11 +5285,11 @@ function P1(e) {
|
|
|
5285
5285
|
});
|
|
5286
5286
|
};
|
|
5287
5287
|
}
|
|
5288
|
-
function
|
|
5288
|
+
function O1(e) {
|
|
5289
5289
|
return function(n) {
|
|
5290
5290
|
if (Pe() !== e)
|
|
5291
5291
|
return;
|
|
5292
|
-
const { startTimestamp: r, endTimestamp: o } = n, a = n.xhr[
|
|
5292
|
+
const { startTimestamp: r, endTimestamp: o } = n, a = n.xhr[On];
|
|
5293
5293
|
if (!r || !o || !a)
|
|
5294
5294
|
return;
|
|
5295
5295
|
const { method: i, url: s, status_code: l, body: u } = a, d = {
|
|
@@ -5312,7 +5312,7 @@ function N1(e) {
|
|
|
5312
5312
|
);
|
|
5313
5313
|
};
|
|
5314
5314
|
}
|
|
5315
|
-
function
|
|
5315
|
+
function N1(e) {
|
|
5316
5316
|
return function(n) {
|
|
5317
5317
|
if (Pe() !== e)
|
|
5318
5318
|
return;
|
|
@@ -5372,10 +5372,10 @@ function L1(e) {
|
|
|
5372
5372
|
});
|
|
5373
5373
|
};
|
|
5374
5374
|
}
|
|
5375
|
-
function
|
|
5375
|
+
function I1(e) {
|
|
5376
5376
|
return !!e && !!e.target;
|
|
5377
5377
|
}
|
|
5378
|
-
const Zl = "Dedupe",
|
|
5378
|
+
const Zl = "Dedupe", A1 = () => {
|
|
5379
5379
|
let e;
|
|
5380
5380
|
return {
|
|
5381
5381
|
name: Zl,
|
|
@@ -5394,7 +5394,7 @@ const Zl = "Dedupe", I1 = () => {
|
|
|
5394
5394
|
return e = t;
|
|
5395
5395
|
}
|
|
5396
5396
|
};
|
|
5397
|
-
}, Xl =
|
|
5397
|
+
}, Xl = A1;
|
|
5398
5398
|
kt(Zl, Xl);
|
|
5399
5399
|
function D1(e, t) {
|
|
5400
5400
|
return t ? !!(F1(e, t) || $1(e, t)) : !1;
|
|
@@ -5528,7 +5528,7 @@ function W1(e) {
|
|
|
5528
5528
|
}
|
|
5529
5529
|
function G1(e, t, n, r) {
|
|
5530
5530
|
const o = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
5531
|
-
let a =
|
|
5531
|
+
let a = ja(e) ? e.message : e, i = "Error";
|
|
5532
5532
|
const s = a.match(o);
|
|
5533
5533
|
return s && (i = s[1], a = s[2]), nc({
|
|
5534
5534
|
exception: {
|
|
@@ -5589,7 +5589,7 @@ const K1 = "cause", Z1 = 5, ic = "LinkedErrors", X1 = (e = {}) => {
|
|
|
5589
5589
|
// eslint-disable-line @typescript-eslint/no-empty-function
|
|
5590
5590
|
preprocessEvent(r, o, a) {
|
|
5591
5591
|
const i = a.getOptions();
|
|
5592
|
-
|
|
5592
|
+
Nf(
|
|
5593
5593
|
// This differs from the LinkedErrors integration in core by using a different exceptionFromError function
|
|
5594
5594
|
Wl,
|
|
5595
5595
|
i.stackParser,
|
|
@@ -5649,7 +5649,7 @@ const J1 = [
|
|
|
5649
5649
|
// TODO: This currently only works for the first client this is setup
|
|
5650
5650
|
// We may want to adjust this to check for client etc.
|
|
5651
5651
|
setupOnce() {
|
|
5652
|
-
t.setTimeout &&
|
|
5652
|
+
t.setTimeout && je(ue, "setTimeout", as), t.setInterval && je(ue, "setInterval", as), t.requestAnimationFrame && je(ue, "requestAnimationFrame", em), t.XMLHttpRequest && "XMLHttpRequest" in ue && je(XMLHttpRequest.prototype, "send", tm);
|
|
5653
5653
|
const n = t.eventTarget;
|
|
5654
5654
|
n && (Array.isArray(n) ? n : J1).forEach(nm);
|
|
5655
5655
|
}
|
|
@@ -5691,7 +5691,7 @@ function tm(e) {
|
|
|
5691
5691
|
return function(...t) {
|
|
5692
5692
|
const n = this;
|
|
5693
5693
|
return ["onload", "onerror", "onprogress", "onreadystatechange"].forEach((o) => {
|
|
5694
|
-
o in n && typeof n[o] == "function" &&
|
|
5694
|
+
o in n && typeof n[o] == "function" && je(n, o, function(a) {
|
|
5695
5695
|
const i = {
|
|
5696
5696
|
mechanism: {
|
|
5697
5697
|
data: {
|
|
@@ -5701,7 +5701,7 @@ function tm(e) {
|
|
|
5701
5701
|
handled: !1,
|
|
5702
5702
|
type: "instrument"
|
|
5703
5703
|
}
|
|
5704
|
-
}, s =
|
|
5704
|
+
}, s = Oa(a);
|
|
5705
5705
|
return s && (i.mechanism.data.handler = Ct(s)), an(a, i);
|
|
5706
5706
|
});
|
|
5707
5707
|
}), e.apply(this, t);
|
|
@@ -5709,7 +5709,7 @@ function tm(e) {
|
|
|
5709
5709
|
}
|
|
5710
5710
|
function nm(e) {
|
|
5711
5711
|
const t = ue, n = t[e] && t[e].prototype;
|
|
5712
|
-
!n || !n.hasOwnProperty || !n.hasOwnProperty("addEventListener") || (
|
|
5712
|
+
!n || !n.hasOwnProperty || !n.hasOwnProperty("addEventListener") || (je(n, "addEventListener", function(r) {
|
|
5713
5713
|
return function(o, a, i) {
|
|
5714
5714
|
try {
|
|
5715
5715
|
typeof a.handleEvent == "function" && (a.handleEvent = an(a.handleEvent, {
|
|
@@ -5742,7 +5742,7 @@ function nm(e) {
|
|
|
5742
5742
|
i
|
|
5743
5743
|
]);
|
|
5744
5744
|
};
|
|
5745
|
-
}),
|
|
5745
|
+
}), je(
|
|
5746
5746
|
n,
|
|
5747
5747
|
"removeEventListener",
|
|
5748
5748
|
function(r) {
|
|
@@ -5778,11 +5778,11 @@ function am(e = {}) {
|
|
|
5778
5778
|
e.defaultIntegrations === void 0 && (e.defaultIntegrations = om()), e.release === void 0 && (typeof __SENTRY_RELEASE__ == "string" && (e.release = __SENTRY_RELEASE__), ue.SENTRY_RELEASE && ue.SENTRY_RELEASE.id && (e.release = ue.SENTRY_RELEASE.id)), e.autoSessionTracking === void 0 && (e.autoSessionTracking = !0), e.sendClientReports === void 0 && (e.sendClientReports = !0);
|
|
5779
5779
|
const t = {
|
|
5780
5780
|
...e,
|
|
5781
|
-
stackParser: Zf(e.stackParser ||
|
|
5781
|
+
stackParser: Zf(e.stackParser || j1),
|
|
5782
5782
|
integrations: kh(e),
|
|
5783
5783
|
transport: e.transport || (yl() ? d1 : p1)
|
|
5784
5784
|
};
|
|
5785
|
-
|
|
5785
|
+
Oh(l1, t), e.autoSessionTracking && im();
|
|
5786
5786
|
}
|
|
5787
5787
|
const is = (e = {}, t = st()) => {
|
|
5788
5788
|
if (!ue.document) {
|
|
@@ -5846,8 +5846,8 @@ function lm() {
|
|
|
5846
5846
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, _ = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
5847
5847
|
function w(C) {
|
|
5848
5848
|
if (typeof C == "object" && C !== null) {
|
|
5849
|
-
var
|
|
5850
|
-
switch (
|
|
5849
|
+
var T = C.$$typeof;
|
|
5850
|
+
switch (T) {
|
|
5851
5851
|
case t:
|
|
5852
5852
|
switch (C = C.type, C) {
|
|
5853
5853
|
case l:
|
|
@@ -5866,11 +5866,11 @@ function lm() {
|
|
|
5866
5866
|
case i:
|
|
5867
5867
|
return C;
|
|
5868
5868
|
default:
|
|
5869
|
-
return
|
|
5869
|
+
return T;
|
|
5870
5870
|
}
|
|
5871
5871
|
}
|
|
5872
5872
|
case n:
|
|
5873
|
-
return
|
|
5873
|
+
return T;
|
|
5874
5874
|
}
|
|
5875
5875
|
}
|
|
5876
5876
|
}
|
|
@@ -5918,26 +5918,26 @@ var ls;
|
|
|
5918
5918
|
function cm() {
|
|
5919
5919
|
return ls || (ls = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5920
5920
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, _ = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
5921
|
-
function w(
|
|
5922
|
-
return typeof
|
|
5923
|
-
|
|
5921
|
+
function w(O) {
|
|
5922
|
+
return typeof O == "string" || typeof O == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
5923
|
+
O === r || O === u || O === a || O === o || O === p || O === _ || typeof O == "object" && O !== null && (O.$$typeof === b || O.$$typeof === m || O.$$typeof === i || O.$$typeof === s || O.$$typeof === d || O.$$typeof === v || O.$$typeof === E || O.$$typeof === y || O.$$typeof === h);
|
|
5924
5924
|
}
|
|
5925
|
-
function S(
|
|
5926
|
-
if (typeof
|
|
5927
|
-
var _e =
|
|
5925
|
+
function S(O) {
|
|
5926
|
+
if (typeof O == "object" && O !== null) {
|
|
5927
|
+
var _e = O.$$typeof;
|
|
5928
5928
|
switch (_e) {
|
|
5929
5929
|
case t:
|
|
5930
|
-
var
|
|
5931
|
-
switch (
|
|
5930
|
+
var Oe = O.type;
|
|
5931
|
+
switch (Oe) {
|
|
5932
5932
|
case l:
|
|
5933
5933
|
case u:
|
|
5934
5934
|
case r:
|
|
5935
5935
|
case a:
|
|
5936
5936
|
case o:
|
|
5937
5937
|
case p:
|
|
5938
|
-
return
|
|
5938
|
+
return Oe;
|
|
5939
5939
|
default:
|
|
5940
|
-
var ze =
|
|
5940
|
+
var ze = Oe && Oe.$$typeof;
|
|
5941
5941
|
switch (ze) {
|
|
5942
5942
|
case s:
|
|
5943
5943
|
case d:
|
|
@@ -5954,47 +5954,47 @@ function cm() {
|
|
|
5954
5954
|
}
|
|
5955
5955
|
}
|
|
5956
5956
|
}
|
|
5957
|
-
var C = l,
|
|
5958
|
-
function R(
|
|
5959
|
-
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
5957
|
+
var C = l, T = u, q = s, D = i, $ = t, ne = d, te = r, G = b, V = m, A = n, X = a, H = o, Z = p, ae = !1;
|
|
5958
|
+
function R(O) {
|
|
5959
|
+
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), j(O) || S(O) === l;
|
|
5960
5960
|
}
|
|
5961
|
-
function
|
|
5962
|
-
return S(
|
|
5961
|
+
function j(O) {
|
|
5962
|
+
return S(O) === u;
|
|
5963
5963
|
}
|
|
5964
|
-
function M(
|
|
5965
|
-
return S(
|
|
5964
|
+
function M(O) {
|
|
5965
|
+
return S(O) === s;
|
|
5966
5966
|
}
|
|
5967
|
-
function B(
|
|
5968
|
-
return S(
|
|
5967
|
+
function B(O) {
|
|
5968
|
+
return S(O) === i;
|
|
5969
5969
|
}
|
|
5970
|
-
function L(
|
|
5971
|
-
return typeof
|
|
5970
|
+
function L(O) {
|
|
5971
|
+
return typeof O == "object" && O !== null && O.$$typeof === t;
|
|
5972
5972
|
}
|
|
5973
|
-
function Q(
|
|
5974
|
-
return S(
|
|
5973
|
+
function Q(O) {
|
|
5974
|
+
return S(O) === d;
|
|
5975
5975
|
}
|
|
5976
|
-
function me(
|
|
5977
|
-
return S(
|
|
5976
|
+
function me(O) {
|
|
5977
|
+
return S(O) === r;
|
|
5978
5978
|
}
|
|
5979
|
-
function ce(
|
|
5980
|
-
return S(
|
|
5979
|
+
function ce(O) {
|
|
5980
|
+
return S(O) === b;
|
|
5981
5981
|
}
|
|
5982
|
-
function O
|
|
5983
|
-
return S(
|
|
5982
|
+
function I(O) {
|
|
5983
|
+
return S(O) === m;
|
|
5984
5984
|
}
|
|
5985
|
-
function ee(
|
|
5986
|
-
return S(
|
|
5985
|
+
function ee(O) {
|
|
5986
|
+
return S(O) === n;
|
|
5987
5987
|
}
|
|
5988
|
-
function se(
|
|
5989
|
-
return S(
|
|
5988
|
+
function se(O) {
|
|
5989
|
+
return S(O) === a;
|
|
5990
5990
|
}
|
|
5991
|
-
function J(
|
|
5992
|
-
return S(
|
|
5991
|
+
function J(O) {
|
|
5992
|
+
return S(O) === o;
|
|
5993
5993
|
}
|
|
5994
|
-
function ie(
|
|
5995
|
-
return S(
|
|
5994
|
+
function ie(O) {
|
|
5995
|
+
return S(O) === p;
|
|
5996
5996
|
}
|
|
5997
|
-
pe.AsyncMode = C, pe.ConcurrentMode =
|
|
5997
|
+
pe.AsyncMode = C, pe.ConcurrentMode = T, pe.ContextConsumer = q, pe.ContextProvider = D, pe.Element = $, pe.ForwardRef = ne, pe.Fragment = te, pe.Lazy = G, pe.Memo = V, pe.Portal = A, pe.Profiler = X, pe.StrictMode = H, pe.Suspense = Z, pe.isAsyncMode = R, pe.isConcurrentMode = j, pe.isContextConsumer = M, pe.isContextProvider = B, pe.isElement = L, pe.isForwardRef = Q, pe.isFragment = me, pe.isLazy = ce, pe.isMemo = I, pe.isPortal = ee, pe.isProfiler = se, pe.isStrictMode = J, pe.isSuspense = ie, pe.isValidElementType = w, pe.typeOf = S;
|
|
5998
5998
|
}()), pe;
|
|
5999
5999
|
}
|
|
6000
6000
|
process.env.NODE_ENV === "production" ? ia.exports = lm() : ia.exports = cm();
|
|
@@ -6045,13 +6045,13 @@ class Ha extends g.Component {
|
|
|
6045
6045
|
}
|
|
6046
6046
|
componentDidCatch(t, { componentStack: n }) {
|
|
6047
6047
|
const { beforeCapture: r, onError: o, showDialog: a, dialogOptions: i } = this.props;
|
|
6048
|
-
|
|
6048
|
+
Aa((s) => {
|
|
6049
6049
|
if (hm(g.version) && qa(t)) {
|
|
6050
6050
|
const u = new Error(t.message);
|
|
6051
6051
|
u.name = `React ErrorBoundary ${t.name}`, u.stack = n, mm(t, u);
|
|
6052
6052
|
}
|
|
6053
6053
|
r && r(s, t, n);
|
|
6054
|
-
const l =
|
|
6054
|
+
const l = Ia(t, {
|
|
6055
6055
|
captureContext: {
|
|
6056
6056
|
contexts: { react: { componentStack: n } }
|
|
6057
6057
|
},
|
|
@@ -6099,8 +6099,8 @@ const us = {
|
|
|
6099
6099
|
};
|
|
6100
6100
|
async function fc(e, t) {
|
|
6101
6101
|
const n = pc(e);
|
|
6102
|
-
|
|
6103
|
-
r.setExtras({ ...t, message: n.message, ...Fe.isSlashIDError(n) && { ...n.context } }),
|
|
6102
|
+
Aa((r) => {
|
|
6103
|
+
r.setExtras({ ...t, message: n.message, ...Fe.isSlashIDError(n) && { ...n.context } }), Ia(n);
|
|
6104
6104
|
});
|
|
6105
6105
|
}
|
|
6106
6106
|
function pc(e) {
|
|
@@ -6208,10 +6208,10 @@ function _m() {
|
|
|
6208
6208
|
W.unshift("Warning: " + x), Function.prototype.apply.call(console[c], console, W);
|
|
6209
6209
|
}
|
|
6210
6210
|
}
|
|
6211
|
-
var S = !1, C = !1,
|
|
6211
|
+
var S = !1, C = !1, T = !1, q = !1, D = !1, $;
|
|
6212
6212
|
$ = Symbol.for("react.module.reference");
|
|
6213
6213
|
function ne(c) {
|
|
6214
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === a || D || c === o || c === u || c === d || q || c === m || S || C ||
|
|
6214
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === a || D || c === o || c === u || c === d || q || c === m || S || C || T || typeof c == "object" && c !== null && (c.$$typeof === _ || c.$$typeof === p || c.$$typeof === i || c.$$typeof === s || c.$$typeof === l || // This needs to include all possible module reference object
|
|
6215
6215
|
// types supported by any Flight configuration anywhere since
|
|
6216
6216
|
// we don't know which Flight build this will end up being used
|
|
6217
6217
|
// with.
|
|
@@ -6272,14 +6272,14 @@ function _m() {
|
|
|
6272
6272
|
}
|
|
6273
6273
|
return null;
|
|
6274
6274
|
}
|
|
6275
|
-
var
|
|
6275
|
+
var A = Object.assign, X = 0, H, Z, ae, R, j, M, B;
|
|
6276
6276
|
function L() {
|
|
6277
6277
|
}
|
|
6278
6278
|
L.__reactDisabledLog = !0;
|
|
6279
6279
|
function Q() {
|
|
6280
6280
|
{
|
|
6281
6281
|
if (X === 0) {
|
|
6282
|
-
H = console.log, Z = console.info, ae = console.warn, R = console.error,
|
|
6282
|
+
H = console.log, Z = console.info, ae = console.warn, R = console.error, j = console.group, M = console.groupCollapsed, B = console.groupEnd;
|
|
6283
6283
|
var c = {
|
|
6284
6284
|
configurable: !0,
|
|
6285
6285
|
enumerable: !0,
|
|
@@ -6308,25 +6308,25 @@ function _m() {
|
|
|
6308
6308
|
writable: !0
|
|
6309
6309
|
};
|
|
6310
6310
|
Object.defineProperties(console, {
|
|
6311
|
-
log:
|
|
6311
|
+
log: A({}, c, {
|
|
6312
6312
|
value: H
|
|
6313
6313
|
}),
|
|
6314
|
-
info:
|
|
6314
|
+
info: A({}, c, {
|
|
6315
6315
|
value: Z
|
|
6316
6316
|
}),
|
|
6317
|
-
warn:
|
|
6317
|
+
warn: A({}, c, {
|
|
6318
6318
|
value: ae
|
|
6319
6319
|
}),
|
|
6320
|
-
error:
|
|
6320
|
+
error: A({}, c, {
|
|
6321
6321
|
value: R
|
|
6322
6322
|
}),
|
|
6323
|
-
group:
|
|
6324
|
-
value:
|
|
6323
|
+
group: A({}, c, {
|
|
6324
|
+
value: j
|
|
6325
6325
|
}),
|
|
6326
|
-
groupCollapsed:
|
|
6326
|
+
groupCollapsed: A({}, c, {
|
|
6327
6327
|
value: M
|
|
6328
6328
|
}),
|
|
6329
|
-
groupEnd:
|
|
6329
|
+
groupEnd: A({}, c, {
|
|
6330
6330
|
value: B
|
|
6331
6331
|
})
|
|
6332
6332
|
});
|
|
@@ -6334,18 +6334,18 @@ function _m() {
|
|
|
6334
6334
|
X < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
6335
6335
|
}
|
|
6336
6336
|
}
|
|
6337
|
-
var ce = E.ReactCurrentDispatcher,
|
|
6337
|
+
var ce = E.ReactCurrentDispatcher, I;
|
|
6338
6338
|
function ee(c, x, k) {
|
|
6339
6339
|
{
|
|
6340
|
-
if (
|
|
6340
|
+
if (I === void 0)
|
|
6341
6341
|
try {
|
|
6342
6342
|
throw Error();
|
|
6343
6343
|
} catch (U) {
|
|
6344
6344
|
var P = U.stack.trim().match(/\n( *(at )?)/);
|
|
6345
|
-
|
|
6345
|
+
I = P && P[1] || "";
|
|
6346
6346
|
}
|
|
6347
6347
|
return `
|
|
6348
|
-
` +
|
|
6348
|
+
` + I + c;
|
|
6349
6349
|
}
|
|
6350
6350
|
}
|
|
6351
6351
|
var se = !1, J;
|
|
@@ -6353,7 +6353,7 @@ function _m() {
|
|
|
6353
6353
|
var ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
6354
6354
|
J = new ie();
|
|
6355
6355
|
}
|
|
6356
|
-
function
|
|
6356
|
+
function O(c, x) {
|
|
6357
6357
|
if (!c || se)
|
|
6358
6358
|
return "";
|
|
6359
6359
|
{
|
|
@@ -6401,17 +6401,17 @@ function _m() {
|
|
|
6401
6401
|
}
|
|
6402
6402
|
} catch (Ee) {
|
|
6403
6403
|
if (Ee && P && typeof Ee.stack == "string") {
|
|
6404
|
-
for (var
|
|
6404
|
+
for (var N = Ee.stack.split(`
|
|
6405
6405
|
`), de = P.stack.split(`
|
|
6406
|
-
`), re =
|
|
6406
|
+
`), re = N.length - 1, oe = de.length - 1; re >= 1 && oe >= 0 && N[re] !== de[oe]; )
|
|
6407
6407
|
oe--;
|
|
6408
6408
|
for (; re >= 1 && oe >= 0; re--, oe--)
|
|
6409
|
-
if (
|
|
6409
|
+
if (N[re] !== de[oe]) {
|
|
6410
6410
|
if (re !== 1 || oe !== 1)
|
|
6411
6411
|
do
|
|
6412
|
-
if (re--, oe--, oe < 0 ||
|
|
6412
|
+
if (re--, oe--, oe < 0 || N[re] !== de[oe]) {
|
|
6413
6413
|
var ye = `
|
|
6414
|
-
` +
|
|
6414
|
+
` + N[re].replace(" at new ", " at ");
|
|
6415
6415
|
return c.displayName && ye.includes("<anonymous>") && (ye = ye.replace("<anonymous>", c.displayName)), typeof c == "function" && J.set(c, ye), ye;
|
|
6416
6416
|
}
|
|
6417
6417
|
while (re >= 1 && oe >= 0);
|
|
@@ -6425,9 +6425,9 @@ function _m() {
|
|
|
6425
6425
|
return typeof c == "function" && J.set(c, Sn), Sn;
|
|
6426
6426
|
}
|
|
6427
6427
|
function _e(c, x, k) {
|
|
6428
|
-
return
|
|
6428
|
+
return O(c, !1);
|
|
6429
6429
|
}
|
|
6430
|
-
function
|
|
6430
|
+
function Oe(c) {
|
|
6431
6431
|
var x = c.prototype;
|
|
6432
6432
|
return !!(x && x.isReactComponent);
|
|
6433
6433
|
}
|
|
@@ -6435,7 +6435,7 @@ function _m() {
|
|
|
6435
6435
|
if (c == null)
|
|
6436
6436
|
return "";
|
|
6437
6437
|
if (typeof c == "function")
|
|
6438
|
-
return
|
|
6438
|
+
return O(c, Oe(c));
|
|
6439
6439
|
if (typeof c == "string")
|
|
6440
6440
|
return ee(c);
|
|
6441
6441
|
switch (c) {
|
|
@@ -6460,35 +6460,35 @@ function _m() {
|
|
|
6460
6460
|
}
|
|
6461
6461
|
return "";
|
|
6462
6462
|
}
|
|
6463
|
-
var Me = Object.prototype.hasOwnProperty, qt = {},
|
|
6464
|
-
function
|
|
6463
|
+
var Me = Object.prototype.hasOwnProperty, qt = {}, jt = E.ReactDebugCurrentFrame;
|
|
6464
|
+
function Ne(c) {
|
|
6465
6465
|
if (c) {
|
|
6466
6466
|
var x = c._owner, k = ze(c.type, c._source, x ? x.type : null);
|
|
6467
|
-
|
|
6467
|
+
jt.setExtraStackFrame(k);
|
|
6468
6468
|
} else
|
|
6469
|
-
|
|
6469
|
+
jt.setExtraStackFrame(null);
|
|
6470
6470
|
}
|
|
6471
6471
|
function no(c, x, k, P, U) {
|
|
6472
6472
|
{
|
|
6473
6473
|
var W = Function.call.bind(Me);
|
|
6474
6474
|
for (var F in c)
|
|
6475
6475
|
if (W(c, F)) {
|
|
6476
|
-
var
|
|
6476
|
+
var N = void 0;
|
|
6477
6477
|
try {
|
|
6478
6478
|
if (typeof c[F] != "function") {
|
|
6479
6479
|
var de = Error((P || "React class") + ": " + k + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
6480
6480
|
throw de.name = "Invariant Violation", de;
|
|
6481
6481
|
}
|
|
6482
|
-
|
|
6482
|
+
N = c[F](x, F, P, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
6483
6483
|
} catch (re) {
|
|
6484
|
-
|
|
6484
|
+
N = re;
|
|
6485
6485
|
}
|
|
6486
|
-
|
|
6486
|
+
N && !(N instanceof Error) && (Ne(U), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", k, F, typeof N), Ne(null)), N instanceof Error && !(N.message in qt) && (qt[N.message] = !0, Ne(U), y("Failed %s type: %s", k, N.message), Ne(null));
|
|
6487
6487
|
}
|
|
6488
6488
|
}
|
|
6489
6489
|
}
|
|
6490
6490
|
var ro = Array.isArray;
|
|
6491
|
-
function
|
|
6491
|
+
function Tt(c) {
|
|
6492
6492
|
return ro(c);
|
|
6493
6493
|
}
|
|
6494
6494
|
function oo(c) {
|
|
@@ -6563,7 +6563,7 @@ function _m() {
|
|
|
6563
6563
|
}
|
|
6564
6564
|
}
|
|
6565
6565
|
var po = function(c, x, k, P, U, W, F) {
|
|
6566
|
-
var
|
|
6566
|
+
var N = {
|
|
6567
6567
|
// This tag allows us to uniquely identify this as a React Element
|
|
6568
6568
|
$$typeof: t,
|
|
6569
6569
|
// Built-in properties that belong on the element
|
|
@@ -6574,27 +6574,27 @@ function _m() {
|
|
|
6574
6574
|
// Record the component responsible for creating this element.
|
|
6575
6575
|
_owner: W
|
|
6576
6576
|
};
|
|
6577
|
-
return
|
|
6577
|
+
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
6578
6578
|
configurable: !1,
|
|
6579
6579
|
enumerable: !1,
|
|
6580
6580
|
writable: !0,
|
|
6581
6581
|
value: !1
|
|
6582
|
-
}), Object.defineProperty(
|
|
6582
|
+
}), Object.defineProperty(N, "_self", {
|
|
6583
6583
|
configurable: !1,
|
|
6584
6584
|
enumerable: !1,
|
|
6585
6585
|
writable: !1,
|
|
6586
6586
|
value: P
|
|
6587
|
-
}), Object.defineProperty(
|
|
6587
|
+
}), Object.defineProperty(N, "_source", {
|
|
6588
6588
|
configurable: !1,
|
|
6589
6589
|
enumerable: !1,
|
|
6590
6590
|
writable: !1,
|
|
6591
6591
|
value: U
|
|
6592
|
-
}), Object.freeze && (Object.freeze(
|
|
6592
|
+
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
6593
6593
|
};
|
|
6594
6594
|
function ho(c, x, k, P, U) {
|
|
6595
6595
|
{
|
|
6596
|
-
var W, F = {},
|
|
6597
|
-
k !== void 0 && (vn(k),
|
|
6596
|
+
var W, F = {}, N = null, de = null;
|
|
6597
|
+
k !== void 0 && (vn(k), N = "" + k), lo(x) && (vn(x.key), N = "" + x.key), so(x) && (de = x.ref, co(x, U));
|
|
6598
6598
|
for (W in x)
|
|
6599
6599
|
Me.call(x, W) && !io.hasOwnProperty(W) && (F[W] = x[W]);
|
|
6600
6600
|
if (c && c.defaultProps) {
|
|
@@ -6602,15 +6602,15 @@ function _m() {
|
|
|
6602
6602
|
for (W in re)
|
|
6603
6603
|
F[W] === void 0 && (F[W] = re[W]);
|
|
6604
6604
|
}
|
|
6605
|
-
if (
|
|
6605
|
+
if (N || de) {
|
|
6606
6606
|
var oe = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
6607
|
-
|
|
6607
|
+
N && uo(F, oe), de && fo(F, oe);
|
|
6608
6608
|
}
|
|
6609
|
-
return po(c,
|
|
6609
|
+
return po(c, N, de, U, P, Ke.current, F);
|
|
6610
6610
|
}
|
|
6611
6611
|
}
|
|
6612
6612
|
var Mt = E.ReactCurrentOwner, bn = E.ReactDebugCurrentFrame;
|
|
6613
|
-
function
|
|
6613
|
+
function Ae(c) {
|
|
6614
6614
|
if (c) {
|
|
6615
6615
|
var x = c._owner, k = ze(c.type, c._source, x ? x.type : null);
|
|
6616
6616
|
bn.setExtraStackFrame(k);
|
|
@@ -6619,7 +6619,7 @@ function _m() {
|
|
|
6619
6619
|
}
|
|
6620
6620
|
var Pt;
|
|
6621
6621
|
Pt = !1;
|
|
6622
|
-
function
|
|
6622
|
+
function Ot(c) {
|
|
6623
6623
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
6624
6624
|
}
|
|
6625
6625
|
function Cn() {
|
|
@@ -6660,25 +6660,25 @@ Check the top-level render call using <` + k + ">.");
|
|
|
6660
6660
|
return;
|
|
6661
6661
|
xn[k] = !0;
|
|
6662
6662
|
var P = "";
|
|
6663
|
-
c && c._owner && c._owner !== Mt.current && (P = " It was passed a child from " + V(c._owner.type) + "."),
|
|
6663
|
+
c && c._owner && c._owner !== Mt.current && (P = " It was passed a child from " + V(c._owner.type) + "."), Ae(c), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, P), Ae(null);
|
|
6664
6664
|
}
|
|
6665
6665
|
}
|
|
6666
6666
|
function En(c, x) {
|
|
6667
6667
|
{
|
|
6668
6668
|
if (typeof c != "object")
|
|
6669
6669
|
return;
|
|
6670
|
-
if (
|
|
6670
|
+
if (Tt(c))
|
|
6671
6671
|
for (var k = 0; k < c.length; k++) {
|
|
6672
6672
|
var P = c[k];
|
|
6673
|
-
|
|
6673
|
+
Ot(P) && wn(P, x);
|
|
6674
6674
|
}
|
|
6675
|
-
else if (
|
|
6675
|
+
else if (Ot(c))
|
|
6676
6676
|
c._store && (c._store.validated = !0);
|
|
6677
6677
|
else if (c) {
|
|
6678
6678
|
var U = v(c);
|
|
6679
6679
|
if (typeof U == "function" && U !== c.entries)
|
|
6680
6680
|
for (var W = U.call(c), F; !(F = W.next()).done; )
|
|
6681
|
-
|
|
6681
|
+
Ot(F.value) && wn(F.value, x);
|
|
6682
6682
|
}
|
|
6683
6683
|
}
|
|
6684
6684
|
}
|
|
@@ -6712,23 +6712,23 @@ Check the top-level render call using <` + k + ">.");
|
|
|
6712
6712
|
for (var x = Object.keys(c.props), k = 0; k < x.length; k++) {
|
|
6713
6713
|
var P = x[k];
|
|
6714
6714
|
if (P !== "children" && P !== "key") {
|
|
6715
|
-
|
|
6715
|
+
Ae(c), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Ae(null);
|
|
6716
6716
|
break;
|
|
6717
6717
|
}
|
|
6718
6718
|
}
|
|
6719
|
-
c.ref !== null && (
|
|
6719
|
+
c.ref !== null && (Ae(c), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
|
|
6720
6720
|
}
|
|
6721
6721
|
}
|
|
6722
6722
|
function kn(c, x, k, P, U, W) {
|
|
6723
6723
|
{
|
|
6724
6724
|
var F = ne(c);
|
|
6725
6725
|
if (!F) {
|
|
6726
|
-
var
|
|
6727
|
-
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (
|
|
6726
|
+
var N = "";
|
|
6727
|
+
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
6728
6728
|
var de = mo();
|
|
6729
|
-
de ?
|
|
6729
|
+
de ? N += de : N += Cn();
|
|
6730
6730
|
var re;
|
|
6731
|
-
c === null ? re = "null" :
|
|
6731
|
+
c === null ? re = "null" : Tt(c) ? re = "array" : c !== void 0 && c.$$typeof === t ? (re = "<" + (V(c.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : re = typeof c, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", re, N);
|
|
6732
6732
|
}
|
|
6733
6733
|
var oe = ho(c, x, k, U, W);
|
|
6734
6734
|
if (oe == null)
|
|
@@ -6737,7 +6737,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
6737
6737
|
var ye = x.children;
|
|
6738
6738
|
if (ye !== void 0)
|
|
6739
6739
|
if (P)
|
|
6740
|
-
if (
|
|
6740
|
+
if (Tt(ye)) {
|
|
6741
6741
|
for (var De = 0; De < ye.length; De++)
|
|
6742
6742
|
En(ye[De], c);
|
|
6743
6743
|
Object.freeze && Object.freeze(ye);
|
|
@@ -6851,8 +6851,8 @@ const qm = ({ className: e }) => /* @__PURE__ */ f.jsx(
|
|
|
6851
6851
|
)
|
|
6852
6852
|
}
|
|
6853
6853
|
);
|
|
6854
|
-
var
|
|
6855
|
-
const
|
|
6854
|
+
var jm = { base: "axg5it1 axg5it0", back: "axg5it2 axg5it0" };
|
|
6855
|
+
const Tm = ({
|
|
6856
6856
|
children: e,
|
|
6857
6857
|
onClick: t,
|
|
6858
6858
|
className: n,
|
|
@@ -6864,7 +6864,7 @@ const jm = ({
|
|
|
6864
6864
|
{
|
|
6865
6865
|
"data-testid": a,
|
|
6866
6866
|
type: r,
|
|
6867
|
-
className: le("sid-link-button",
|
|
6867
|
+
className: le("sid-link-button", jm[o], n),
|
|
6868
6868
|
onClick: t,
|
|
6869
6869
|
children: [
|
|
6870
6870
|
o === "back" ? /* @__PURE__ */ f.jsx(qm, {}) : null,
|
|
@@ -6872,7 +6872,7 @@ const jm = ({
|
|
|
6872
6872
|
]
|
|
6873
6873
|
}
|
|
6874
6874
|
);
|
|
6875
|
-
var Rm = "_1c8zcyc0", Mm = "_1c8zcyc1", Pm = "_1c8zcyc2", mc = "_1c8zcyc3",
|
|
6875
|
+
var Rm = "_1c8zcyc0", Mm = "_1c8zcyc1", Pm = "_1c8zcyc2", mc = "_1c8zcyc3", Om = "_1c8zcyc4", Nm = { text: "_1c8zcyc6 _1c8zcyc5", email: "_1c8zcyc7 _1c8zcyc5", password: "_1c8zcyc8 _1c8zcyc5", tel: "_1c8zcyc9 _1c8zcyc5" }, Lm = "_1c8zcyca", Im = "_1c8zcycb";
|
|
6876
6876
|
const gc = ({
|
|
6877
6877
|
id: e,
|
|
6878
6878
|
name: t,
|
|
@@ -6890,7 +6890,7 @@ const gc = ({
|
|
|
6890
6890
|
},
|
|
6891
6891
|
[i]
|
|
6892
6892
|
);
|
|
6893
|
-
return /* @__PURE__ */ f.jsxs("div", { className:
|
|
6893
|
+
return /* @__PURE__ */ f.jsxs("div", { className: Nm[s], children: [
|
|
6894
6894
|
/* @__PURE__ */ f.jsx("label", { htmlFor: e, className: Lm, children: n }),
|
|
6895
6895
|
/* @__PURE__ */ f.jsx(
|
|
6896
6896
|
"input",
|
|
@@ -6925,7 +6925,7 @@ const gc = ({
|
|
|
6925
6925
|
"sid-input",
|
|
6926
6926
|
`sid-input--${a}`,
|
|
6927
6927
|
mc,
|
|
6928
|
-
s &&
|
|
6928
|
+
s && Om,
|
|
6929
6929
|
o
|
|
6930
6930
|
),
|
|
6931
6931
|
children: /* @__PURE__ */ f.jsx(
|
|
@@ -6949,7 +6949,7 @@ const gc = ({
|
|
|
6949
6949
|
}
|
|
6950
6950
|
|
|
6951
6951
|
.sid-theme-root__dark path { fill: white; }
|
|
6952
|
-
`,
|
|
6952
|
+
`, Am = () => /* @__PURE__ */ f.jsxs(
|
|
6953
6953
|
"svg",
|
|
6954
6954
|
{
|
|
6955
6955
|
width: "16",
|
|
@@ -7393,12 +7393,12 @@ const vc = ({ className: e }) => /* @__PURE__ */ f.jsx(
|
|
|
7393
7393
|
]
|
|
7394
7394
|
}
|
|
7395
7395
|
);
|
|
7396
|
-
var
|
|
7396
|
+
var jo = /* @__PURE__ */ new Map();
|
|
7397
7397
|
function hs(e) {
|
|
7398
|
-
if (
|
|
7399
|
-
return
|
|
7398
|
+
if (jo.has(e))
|
|
7399
|
+
return jo.get(e);
|
|
7400
7400
|
var t = Zm(e);
|
|
7401
|
-
return
|
|
7401
|
+
return jo.set(e, t), t;
|
|
7402
7402
|
}
|
|
7403
7403
|
var Zm = function() {
|
|
7404
7404
|
var e = null;
|
|
@@ -7733,7 +7733,7 @@ const rg = ({
|
|
|
7733
7733
|
className: le("sid-input", "sid-input--tel", mc, o),
|
|
7734
7734
|
children: [
|
|
7735
7735
|
i ? /* @__PURE__ */ f.jsxs("div", { className: Pm, children: [
|
|
7736
|
-
/* @__PURE__ */ f.jsxs("div", { className:
|
|
7736
|
+
/* @__PURE__ */ f.jsxs("div", { className: Im, children: [
|
|
7737
7737
|
/* @__PURE__ */ f.jsxs("div", { children: [
|
|
7738
7738
|
i.flag,
|
|
7739
7739
|
" ",
|
|
@@ -8186,7 +8186,7 @@ xg.propTypes = {
|
|
|
8186
8186
|
].includes(e.type) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : e.type === "multiple" && typeof t == "string" ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : e.type === "single" && Array.isArray(t) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null;
|
|
8187
8187
|
}
|
|
8188
8188
|
};
|
|
8189
|
-
const [
|
|
8189
|
+
const [jc, h2] = Vr(Jn), [Tc, m2] = Vr(Jn, {
|
|
8190
8190
|
collapsible: !1
|
|
8191
8191
|
}), wg = /* @__PURE__ */ Y.forwardRef((e, t) => {
|
|
8192
8192
|
const { value: n, defaultValue: r, onValueChange: o = () => {
|
|
@@ -8195,7 +8195,7 @@ const [Tc, h2] = Vr(Jn), [jc, m2] = Vr(Jn, {
|
|
|
8195
8195
|
defaultProp: r,
|
|
8196
8196
|
onChange: o
|
|
8197
8197
|
});
|
|
8198
|
-
return /* @__PURE__ */ Y.createElement(
|
|
8198
|
+
return /* @__PURE__ */ Y.createElement(jc, {
|
|
8199
8199
|
scope: e.__scopeAccordion,
|
|
8200
8200
|
value: s ? [
|
|
8201
8201
|
s
|
|
@@ -8208,7 +8208,7 @@ const [Tc, h2] = Vr(Jn), [jc, m2] = Vr(Jn, {
|
|
|
8208
8208
|
l
|
|
8209
8209
|
]
|
|
8210
8210
|
)
|
|
8211
|
-
}, /* @__PURE__ */ Y.createElement(
|
|
8211
|
+
}, /* @__PURE__ */ Y.createElement(Tc, {
|
|
8212
8212
|
scope: e.__scopeAccordion,
|
|
8213
8213
|
collapsible: a
|
|
8214
8214
|
}, /* @__PURE__ */ Y.createElement(Rc, ke({}, i, {
|
|
@@ -8240,12 +8240,12 @@ const [Tc, h2] = Vr(Jn), [jc, m2] = Vr(Jn, {
|
|
|
8240
8240
|
s
|
|
8241
8241
|
]
|
|
8242
8242
|
);
|
|
8243
|
-
return /* @__PURE__ */ Y.createElement(
|
|
8243
|
+
return /* @__PURE__ */ Y.createElement(jc, {
|
|
8244
8244
|
scope: e.__scopeAccordion,
|
|
8245
8245
|
value: i,
|
|
8246
8246
|
onItemOpen: l,
|
|
8247
8247
|
onItemClose: u
|
|
8248
|
-
}, /* @__PURE__ */ Y.createElement(
|
|
8248
|
+
}, /* @__PURE__ */ Y.createElement(Tc, {
|
|
8249
8249
|
scope: e.__scopeAccordion,
|
|
8250
8250
|
collapsible: !0
|
|
8251
8251
|
}, /* @__PURE__ */ Y.createElement(Rc, ke({}, a, {
|
|
@@ -8268,7 +8268,7 @@ const [Tc, h2] = Vr(Jn), [jc, m2] = Vr(Jn, {
|
|
|
8268
8268
|
let y = v;
|
|
8269
8269
|
const w = 0, S = E - 1, C = () => {
|
|
8270
8270
|
y = v + 1, y > S && (y = w);
|
|
8271
|
-
},
|
|
8271
|
+
}, T = () => {
|
|
8272
8272
|
y = v - 1, y < w && (y = S);
|
|
8273
8273
|
};
|
|
8274
8274
|
switch (_.key) {
|
|
@@ -8279,16 +8279,16 @@ const [Tc, h2] = Vr(Jn), [jc, m2] = Vr(Jn, {
|
|
|
8279
8279
|
y = S;
|
|
8280
8280
|
break;
|
|
8281
8281
|
case "ArrowRight":
|
|
8282
|
-
a === "horizontal" && (d ? C() :
|
|
8282
|
+
a === "horizontal" && (d ? C() : T());
|
|
8283
8283
|
break;
|
|
8284
8284
|
case "ArrowDown":
|
|
8285
8285
|
a === "vertical" && C();
|
|
8286
8286
|
break;
|
|
8287
8287
|
case "ArrowLeft":
|
|
8288
|
-
a === "horizontal" && (d ?
|
|
8288
|
+
a === "horizontal" && (d ? T() : C());
|
|
8289
8289
|
break;
|
|
8290
8290
|
case "ArrowUp":
|
|
8291
|
-
a === "vertical" &&
|
|
8291
|
+
a === "vertical" && T();
|
|
8292
8292
|
break;
|
|
8293
8293
|
}
|
|
8294
8294
|
const q = y % E;
|
|
@@ -8332,11 +8332,11 @@ function Mc(e, t, n) {
|
|
|
8332
8332
|
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
8333
8333
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
8334
8334
|
}
|
|
8335
|
-
var
|
|
8336
|
-
function
|
|
8335
|
+
var In = "right-scroll-bar-position", An = "width-before-scroll-bar", zg = "with-scroll-bars-hidden", qg = "--removed-body-scroll-bar-size";
|
|
8336
|
+
function jg(e, t) {
|
|
8337
8337
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
8338
8338
|
}
|
|
8339
|
-
function
|
|
8339
|
+
function Tg(e, t) {
|
|
8340
8340
|
var n = Ce(function() {
|
|
8341
8341
|
return {
|
|
8342
8342
|
// value
|
|
@@ -8358,9 +8358,9 @@ function jg(e, t) {
|
|
|
8358
8358
|
return n.callback = t, n.facade;
|
|
8359
8359
|
}
|
|
8360
8360
|
function Pc(e, t) {
|
|
8361
|
-
return
|
|
8361
|
+
return Tg(null, function(n) {
|
|
8362
8362
|
return e.forEach(function(r) {
|
|
8363
|
-
return
|
|
8363
|
+
return jg(r, n);
|
|
8364
8364
|
});
|
|
8365
8365
|
});
|
|
8366
8366
|
}
|
|
@@ -8422,12 +8422,12 @@ function Mg(e, t) {
|
|
|
8422
8422
|
};
|
|
8423
8423
|
return o;
|
|
8424
8424
|
}
|
|
8425
|
-
function
|
|
8425
|
+
function Oc(e) {
|
|
8426
8426
|
e === void 0 && (e = {});
|
|
8427
8427
|
var t = Mg(null);
|
|
8428
8428
|
return t.options = Re({ async: !0, ssr: !1 }, e), t;
|
|
8429
8429
|
}
|
|
8430
|
-
var
|
|
8430
|
+
var Nc = function(e) {
|
|
8431
8431
|
var t = e.sideCar, n = Ka(e, ["sideCar"]);
|
|
8432
8432
|
if (!t)
|
|
8433
8433
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
@@ -8436,21 +8436,21 @@ var Ac = function(e) {
|
|
|
8436
8436
|
throw new Error("Sidecar medium not found");
|
|
8437
8437
|
return g.createElement(r, Re({}, n));
|
|
8438
8438
|
};
|
|
8439
|
-
|
|
8439
|
+
Nc.isSideCarExport = !0;
|
|
8440
8440
|
function Lc(e, t) {
|
|
8441
|
-
return e.useMedium(t),
|
|
8441
|
+
return e.useMedium(t), Nc;
|
|
8442
8442
|
}
|
|
8443
|
-
var
|
|
8443
|
+
var Ic = Oc(), To = function() {
|
|
8444
8444
|
}, Wr = g.forwardRef(function(e, t) {
|
|
8445
8445
|
var n = g.useRef(null), r = g.useState({
|
|
8446
|
-
onScrollCapture:
|
|
8447
|
-
onWheelCapture:
|
|
8448
|
-
onTouchMoveCapture:
|
|
8446
|
+
onScrollCapture: To,
|
|
8447
|
+
onWheelCapture: To,
|
|
8448
|
+
onTouchMoveCapture: To
|
|
8449
8449
|
}), o = r[0], a = r[1], i = e.forwardProps, s = e.children, l = e.className, u = e.removeScrollBar, d = e.enabled, p = e.shards, _ = e.sideCar, m = e.noIsolation, b = e.inert, h = e.allowPinchZoom, v = e.as, E = v === void 0 ? "div" : v, y = Ka(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), w = _, S = Pc([n, t]), C = Re(Re({}, y), o);
|
|
8450
8450
|
return g.createElement(
|
|
8451
8451
|
g.Fragment,
|
|
8452
8452
|
null,
|
|
8453
|
-
d && g.createElement(w, { sideCar:
|
|
8453
|
+
d && g.createElement(w, { sideCar: Ic, removeScrollBar: u, shards: p, noIsolation: m, inert: b, setCallbacks: a, allowPinchZoom: !!h, lockRef: n }),
|
|
8454
8454
|
i ? g.cloneElement(g.Children.only(s), Re(Re({}, C), { ref: S })) : g.createElement(E, Re({}, C, { className: l, ref: S }), s)
|
|
8455
8455
|
);
|
|
8456
8456
|
});
|
|
@@ -8460,14 +8460,14 @@ Wr.defaultProps = {
|
|
|
8460
8460
|
inert: !1
|
|
8461
8461
|
};
|
|
8462
8462
|
Wr.classNames = {
|
|
8463
|
-
fullWidth:
|
|
8464
|
-
zeroRight:
|
|
8463
|
+
fullWidth: An,
|
|
8464
|
+
zeroRight: In
|
|
8465
8465
|
};
|
|
8466
8466
|
var Pg = function() {
|
|
8467
8467
|
if (typeof __webpack_nonce__ < "u")
|
|
8468
8468
|
return __webpack_nonce__;
|
|
8469
8469
|
};
|
|
8470
|
-
function
|
|
8470
|
+
function Og() {
|
|
8471
8471
|
if (!document)
|
|
8472
8472
|
return null;
|
|
8473
8473
|
var e = document.createElement("style");
|
|
@@ -8475,25 +8475,25 @@ function Ng() {
|
|
|
8475
8475
|
var t = Pg();
|
|
8476
8476
|
return t && e.setAttribute("nonce", t), e;
|
|
8477
8477
|
}
|
|
8478
|
-
function
|
|
8478
|
+
function Ng(e, t) {
|
|
8479
8479
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
8480
8480
|
}
|
|
8481
8481
|
function Lg(e) {
|
|
8482
8482
|
var t = document.head || document.getElementsByTagName("head")[0];
|
|
8483
8483
|
t.appendChild(e);
|
|
8484
8484
|
}
|
|
8485
|
-
var
|
|
8485
|
+
var Ig = function() {
|
|
8486
8486
|
var e = 0, t = null;
|
|
8487
8487
|
return {
|
|
8488
8488
|
add: function(n) {
|
|
8489
|
-
e == 0 && (t =
|
|
8489
|
+
e == 0 && (t = Og()) && (Ng(t, n), Lg(t)), e++;
|
|
8490
8490
|
},
|
|
8491
8491
|
remove: function() {
|
|
8492
8492
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
8493
8493
|
}
|
|
8494
8494
|
};
|
|
8495
|
-
},
|
|
8496
|
-
var e =
|
|
8495
|
+
}, Ag = function() {
|
|
8496
|
+
var e = Ig();
|
|
8497
8497
|
return function(t, n) {
|
|
8498
8498
|
g.useEffect(function() {
|
|
8499
8499
|
return e.add(t), function() {
|
|
@@ -8502,7 +8502,7 @@ var Og = function() {
|
|
|
8502
8502
|
}, [t && n]);
|
|
8503
8503
|
};
|
|
8504
8504
|
}, Za = function() {
|
|
8505
|
-
var e =
|
|
8505
|
+
var e = Ag(), t = function(n) {
|
|
8506
8506
|
var r = n.styles, o = n.dynamic;
|
|
8507
8507
|
return e(r, o), null;
|
|
8508
8508
|
};
|
|
@@ -8551,19 +8551,19 @@ var Og = function() {
|
|
|
8551
8551
|
].filter(Boolean).join(""), `
|
|
8552
8552
|
}
|
|
8553
8553
|
|
|
8554
|
-
.`).concat(
|
|
8554
|
+
.`).concat(In, ` {
|
|
8555
8555
|
right: `).concat(s, "px ").concat(r, `;
|
|
8556
8556
|
}
|
|
8557
8557
|
|
|
8558
|
-
.`).concat(
|
|
8558
|
+
.`).concat(An, ` {
|
|
8559
8559
|
margin-right: `).concat(s, "px ").concat(r, `;
|
|
8560
8560
|
}
|
|
8561
8561
|
|
|
8562
|
-
.`).concat(
|
|
8562
|
+
.`).concat(In, " .").concat(In, ` {
|
|
8563
8563
|
right: 0 `).concat(r, `;
|
|
8564
8564
|
}
|
|
8565
8565
|
|
|
8566
|
-
.`).concat(
|
|
8566
|
+
.`).concat(An, " .").concat(An, ` {
|
|
8567
8567
|
margin-right: 0 `).concat(r, `;
|
|
8568
8568
|
}
|
|
8569
8569
|
|
|
@@ -8581,7 +8581,7 @@ var Og = function() {
|
|
|
8581
8581
|
e <= 0 ? document.body.removeAttribute(en) : document.body.setAttribute(en, e.toString());
|
|
8582
8582
|
};
|
|
8583
8583
|
}, []);
|
|
8584
|
-
},
|
|
8584
|
+
}, Ac = function(e) {
|
|
8585
8585
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
|
|
8586
8586
|
Bg();
|
|
8587
8587
|
var a = g.useMemo(function() {
|
|
@@ -8693,13 +8693,13 @@ function tv(e) {
|
|
|
8693
8693
|
var s = g.useCallback(function(h, v) {
|
|
8694
8694
|
if ("touches" in h && h.touches.length === 2)
|
|
8695
8695
|
return !i.current.allowPinchZoom;
|
|
8696
|
-
var E = dr(h), y = n.current, w = "deltaX" in h ? h.deltaX : y[0] - E[0], S = "deltaY" in h ? h.deltaY : y[1] - E[1], C,
|
|
8697
|
-
if ("touches" in h && q === "h" &&
|
|
8696
|
+
var E = dr(h), y = n.current, w = "deltaX" in h ? h.deltaX : y[0] - E[0], S = "deltaY" in h ? h.deltaY : y[1] - E[1], C, T = h.target, q = Math.abs(w) > Math.abs(S) ? "h" : "v";
|
|
8697
|
+
if ("touches" in h && q === "h" && T.type === "range")
|
|
8698
8698
|
return !1;
|
|
8699
|
-
var D = vs(q,
|
|
8699
|
+
var D = vs(q, T);
|
|
8700
8700
|
if (!D)
|
|
8701
8701
|
return !0;
|
|
8702
|
-
if (D ? C = q : (C = q === "v" ? "h" : "v", D = vs(q,
|
|
8702
|
+
if (D ? C = q : (C = q === "v" ? "h" : "v", D = vs(q, T)), !D)
|
|
8703
8703
|
return !1;
|
|
8704
8704
|
if (!r.current && "changedTouches" in h && (w || S) && (r.current = C), !C)
|
|
8705
8705
|
return !0;
|
|
@@ -8752,10 +8752,10 @@ function tv(e) {
|
|
|
8752
8752
|
g.Fragment,
|
|
8753
8753
|
null,
|
|
8754
8754
|
b ? g.createElement(a, { styles: Qg(o) }) : null,
|
|
8755
|
-
m ? g.createElement(
|
|
8755
|
+
m ? g.createElement(Ac, { gapMode: "margin" }) : null
|
|
8756
8756
|
);
|
|
8757
8757
|
}
|
|
8758
|
-
const nv = Lc(
|
|
8758
|
+
const nv = Lc(Ic, tv);
|
|
8759
8759
|
var rv = g.forwardRef(function(e, t) {
|
|
8760
8760
|
return g.createElement(Wr, Re({}, e, { ref: t, sideCar: nv }));
|
|
8761
8761
|
});
|
|
@@ -8962,31 +8962,31 @@ var kv = (e) => function() {
|
|
|
8962
8962
|
}
|
|
8963
8963
|
}
|
|
8964
8964
|
var E = _ ? Po(Po({}, d), p) : l, y = function() {
|
|
8965
|
-
var C = E[w],
|
|
8965
|
+
var C = E[w], T = o[w];
|
|
8966
8966
|
try {
|
|
8967
|
-
if (
|
|
8967
|
+
if (T.mappings)
|
|
8968
8968
|
return "continue";
|
|
8969
8969
|
if (typeof C == "string" || typeof C == "number") {
|
|
8970
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
8970
|
+
if (process.env.NODE_ENV !== "production" && !T.values[C].defaultClass)
|
|
8971
8971
|
throw new Error();
|
|
8972
|
-
u.push(
|
|
8972
|
+
u.push(T.values[C].defaultClass);
|
|
8973
8973
|
} else if (Array.isArray(C))
|
|
8974
8974
|
for (var q = 0; q < C.length; q++) {
|
|
8975
8975
|
var D = C[q];
|
|
8976
8976
|
if (D != null) {
|
|
8977
|
-
var $ =
|
|
8978
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
8977
|
+
var $ = T.responsiveArray[q];
|
|
8978
|
+
if (process.env.NODE_ENV !== "production" && !T.values[D].conditions[$])
|
|
8979
8979
|
throw new Error();
|
|
8980
|
-
u.push(
|
|
8980
|
+
u.push(T.values[D].conditions[$]);
|
|
8981
8981
|
}
|
|
8982
8982
|
}
|
|
8983
8983
|
else
|
|
8984
8984
|
for (var ne in C) {
|
|
8985
8985
|
var te = C[ne];
|
|
8986
8986
|
if (te != null) {
|
|
8987
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
8987
|
+
if (process.env.NODE_ENV !== "production" && !T.values[te].conditions[ne])
|
|
8988
8988
|
throw new Error();
|
|
8989
|
-
u.push(
|
|
8989
|
+
u.push(T.values[te].conditions[ne]);
|
|
8990
8990
|
}
|
|
8991
8991
|
}
|
|
8992
8992
|
} catch (ae) {
|
|
@@ -8996,29 +8996,29 @@ var kv = (e) => function() {
|
|
|
8996
8996
|
super(M), this.name = "SprinklesError";
|
|
8997
8997
|
}
|
|
8998
8998
|
}
|
|
8999
|
-
var G = (
|
|
9000
|
-
throw new R('"'.concat(
|
|
8999
|
+
var G = (j) => typeof j == "string" ? '"'.concat(j, '"') : j, V = (j, M, B) => {
|
|
9000
|
+
throw new R('"'.concat(j, '" has no value ').concat(G(M), ". Possible values are ").concat(Object.keys(B).map(G).join(", ")));
|
|
9001
9001
|
};
|
|
9002
|
-
if (!
|
|
9002
|
+
if (!T)
|
|
9003
9003
|
throw new R('"'.concat(w, '" is not a valid sprinkle'));
|
|
9004
|
-
if ((typeof C == "string" || typeof C == "number") && (C in
|
|
9005
|
-
throw new R('"'.concat(w, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(
|
|
9004
|
+
if ((typeof C == "string" || typeof C == "number") && (C in T.values || V(w, C, T.values), !T.values[C].defaultClass))
|
|
9005
|
+
throw new R('"'.concat(w, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(T.values[C].conditions).map(G).join(", ")));
|
|
9006
9006
|
if (typeof C == "object") {
|
|
9007
|
-
if (!("conditions" in
|
|
9007
|
+
if (!("conditions" in T.values[Object.keys(T.values)[0]]))
|
|
9008
9008
|
throw new R('"'.concat(w, '" is not a conditional property'));
|
|
9009
9009
|
if (Array.isArray(C)) {
|
|
9010
|
-
if (!("responsiveArray" in
|
|
9010
|
+
if (!("responsiveArray" in T))
|
|
9011
9011
|
throw new R('"'.concat(w, '" does not support responsive arrays'));
|
|
9012
|
-
var
|
|
9013
|
-
if (
|
|
9014
|
-
throw new R('"'.concat(w, '" only supports up to ').concat(
|
|
9012
|
+
var A = T.responsiveArray.length;
|
|
9013
|
+
if (A < C.length)
|
|
9014
|
+
throw new R('"'.concat(w, '" only supports up to ').concat(A, " breakpoints. You passed ").concat(C.length));
|
|
9015
9015
|
for (var X of C)
|
|
9016
|
-
|
|
9016
|
+
T.values[X] || V(w, X, T.values);
|
|
9017
9017
|
} else
|
|
9018
9018
|
for (var H in C) {
|
|
9019
9019
|
var Z = C[H];
|
|
9020
|
-
if (Z != null && (
|
|
9021
|
-
throw new R('"'.concat(w, '" has no condition named ').concat(G(H), ". Possible values are ").concat(Object.keys(
|
|
9020
|
+
if (Z != null && (T.values[Z] || V(w, Z, T.values), !T.values[Z].conditions[H]))
|
|
9021
|
+
throw new R('"'.concat(w, '" has no condition named ').concat(G(H), ". Possible values are ").concat(Object.keys(T.values[Z].conditions).map(G).join(", ")));
|
|
9022
9022
|
}
|
|
9023
9023
|
}
|
|
9024
9024
|
}
|
|
@@ -9035,22 +9035,22 @@ var kv = (e) => function() {
|
|
|
9035
9035
|
}, Sv = (e) => e, zv = function() {
|
|
9036
9036
|
return kv(Sv)(...arguments);
|
|
9037
9037
|
}, ut = zv({ conditions: { defaultCondition: "lightMode", conditionNames: ["lightMode", "darkMode"], responsiveArray: void 0 }, styles: { color: { values: { background: { conditions: { lightMode: "kqvzqt0", darkMode: "kqvzqt1" }, defaultClass: "kqvzqt0" }, mute: { conditions: { lightMode: "kqvzqt2", darkMode: "kqvzqt3" }, defaultClass: "kqvzqt2" }, panel: { conditions: { lightMode: "kqvzqt4", darkMode: "kqvzqt5" }, defaultClass: "kqvzqt4" }, foreground: { conditions: { lightMode: "kqvzqt6", darkMode: "kqvzqt7" }, defaultClass: "kqvzqt6" }, contrast: { conditions: { lightMode: "kqvzqt8", darkMode: "kqvzqt9" }, defaultClass: "kqvzqt8" }, secondary: { conditions: { lightMode: "kqvzqta", darkMode: "kqvzqtb" }, defaultClass: "kqvzqta" }, tertiary: { conditions: { lightMode: "kqvzqtc", darkMode: "kqvzqtd" }, defaultClass: "kqvzqtc" }, placeholder: { conditions: { lightMode: "kqvzqte", darkMode: "kqvzqtf" }, defaultClass: "kqvzqte" }, smooth: { conditions: { lightMode: "kqvzqtg", darkMode: "kqvzqth" }, defaultClass: "kqvzqtg" }, subtle: { conditions: { lightMode: "kqvzqti", darkMode: "kqvzqtj" }, defaultClass: "kqvzqti" }, soft: { conditions: { lightMode: "kqvzqtk", darkMode: "kqvzqtl" }, defaultClass: "kqvzqtk" }, offset: { conditions: { lightMode: "kqvzqtm", darkMode: "kqvzqtn" }, defaultClass: "kqvzqtm" }, primary: { conditions: { lightMode: "kqvzqto", darkMode: "kqvzqtp" }, defaultClass: "kqvzqto" }, primaryHover: { conditions: { lightMode: "kqvzqtq", darkMode: "kqvzqtr" }, defaultClass: "kqvzqtq" }, transparent: { conditions: { lightMode: "kqvzqts", darkMode: "kqvzqtt" }, defaultClass: "kqvzqts" }, error: { conditions: { lightMode: "kqvzqtu", darkMode: "kqvzqtv" }, defaultClass: "kqvzqtu" }, auxiliary: { conditions: { lightMode: "kqvzqtw", darkMode: "kqvzqtx" }, defaultClass: "kqvzqtw" }, success: { conditions: { lightMode: "kqvzqty", darkMode: "kqvzqtz" }, defaultClass: "kqvzqty" }, foregroundSuccess: { conditions: { lightMode: "kqvzqt10", darkMode: "kqvzqt11" }, defaultClass: "kqvzqt10" }, backgroundSuccess: { conditions: { lightMode: "kqvzqt12", darkMode: "kqvzqt13" }, defaultClass: "kqvzqt12" }, failure: { conditions: { lightMode: "kqvzqt14", darkMode: "kqvzqt15" }, defaultClass: "kqvzqt14" }, foregroundFailure: { conditions: { lightMode: "kqvzqt16", darkMode: "kqvzqt17" }, defaultClass: "kqvzqt16" }, backgroundFailure: { conditions: { lightMode: "kqvzqt18", darkMode: "kqvzqt19" }, defaultClass: "kqvzqt18" } } }, backgroundColor: { values: { background: { conditions: { lightMode: "kqvzqt1a", darkMode: "kqvzqt1b" }, defaultClass: "kqvzqt1a" }, mute: { conditions: { lightMode: "kqvzqt1c", darkMode: "kqvzqt1d" }, defaultClass: "kqvzqt1c" }, panel: { conditions: { lightMode: "kqvzqt1e", darkMode: "kqvzqt1f" }, defaultClass: "kqvzqt1e" }, foreground: { conditions: { lightMode: "kqvzqt1g", darkMode: "kqvzqt1h" }, defaultClass: "kqvzqt1g" }, contrast: { conditions: { lightMode: "kqvzqt1i", darkMode: "kqvzqt1j" }, defaultClass: "kqvzqt1i" }, secondary: { conditions: { lightMode: "kqvzqt1k", darkMode: "kqvzqt1l" }, defaultClass: "kqvzqt1k" }, tertiary: { conditions: { lightMode: "kqvzqt1m", darkMode: "kqvzqt1n" }, defaultClass: "kqvzqt1m" }, placeholder: { conditions: { lightMode: "kqvzqt1o", darkMode: "kqvzqt1p" }, defaultClass: "kqvzqt1o" }, smooth: { conditions: { lightMode: "kqvzqt1q", darkMode: "kqvzqt1r" }, defaultClass: "kqvzqt1q" }, subtle: { conditions: { lightMode: "kqvzqt1s", darkMode: "kqvzqt1t" }, defaultClass: "kqvzqt1s" }, soft: { conditions: { lightMode: "kqvzqt1u", darkMode: "kqvzqt1v" }, defaultClass: "kqvzqt1u" }, offset: { conditions: { lightMode: "kqvzqt1w", darkMode: "kqvzqt1x" }, defaultClass: "kqvzqt1w" }, primary: { conditions: { lightMode: "kqvzqt1y", darkMode: "kqvzqt1z" }, defaultClass: "kqvzqt1y" }, primaryHover: { conditions: { lightMode: "kqvzqt20", darkMode: "kqvzqt21" }, defaultClass: "kqvzqt20" }, transparent: { conditions: { lightMode: "kqvzqt22", darkMode: "kqvzqt23" }, defaultClass: "kqvzqt22" }, error: { conditions: { lightMode: "kqvzqt24", darkMode: "kqvzqt25" }, defaultClass: "kqvzqt24" }, auxiliary: { conditions: { lightMode: "kqvzqt26", darkMode: "kqvzqt27" }, defaultClass: "kqvzqt26" }, success: { conditions: { lightMode: "kqvzqt28", darkMode: "kqvzqt29" }, defaultClass: "kqvzqt28" }, foregroundSuccess: { conditions: { lightMode: "kqvzqt2a", darkMode: "kqvzqt2b" }, defaultClass: "kqvzqt2a" }, backgroundSuccess: { conditions: { lightMode: "kqvzqt2c", darkMode: "kqvzqt2d" }, defaultClass: "kqvzqt2c" }, failure: { conditions: { lightMode: "kqvzqt2e", darkMode: "kqvzqt2f" }, defaultClass: "kqvzqt2e" }, foregroundFailure: { conditions: { lightMode: "kqvzqt2g", darkMode: "kqvzqt2h" }, defaultClass: "kqvzqt2g" }, backgroundFailure: { conditions: { lightMode: "kqvzqt2i", darkMode: "kqvzqt2j" }, defaultClass: "kqvzqt2i" } } } } }, { conditions: void 0, styles: { marginY: { mappings: ["marginTop", "marginBottom"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, gap: { values: { 0: { defaultClass: "kqvzqt2k" }, 1: { defaultClass: "kqvzqt2l" }, 2: { defaultClass: "kqvzqt2m" }, 3: { defaultClass: "kqvzqt2n" }, 4: { defaultClass: "kqvzqt2o" }, 5: { defaultClass: "kqvzqt2p" }, 6: { defaultClass: "kqvzqt2q" }, 7: { defaultClass: "kqvzqt2r" }, 8: { defaultClass: "kqvzqt2s" }, 9: { defaultClass: "kqvzqt2t" }, 10: { defaultClass: "kqvzqt2u" }, 11: { defaultClass: "kqvzqt2v" }, 12: { defaultClass: "kqvzqt2w" }, 13: { defaultClass: "kqvzqt2x" }, 14: { defaultClass: "kqvzqt2y" }, 15: { defaultClass: "kqvzqt2z" }, 16: { defaultClass: "kqvzqt30" }, 20: { defaultClass: "kqvzqt31" }, 24: { defaultClass: "kqvzqt32" }, 28: { defaultClass: "kqvzqt33" }, 32: { defaultClass: "kqvzqt34" }, 36: { defaultClass: "kqvzqt35" }, 40: { defaultClass: "kqvzqt36" }, 44: { defaultClass: "kqvzqt37" }, 48: { defaultClass: "kqvzqt38" }, 52: { defaultClass: "kqvzqt39" }, 56: { defaultClass: "kqvzqt3a" }, 60: { defaultClass: "kqvzqt3b" }, 64: { defaultClass: "kqvzqt3c" }, 68: { defaultClass: "kqvzqt3d" }, 72: { defaultClass: "kqvzqt3e" }, 76: { defaultClass: "kqvzqt3f" }, 80: { defaultClass: "kqvzqt3g" }, 96: { defaultClass: "kqvzqt3h" }, px: { defaultClass: "kqvzqt3i" }, "0.25": { defaultClass: "kqvzqt3j" }, "0.5": { defaultClass: "kqvzqt3k" }, "0.75": { defaultClass: "kqvzqt3l" }, "1.5": { defaultClass: "kqvzqt3m" }, "2.5": { defaultClass: "kqvzqt3n" }, "3.5": { defaultClass: "kqvzqt3o" } } }, marginTop: { values: { 0: { defaultClass: "kqvzqt3p" }, 1: { defaultClass: "kqvzqt3q" }, 2: { defaultClass: "kqvzqt3r" }, 3: { defaultClass: "kqvzqt3s" }, 4: { defaultClass: "kqvzqt3t" }, 5: { defaultClass: "kqvzqt3u" }, 6: { defaultClass: "kqvzqt3v" }, 7: { defaultClass: "kqvzqt3w" }, 8: { defaultClass: "kqvzqt3x" }, 9: { defaultClass: "kqvzqt3y" }, 10: { defaultClass: "kqvzqt3z" }, 11: { defaultClass: "kqvzqt40" }, 12: { defaultClass: "kqvzqt41" }, 13: { defaultClass: "kqvzqt42" }, 14: { defaultClass: "kqvzqt43" }, 15: { defaultClass: "kqvzqt44" }, 16: { defaultClass: "kqvzqt45" }, 20: { defaultClass: "kqvzqt46" }, 24: { defaultClass: "kqvzqt47" }, 28: { defaultClass: "kqvzqt48" }, 32: { defaultClass: "kqvzqt49" }, 36: { defaultClass: "kqvzqt4a" }, 40: { defaultClass: "kqvzqt4b" }, 44: { defaultClass: "kqvzqt4c" }, 48: { defaultClass: "kqvzqt4d" }, 52: { defaultClass: "kqvzqt4e" }, 56: { defaultClass: "kqvzqt4f" }, 60: { defaultClass: "kqvzqt4g" }, 64: { defaultClass: "kqvzqt4h" }, 68: { defaultClass: "kqvzqt4i" }, 72: { defaultClass: "kqvzqt4j" }, 76: { defaultClass: "kqvzqt4k" }, 80: { defaultClass: "kqvzqt4l" }, 96: { defaultClass: "kqvzqt4m" }, px: { defaultClass: "kqvzqt4n" }, "0.25": { defaultClass: "kqvzqt4o" }, "0.5": { defaultClass: "kqvzqt4p" }, "0.75": { defaultClass: "kqvzqt4q" }, "1.5": { defaultClass: "kqvzqt4r" }, "2.5": { defaultClass: "kqvzqt4s" }, "3.5": { defaultClass: "kqvzqt4t" } } }, marginBottom: { values: { 0: { defaultClass: "kqvzqt4u" }, 1: { defaultClass: "kqvzqt4v" }, 2: { defaultClass: "kqvzqt4w" }, 3: { defaultClass: "kqvzqt4x" }, 4: { defaultClass: "kqvzqt4y" }, 5: { defaultClass: "kqvzqt4z" }, 6: { defaultClass: "kqvzqt50" }, 7: { defaultClass: "kqvzqt51" }, 8: { defaultClass: "kqvzqt52" }, 9: { defaultClass: "kqvzqt53" }, 10: { defaultClass: "kqvzqt54" }, 11: { defaultClass: "kqvzqt55" }, 12: { defaultClass: "kqvzqt56" }, 13: { defaultClass: "kqvzqt57" }, 14: { defaultClass: "kqvzqt58" }, 15: { defaultClass: "kqvzqt59" }, 16: { defaultClass: "kqvzqt5a" }, 20: { defaultClass: "kqvzqt5b" }, 24: { defaultClass: "kqvzqt5c" }, 28: { defaultClass: "kqvzqt5d" }, 32: { defaultClass: "kqvzqt5e" }, 36: { defaultClass: "kqvzqt5f" }, 40: { defaultClass: "kqvzqt5g" }, 44: { defaultClass: "kqvzqt5h" }, 48: { defaultClass: "kqvzqt5i" }, 52: { defaultClass: "kqvzqt5j" }, 56: { defaultClass: "kqvzqt5k" }, 60: { defaultClass: "kqvzqt5l" }, 64: { defaultClass: "kqvzqt5m" }, 68: { defaultClass: "kqvzqt5n" }, 72: { defaultClass: "kqvzqt5o" }, 76: { defaultClass: "kqvzqt5p" }, 80: { defaultClass: "kqvzqt5q" }, 96: { defaultClass: "kqvzqt5r" }, px: { defaultClass: "kqvzqt5s" }, "0.25": { defaultClass: "kqvzqt5t" }, "0.5": { defaultClass: "kqvzqt5u" }, "0.75": { defaultClass: "kqvzqt5v" }, "1.5": { defaultClass: "kqvzqt5w" }, "2.5": { defaultClass: "kqvzqt5x" }, "3.5": { defaultClass: "kqvzqt5y" } } }, marginLeft: { values: { 0: { defaultClass: "kqvzqt5z" }, 1: { defaultClass: "kqvzqt60" }, 2: { defaultClass: "kqvzqt61" }, 3: { defaultClass: "kqvzqt62" }, 4: { defaultClass: "kqvzqt63" }, 5: { defaultClass: "kqvzqt64" }, 6: { defaultClass: "kqvzqt65" }, 7: { defaultClass: "kqvzqt66" }, 8: { defaultClass: "kqvzqt67" }, 9: { defaultClass: "kqvzqt68" }, 10: { defaultClass: "kqvzqt69" }, 11: { defaultClass: "kqvzqt6a" }, 12: { defaultClass: "kqvzqt6b" }, 13: { defaultClass: "kqvzqt6c" }, 14: { defaultClass: "kqvzqt6d" }, 15: { defaultClass: "kqvzqt6e" }, 16: { defaultClass: "kqvzqt6f" }, 20: { defaultClass: "kqvzqt6g" }, 24: { defaultClass: "kqvzqt6h" }, 28: { defaultClass: "kqvzqt6i" }, 32: { defaultClass: "kqvzqt6j" }, 36: { defaultClass: "kqvzqt6k" }, 40: { defaultClass: "kqvzqt6l" }, 44: { defaultClass: "kqvzqt6m" }, 48: { defaultClass: "kqvzqt6n" }, 52: { defaultClass: "kqvzqt6o" }, 56: { defaultClass: "kqvzqt6p" }, 60: { defaultClass: "kqvzqt6q" }, 64: { defaultClass: "kqvzqt6r" }, 68: { defaultClass: "kqvzqt6s" }, 72: { defaultClass: "kqvzqt6t" }, 76: { defaultClass: "kqvzqt6u" }, 80: { defaultClass: "kqvzqt6v" }, 96: { defaultClass: "kqvzqt6w" }, px: { defaultClass: "kqvzqt6x" }, "0.25": { defaultClass: "kqvzqt6y" }, "0.5": { defaultClass: "kqvzqt6z" }, "0.75": { defaultClass: "kqvzqt70" }, "1.5": { defaultClass: "kqvzqt71" }, "2.5": { defaultClass: "kqvzqt72" }, "3.5": { defaultClass: "kqvzqt73" } } }, marginRight: { values: { 0: { defaultClass: "kqvzqt74" }, 1: { defaultClass: "kqvzqt75" }, 2: { defaultClass: "kqvzqt76" }, 3: { defaultClass: "kqvzqt77" }, 4: { defaultClass: "kqvzqt78" }, 5: { defaultClass: "kqvzqt79" }, 6: { defaultClass: "kqvzqt7a" }, 7: { defaultClass: "kqvzqt7b" }, 8: { defaultClass: "kqvzqt7c" }, 9: { defaultClass: "kqvzqt7d" }, 10: { defaultClass: "kqvzqt7e" }, 11: { defaultClass: "kqvzqt7f" }, 12: { defaultClass: "kqvzqt7g" }, 13: { defaultClass: "kqvzqt7h" }, 14: { defaultClass: "kqvzqt7i" }, 15: { defaultClass: "kqvzqt7j" }, 16: { defaultClass: "kqvzqt7k" }, 20: { defaultClass: "kqvzqt7l" }, 24: { defaultClass: "kqvzqt7m" }, 28: { defaultClass: "kqvzqt7n" }, 32: { defaultClass: "kqvzqt7o" }, 36: { defaultClass: "kqvzqt7p" }, 40: { defaultClass: "kqvzqt7q" }, 44: { defaultClass: "kqvzqt7r" }, 48: { defaultClass: "kqvzqt7s" }, 52: { defaultClass: "kqvzqt7t" }, 56: { defaultClass: "kqvzqt7u" }, 60: { defaultClass: "kqvzqt7v" }, 64: { defaultClass: "kqvzqt7w" }, 68: { defaultClass: "kqvzqt7x" }, 72: { defaultClass: "kqvzqt7y" }, 76: { defaultClass: "kqvzqt7z" }, 80: { defaultClass: "kqvzqt80" }, 96: { defaultClass: "kqvzqt81" }, px: { defaultClass: "kqvzqt82" }, "0.25": { defaultClass: "kqvzqt83" }, "0.5": { defaultClass: "kqvzqt84" }, "0.75": { defaultClass: "kqvzqt85" }, "1.5": { defaultClass: "kqvzqt86" }, "2.5": { defaultClass: "kqvzqt87" }, "3.5": { defaultClass: "kqvzqt88" } } } } }), qv = Cv({ defaultClassName: "_1qam6z30", variantClassNames: { size: { xs: "_1qam6z31", sm: "_1qam6z32", base: "_1qam6z33", xl: "_1qam6z34", "2xl-title": "_1qam6z35" }, weight: { medium: "_1qam6z36", semibold: "_1qam6z37", bold: "_1qam6z38" }, color: { contrast: "_1qam6z39", tertiary: "_1qam6z3a", placeholder: "_1qam6z3b", white: "_1qam6z3c", success: "_1qam6z3d", failure: "_1qam6z3e" } }, defaultVariants: { size: "base", weight: "medium" }, compoundVariants: [] });
|
|
9038
|
-
const
|
|
9038
|
+
const jv = {
|
|
9039
9039
|
text: {}
|
|
9040
|
-
}, Wc = at(
|
|
9040
|
+
}, Wc = at(jv);
|
|
9041
9041
|
Wc.displayName = "SlashIDTextContext";
|
|
9042
|
-
function
|
|
9042
|
+
function Tv() {
|
|
9043
9043
|
const { text: e } = Y.useContext(Wc);
|
|
9044
9044
|
return e;
|
|
9045
9045
|
}
|
|
9046
|
-
const
|
|
9046
|
+
const Oo = {
|
|
9047
9047
|
opening: "{{",
|
|
9048
9048
|
closing: "}}"
|
|
9049
9049
|
};
|
|
9050
9050
|
function Rv(e, t) {
|
|
9051
|
-
return e.includes(
|
|
9051
|
+
return e.includes(Oo.opening) ? Object.keys(t).reduce(
|
|
9052
9052
|
(n, r) => n.replace(
|
|
9053
|
-
`${
|
|
9053
|
+
`${Oo.opening}${r}${Oo.closing}`,
|
|
9054
9054
|
t[r]
|
|
9055
9055
|
),
|
|
9056
9056
|
e
|
|
@@ -9064,7 +9064,7 @@ const Mv = ({
|
|
|
9064
9064
|
className: o,
|
|
9065
9065
|
children: a
|
|
9066
9066
|
}) => {
|
|
9067
|
-
const i =
|
|
9067
|
+
const i = Tv(), s = e || "p", l = qe(() => t ? n ? Rv(i[t], n) : i[t] : null, [t, i, n]);
|
|
9068
9068
|
return /* @__PURE__ */ f.jsxs(
|
|
9069
9069
|
s,
|
|
9070
9070
|
{
|
|
@@ -9164,11 +9164,11 @@ function Gc(...e) {
|
|
|
9164
9164
|
};
|
|
9165
9165
|
};
|
|
9166
9166
|
}
|
|
9167
|
-
function
|
|
9167
|
+
function Te(...e) {
|
|
9168
9168
|
return g.useCallback(Gc(...e), e);
|
|
9169
9169
|
}
|
|
9170
9170
|
var Vn = g.forwardRef((e, t) => {
|
|
9171
|
-
const { children: n, ...r } = e, o = g.Children.toArray(n), a = o.find(
|
|
9171
|
+
const { children: n, ...r } = e, o = g.Children.toArray(n), a = o.find(Nv);
|
|
9172
9172
|
if (a) {
|
|
9173
9173
|
const i = a.props.children, s = o.map((l) => l === a ? g.Children.count(i) > 1 ? g.Children.only(null) : g.isValidElement(i) ? i.props.children : null : l);
|
|
9174
9174
|
return /* @__PURE__ */ f.jsx(da, { ...r, ref: t, children: g.isValidElement(i) ? g.cloneElement(i, void 0, s) : null });
|
|
@@ -9179,7 +9179,7 @@ Vn.displayName = "Slot";
|
|
|
9179
9179
|
var da = g.forwardRef((e, t) => {
|
|
9180
9180
|
const { children: n, ...r } = e;
|
|
9181
9181
|
if (g.isValidElement(n)) {
|
|
9182
|
-
const o =
|
|
9182
|
+
const o = Iv(n);
|
|
9183
9183
|
return g.cloneElement(n, {
|
|
9184
9184
|
...Lv(r, n.props),
|
|
9185
9185
|
// @ts-ignore
|
|
@@ -9189,9 +9189,9 @@ var da = g.forwardRef((e, t) => {
|
|
|
9189
9189
|
return g.Children.count(n) > 1 ? g.Children.only(null) : null;
|
|
9190
9190
|
});
|
|
9191
9191
|
da.displayName = "SlotClone";
|
|
9192
|
-
var
|
|
9193
|
-
function
|
|
9194
|
-
return g.isValidElement(e) && e.type ===
|
|
9192
|
+
var Ov = ({ children: e }) => /* @__PURE__ */ f.jsx(f.Fragment, { children: e });
|
|
9193
|
+
function Nv(e) {
|
|
9194
|
+
return g.isValidElement(e) && e.type === Ov;
|
|
9195
9195
|
}
|
|
9196
9196
|
function Lv(e, t) {
|
|
9197
9197
|
const n = { ...t };
|
|
@@ -9203,12 +9203,12 @@ function Lv(e, t) {
|
|
|
9203
9203
|
}
|
|
9204
9204
|
return { ...e, ...n };
|
|
9205
9205
|
}
|
|
9206
|
-
function
|
|
9206
|
+
function Iv(e) {
|
|
9207
9207
|
var t, n;
|
|
9208
9208
|
let r = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = r && "isReactWarning" in r && r.isReactWarning;
|
|
9209
9209
|
return o ? e.ref : (r = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, o = r && "isReactWarning" in r && r.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
9210
9210
|
}
|
|
9211
|
-
function
|
|
9211
|
+
function Av(e) {
|
|
9212
9212
|
const t = e + "CollectionProvider", [n, r] = Xa(t), [o, a] = n(
|
|
9213
9213
|
t,
|
|
9214
9214
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
@@ -9219,14 +9219,14 @@ function Iv(e) {
|
|
|
9219
9219
|
i.displayName = t;
|
|
9220
9220
|
const s = e + "CollectionSlot", l = Y.forwardRef(
|
|
9221
9221
|
(m, b) => {
|
|
9222
|
-
const { scope: h, children: v } = m, E = a(s, h), y =
|
|
9222
|
+
const { scope: h, children: v } = m, E = a(s, h), y = Te(b, E.collectionRef);
|
|
9223
9223
|
return /* @__PURE__ */ f.jsx(Vn, { ref: y, children: v });
|
|
9224
9224
|
}
|
|
9225
9225
|
);
|
|
9226
9226
|
l.displayName = s;
|
|
9227
9227
|
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", p = Y.forwardRef(
|
|
9228
9228
|
(m, b) => {
|
|
9229
|
-
const { scope: h, children: v, ...E } = m, y = Y.useRef(null), w =
|
|
9229
|
+
const { scope: h, children: v, ...E } = m, y = Y.useRef(null), w = Te(b, y), S = a(u, h);
|
|
9230
9230
|
return Y.useEffect(() => (S.itemMap.set(y, { ref: y, ...E }), () => void S.itemMap.delete(y))), /* @__PURE__ */ f.jsx(Vn, { [d]: "", ref: w, children: v });
|
|
9231
9231
|
}
|
|
9232
9232
|
);
|
|
@@ -9279,7 +9279,7 @@ var $v = [
|
|
|
9279
9279
|
return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
|
|
9280
9280
|
}, {});
|
|
9281
9281
|
function Hv(e, t) {
|
|
9282
|
-
e &&
|
|
9282
|
+
e && Or.flushSync(() => e.dispatchEvent(t));
|
|
9283
9283
|
}
|
|
9284
9284
|
function pt(e) {
|
|
9285
9285
|
const t = g.useRef(e);
|
|
@@ -9313,10 +9313,10 @@ var Bv = "DismissableLayer", fa = "dismissableLayer.update", Vv = "dismissableLa
|
|
|
9313
9313
|
onInteractOutside: i,
|
|
9314
9314
|
onDismiss: s,
|
|
9315
9315
|
...l
|
|
9316
|
-
} = e, u = g.useContext(Yc), [d, p] = g.useState(null), _ = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = g.useState({}), b =
|
|
9316
|
+
} = e, u = g.useContext(Yc), [d, p] = g.useState(null), _ = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = g.useState({}), b = Te(t, (q) => p(q)), h = Array.from(u.layers), [v] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), E = h.indexOf(v), y = d ? h.indexOf(d) : -1, w = u.layersWithOutsidePointerEventsDisabled.size > 0, S = y >= E, C = Kv((q) => {
|
|
9317
9317
|
const D = q.target, $ = [...u.branches].some((ne) => ne.contains(D));
|
|
9318
9318
|
!S || $ || (o == null || o(q), i == null || i(q), q.defaultPrevented || s == null || s());
|
|
9319
|
-
}, _),
|
|
9319
|
+
}, _), T = Zv((q) => {
|
|
9320
9320
|
const D = q.target;
|
|
9321
9321
|
[...u.branches].some(($) => $.contains(D)) || (a == null || a(q), i == null || i(q), q.defaultPrevented || s == null || s());
|
|
9322
9322
|
}, _);
|
|
@@ -9341,8 +9341,8 @@ var Bv = "DismissableLayer", fa = "dismissableLayer.update", Vv = "dismissableLa
|
|
|
9341
9341
|
pointerEvents: w ? S ? "auto" : "none" : void 0,
|
|
9342
9342
|
...e.style
|
|
9343
9343
|
},
|
|
9344
|
-
onFocusCapture: be(e.onFocusCapture,
|
|
9345
|
-
onBlurCapture: be(e.onBlurCapture,
|
|
9344
|
+
onFocusCapture: be(e.onFocusCapture, T.onFocusCapture),
|
|
9345
|
+
onBlurCapture: be(e.onBlurCapture, T.onBlurCapture),
|
|
9346
9346
|
onPointerDownCapture: be(
|
|
9347
9347
|
e.onPointerDownCapture,
|
|
9348
9348
|
C.onPointerDownCapture
|
|
@@ -9353,7 +9353,7 @@ var Bv = "DismissableLayer", fa = "dismissableLayer.update", Vv = "dismissableLa
|
|
|
9353
9353
|
);
|
|
9354
9354
|
Kc.displayName = Bv;
|
|
9355
9355
|
var Gv = "DismissableLayerBranch", Yv = g.forwardRef((e, t) => {
|
|
9356
|
-
const n = g.useContext(Yc), r = g.useRef(null), o =
|
|
9356
|
+
const n = g.useContext(Yc), r = g.useRef(null), o = Te(t, r);
|
|
9357
9357
|
return g.useEffect(() => {
|
|
9358
9358
|
const a = r.current;
|
|
9359
9359
|
if (a)
|
|
@@ -9415,12 +9415,12 @@ function Zc(e, t, n, { discrete: r }) {
|
|
|
9415
9415
|
const o = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
9416
9416
|
t && o.addEventListener(e, t, { once: !0 }), r ? Hv(o, a) : o.dispatchEvent(a);
|
|
9417
9417
|
}
|
|
9418
|
-
var
|
|
9418
|
+
var No = 0;
|
|
9419
9419
|
function Xv() {
|
|
9420
9420
|
g.useEffect(() => {
|
|
9421
9421
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
9422
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ?? zs()), document.body.insertAdjacentElement("beforeend", e[1] ?? zs()),
|
|
9423
|
-
|
|
9422
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? zs()), document.body.insertAdjacentElement("beforeend", e[1] ?? zs()), No++, () => {
|
|
9423
|
+
No === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), No--;
|
|
9424
9424
|
};
|
|
9425
9425
|
}, []);
|
|
9426
9426
|
}
|
|
@@ -9428,14 +9428,14 @@ function zs() {
|
|
|
9428
9428
|
const e = document.createElement("span");
|
|
9429
9429
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
9430
9430
|
}
|
|
9431
|
-
var Lo = "focusScope.autoFocusOnMount",
|
|
9431
|
+
var Lo = "focusScope.autoFocusOnMount", Io = "focusScope.autoFocusOnUnmount", qs = { bubbles: !1, cancelable: !0 }, Jv = "FocusScope", Xc = g.forwardRef((e, t) => {
|
|
9432
9432
|
const {
|
|
9433
9433
|
loop: n = !1,
|
|
9434
9434
|
trapped: r = !1,
|
|
9435
9435
|
onMountAutoFocus: o,
|
|
9436
9436
|
onUnmountAutoFocus: a,
|
|
9437
9437
|
...i
|
|
9438
|
-
} = e, [s, l] = g.useState(null), u = pt(o), d = pt(a), p = g.useRef(null), _ =
|
|
9438
|
+
} = e, [s, l] = g.useState(null), u = pt(o), d = pt(a), p = g.useRef(null), _ = Te(t, (h) => l(h)), m = g.useRef({
|
|
9439
9439
|
paused: !1,
|
|
9440
9440
|
pause() {
|
|
9441
9441
|
this.paused = !0;
|
|
@@ -9469,7 +9469,7 @@ var Lo = "focusScope.autoFocusOnMount", Oo = "focusScope.autoFocusOnUnmount", qs
|
|
|
9469
9469
|
}
|
|
9470
9470
|
}, [r, s, m.paused]), g.useEffect(() => {
|
|
9471
9471
|
if (s) {
|
|
9472
|
-
|
|
9472
|
+
Ts.add(m);
|
|
9473
9473
|
const h = document.activeElement;
|
|
9474
9474
|
if (!s.contains(h)) {
|
|
9475
9475
|
const v = new CustomEvent(Lo, qs);
|
|
@@ -9477,8 +9477,8 @@ var Lo = "focusScope.autoFocusOnMount", Oo = "focusScope.autoFocusOnUnmount", qs
|
|
|
9477
9477
|
}
|
|
9478
9478
|
return () => {
|
|
9479
9479
|
s.removeEventListener(Lo, u), setTimeout(() => {
|
|
9480
|
-
const v = new CustomEvent(
|
|
9481
|
-
s.addEventListener(
|
|
9480
|
+
const v = new CustomEvent(Io, qs);
|
|
9481
|
+
s.addEventListener(Io, d), s.dispatchEvent(v), v.defaultPrevented || yt(h ?? document.body, { select: !0 }), s.removeEventListener(Io, d), Ts.remove(m);
|
|
9482
9482
|
}, 0);
|
|
9483
9483
|
};
|
|
9484
9484
|
}
|
|
@@ -9505,7 +9505,7 @@ function Qv(e, { select: t = !1 } = {}) {
|
|
|
9505
9505
|
return;
|
|
9506
9506
|
}
|
|
9507
9507
|
function e0(e) {
|
|
9508
|
-
const t = Jc(e), n =
|
|
9508
|
+
const t = Jc(e), n = js(t, e), r = js(t.reverse(), e);
|
|
9509
9509
|
return [n, r];
|
|
9510
9510
|
}
|
|
9511
9511
|
function Jc(e) {
|
|
@@ -9519,7 +9519,7 @@ function Jc(e) {
|
|
|
9519
9519
|
t.push(n.currentNode);
|
|
9520
9520
|
return t;
|
|
9521
9521
|
}
|
|
9522
|
-
function
|
|
9522
|
+
function js(e, t) {
|
|
9523
9523
|
for (const n of e)
|
|
9524
9524
|
if (!t0(n, { upTo: t }))
|
|
9525
9525
|
return n;
|
|
@@ -9545,7 +9545,7 @@ function yt(e, { select: t = !1 } = {}) {
|
|
|
9545
9545
|
e.focus({ preventScroll: !0 }), e !== n && n0(e) && t && e.select();
|
|
9546
9546
|
}
|
|
9547
9547
|
}
|
|
9548
|
-
var
|
|
9548
|
+
var Ts = r0();
|
|
9549
9549
|
function r0() {
|
|
9550
9550
|
let e = [];
|
|
9551
9551
|
return {
|
|
@@ -9662,7 +9662,7 @@ function Qc(e) {
|
|
|
9662
9662
|
left: e
|
|
9663
9663
|
};
|
|
9664
9664
|
}
|
|
9665
|
-
function
|
|
9665
|
+
function jr(e) {
|
|
9666
9666
|
return {
|
|
9667
9667
|
...e,
|
|
9668
9668
|
top: e.y,
|
|
@@ -9799,7 +9799,7 @@ async function Wn(e, t) {
|
|
|
9799
9799
|
elementContext: p = "floating",
|
|
9800
9800
|
altBoundary: _ = !1,
|
|
9801
9801
|
padding: m = 0
|
|
9802
|
-
} = ht(t, e), b = Qc(m), h = s[_ ? p === "floating" ? "reference" : "floating" : p], v =
|
|
9802
|
+
} = ht(t, e), b = Qc(m), h = s[_ ? p === "floating" ? "reference" : "floating" : p], v = jr(await a.getClippingRect({
|
|
9803
9803
|
element: (n = await (a.isElement == null ? void 0 : a.isElement(h))) == null || n ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(s.floating)),
|
|
9804
9804
|
boundary: u,
|
|
9805
9805
|
rootBoundary: d,
|
|
@@ -9814,7 +9814,7 @@ async function Wn(e, t) {
|
|
|
9814
9814
|
} : {
|
|
9815
9815
|
x: 1,
|
|
9816
9816
|
y: 1
|
|
9817
|
-
}, S =
|
|
9817
|
+
}, S = jr(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
9818
9818
|
rect: E,
|
|
9819
9819
|
offsetParent: y,
|
|
9820
9820
|
strategy: l
|
|
@@ -9847,15 +9847,15 @@ const Ps = (e) => ({
|
|
|
9847
9847
|
const p = Qc(d), _ = {
|
|
9848
9848
|
x: n,
|
|
9849
9849
|
y: r
|
|
9850
|
-
}, m = ti(o), b = ei(m), h = await i.getDimensions(u), v = m === "y", E = v ? "top" : "left", y = v ? "bottom" : "right", w = v ? "clientHeight" : "clientWidth", S = a.reference[b] + a.reference[m] - _[m] - a.floating[b], C = _[m] - a.reference[m],
|
|
9851
|
-
let q =
|
|
9852
|
-
(!q || !await (i.isElement == null ? void 0 : i.isElement(
|
|
9853
|
-
const D = S / 2 - C / 2, $ = q / 2 - h[b] / 2 - 1, ne = xt(p[E], $), te = xt(p[y], $), G = ne, V = q - h[b] - te,
|
|
9850
|
+
}, m = ti(o), b = ei(m), h = await i.getDimensions(u), v = m === "y", E = v ? "top" : "left", y = v ? "bottom" : "right", w = v ? "clientHeight" : "clientWidth", S = a.reference[b] + a.reference[m] - _[m] - a.floating[b], C = _[m] - a.reference[m], T = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
|
|
9851
|
+
let q = T ? T[w] : 0;
|
|
9852
|
+
(!q || !await (i.isElement == null ? void 0 : i.isElement(T))) && (q = s.floating[w] || a.floating[b]);
|
|
9853
|
+
const D = S / 2 - C / 2, $ = q / 2 - h[b] / 2 - 1, ne = xt(p[E], $), te = xt(p[y], $), G = ne, V = q - h[b] - te, A = q / 2 - h[b] / 2 + D, X = pa(G, A, V), H = !l.arrow && dn(o) != null && A != X && a.reference[b] / 2 - (A < G ? ne : te) - h[b] / 2 < 0, Z = H ? A < G ? A - G : A - V : 0;
|
|
9854
9854
|
return {
|
|
9855
9855
|
[m]: _[m] + Z,
|
|
9856
9856
|
data: {
|
|
9857
9857
|
[m]: X,
|
|
9858
|
-
centerOffset:
|
|
9858
|
+
centerOffset: A - X - Z,
|
|
9859
9859
|
...H && {
|
|
9860
9860
|
alignmentOffset: Z
|
|
9861
9861
|
}
|
|
@@ -9889,11 +9889,11 @@ const Ps = (e) => ({
|
|
|
9889
9889
|
return {};
|
|
9890
9890
|
const E = mt(o), y = mt(s) === s, w = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), S = _ || (y || !h ? [qr(s)] : d0(s));
|
|
9891
9891
|
!_ && b !== "none" && S.push(...p0(s, h, b, w));
|
|
9892
|
-
const C = [s, ...S],
|
|
9892
|
+
const C = [s, ...S], T = await Wn(t, v), q = [];
|
|
9893
9893
|
let D = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
9894
|
-
if (d && q.push(
|
|
9894
|
+
if (d && q.push(T[E]), p) {
|
|
9895
9895
|
const G = u0(o, i, w);
|
|
9896
|
-
q.push(
|
|
9896
|
+
q.push(T[G[0]], T[G[1]]);
|
|
9897
9897
|
}
|
|
9898
9898
|
if (D = [...D, {
|
|
9899
9899
|
placement: o,
|
|
@@ -9911,23 +9911,23 @@ const Ps = (e) => ({
|
|
|
9911
9911
|
placement: V
|
|
9912
9912
|
}
|
|
9913
9913
|
};
|
|
9914
|
-
let
|
|
9915
|
-
if (!
|
|
9914
|
+
let A = (ne = D.filter((X) => X.overflows[0] <= 0).sort((X, H) => X.overflows[1] - H.overflows[1])[0]) == null ? void 0 : ne.placement;
|
|
9915
|
+
if (!A)
|
|
9916
9916
|
switch (m) {
|
|
9917
9917
|
case "bestFit": {
|
|
9918
9918
|
var te;
|
|
9919
9919
|
const X = (te = D.map((H) => [H.placement, H.overflows.filter((Z) => Z > 0).reduce((Z, ae) => Z + ae, 0)]).sort((H, Z) => H[1] - Z[1])[0]) == null ? void 0 : te[0];
|
|
9920
|
-
X && (
|
|
9920
|
+
X && (A = X);
|
|
9921
9921
|
break;
|
|
9922
9922
|
}
|
|
9923
9923
|
case "initialPlacement":
|
|
9924
|
-
|
|
9924
|
+
A = s;
|
|
9925
9925
|
break;
|
|
9926
9926
|
}
|
|
9927
|
-
if (o !==
|
|
9927
|
+
if (o !== A)
|
|
9928
9928
|
return {
|
|
9929
9929
|
reset: {
|
|
9930
|
-
placement:
|
|
9930
|
+
placement: A
|
|
9931
9931
|
}
|
|
9932
9932
|
};
|
|
9933
9933
|
}
|
|
@@ -9935,7 +9935,7 @@ const Ps = (e) => ({
|
|
|
9935
9935
|
}
|
|
9936
9936
|
};
|
|
9937
9937
|
};
|
|
9938
|
-
function
|
|
9938
|
+
function Os(e, t) {
|
|
9939
9939
|
return {
|
|
9940
9940
|
top: e.top - t.height,
|
|
9941
9941
|
right: e.right - t.width,
|
|
@@ -9943,7 +9943,7 @@ function Ns(e, t) {
|
|
|
9943
9943
|
left: e.left - t.width
|
|
9944
9944
|
};
|
|
9945
9945
|
}
|
|
9946
|
-
function
|
|
9946
|
+
function Ns(e) {
|
|
9947
9947
|
return s0.some((t) => e[t] >= 0);
|
|
9948
9948
|
}
|
|
9949
9949
|
const v0 = function(e) {
|
|
@@ -9962,11 +9962,11 @@ const v0 = function(e) {
|
|
|
9962
9962
|
const a = await Wn(t, {
|
|
9963
9963
|
...o,
|
|
9964
9964
|
elementContext: "reference"
|
|
9965
|
-
}), i =
|
|
9965
|
+
}), i = Os(a, n.reference);
|
|
9966
9966
|
return {
|
|
9967
9967
|
data: {
|
|
9968
9968
|
referenceHiddenOffsets: i,
|
|
9969
|
-
referenceHidden:
|
|
9969
|
+
referenceHidden: Ns(i)
|
|
9970
9970
|
}
|
|
9971
9971
|
};
|
|
9972
9972
|
}
|
|
@@ -9974,11 +9974,11 @@ const v0 = function(e) {
|
|
|
9974
9974
|
const a = await Wn(t, {
|
|
9975
9975
|
...o,
|
|
9976
9976
|
altBoundary: !0
|
|
9977
|
-
}), i =
|
|
9977
|
+
}), i = Os(a, n.floating);
|
|
9978
9978
|
return {
|
|
9979
9979
|
data: {
|
|
9980
9980
|
escapedOffsets: i,
|
|
9981
|
-
escaped:
|
|
9981
|
+
escaped: Ns(i)
|
|
9982
9982
|
}
|
|
9983
9983
|
};
|
|
9984
9984
|
}
|
|
@@ -10117,8 +10117,8 @@ const _0 = function(e) {
|
|
|
10117
10117
|
}
|
|
10118
10118
|
if (u) {
|
|
10119
10119
|
var E, y;
|
|
10120
|
-
const w = _ === "y" ? "width" : "height", S = ["top", "left"].includes(mt(o)), C = a.reference[p] - a.floating[w] + (S && ((E = i.offset) == null ? void 0 : E[p]) || 0) + (S ? 0 : v.crossAxis),
|
|
10121
|
-
b < C ? b = C : b >
|
|
10120
|
+
const w = _ === "y" ? "width" : "height", S = ["top", "left"].includes(mt(o)), C = a.reference[p] - a.floating[w] + (S && ((E = i.offset) == null ? void 0 : E[p]) || 0) + (S ? 0 : v.crossAxis), T = a.reference[p] + a.reference[w] + (S ? 0 : ((y = i.offset) == null ? void 0 : y[p]) || 0) - (S ? v.crossAxis : 0);
|
|
10121
|
+
b < C ? b = C : b > T && (b = T);
|
|
10122
10122
|
}
|
|
10123
10123
|
return {
|
|
10124
10124
|
[_]: m,
|
|
@@ -10149,15 +10149,15 @@ const _0 = function(e) {
|
|
|
10149
10149
|
const v = m - l[b], E = _ - l[h], y = !t.middlewareData.shift;
|
|
10150
10150
|
let w = v, S = E;
|
|
10151
10151
|
if (p) {
|
|
10152
|
-
const
|
|
10153
|
-
S = d || y ? xt(E,
|
|
10152
|
+
const T = _ - l.left - l.right;
|
|
10153
|
+
S = d || y ? xt(E, T) : T;
|
|
10154
10154
|
} else {
|
|
10155
|
-
const
|
|
10156
|
-
w = d || y ? xt(v,
|
|
10155
|
+
const T = m - l.top - l.bottom;
|
|
10156
|
+
w = d || y ? xt(v, T) : T;
|
|
10157
10157
|
}
|
|
10158
10158
|
if (y && !d) {
|
|
10159
|
-
const
|
|
10160
|
-
p ? S = _ - 2 * (
|
|
10159
|
+
const T = He(l.left, 0), q = He(l.right, 0), D = He(l.top, 0), $ = He(l.bottom, 0);
|
|
10160
|
+
p ? S = _ - 2 * (T !== 0 || q !== 0 ? T + q : He(l.left, l.right)) : w = m - 2 * (D !== 0 || $ !== 0 ? D + $ : He(l.top, l.bottom));
|
|
10161
10161
|
}
|
|
10162
10162
|
await i({
|
|
10163
10163
|
...t,
|
|
@@ -10315,7 +10315,7 @@ function Ft(e, t, n, r) {
|
|
|
10315
10315
|
l *= h.x, u *= h.y, d *= h.x, p *= h.y, l += y, u += w, b = Ue(b).frameElement;
|
|
10316
10316
|
}
|
|
10317
10317
|
}
|
|
10318
|
-
return
|
|
10318
|
+
return jr({
|
|
10319
10319
|
width: d,
|
|
10320
10320
|
height: p,
|
|
10321
10321
|
x: l,
|
|
@@ -10353,7 +10353,7 @@ function q0(e) {
|
|
|
10353
10353
|
function ou(e) {
|
|
10354
10354
|
return Ft(vt(e)).left + Yr(e).scrollLeft;
|
|
10355
10355
|
}
|
|
10356
|
-
function
|
|
10356
|
+
function j0(e) {
|
|
10357
10357
|
const t = vt(e), n = Yr(e), r = e.ownerDocument.body, o = He(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = He(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
10358
10358
|
let i = -n.scrollLeft + ou(e);
|
|
10359
10359
|
const s = -n.scrollTop;
|
|
@@ -10364,7 +10364,7 @@ function T0(e) {
|
|
|
10364
10364
|
y: s
|
|
10365
10365
|
};
|
|
10366
10366
|
}
|
|
10367
|
-
function
|
|
10367
|
+
function T0(e, t) {
|
|
10368
10368
|
const n = Ue(e), r = vt(e), o = n.visualViewport;
|
|
10369
10369
|
let a = r.clientWidth, i = r.clientHeight, s = 0, l = 0;
|
|
10370
10370
|
if (o) {
|
|
@@ -10388,12 +10388,12 @@ function R0(e, t) {
|
|
|
10388
10388
|
y: u
|
|
10389
10389
|
};
|
|
10390
10390
|
}
|
|
10391
|
-
function
|
|
10391
|
+
function Is(e, t, n) {
|
|
10392
10392
|
let r;
|
|
10393
10393
|
if (t === "viewport")
|
|
10394
|
-
r =
|
|
10394
|
+
r = T0(e, n);
|
|
10395
10395
|
else if (t === "document")
|
|
10396
|
-
r =
|
|
10396
|
+
r = j0(vt(e));
|
|
10397
10397
|
else if (gt(t))
|
|
10398
10398
|
r = R0(t, n);
|
|
10399
10399
|
else {
|
|
@@ -10404,7 +10404,7 @@ function Os(e, t, n) {
|
|
|
10404
10404
|
y: t.y - o.y
|
|
10405
10405
|
};
|
|
10406
10406
|
}
|
|
10407
|
-
return
|
|
10407
|
+
return jr(r);
|
|
10408
10408
|
}
|
|
10409
10409
|
function au(e, t) {
|
|
10410
10410
|
const n = sn(e);
|
|
@@ -10431,9 +10431,9 @@ function P0(e) {
|
|
|
10431
10431
|
strategy: o
|
|
10432
10432
|
} = e;
|
|
10433
10433
|
const a = [...n === "clippingAncestors" ? M0(t, this._c) : [].concat(n), r], i = a[0], s = a.reduce((l, u) => {
|
|
10434
|
-
const d =
|
|
10434
|
+
const d = Is(t, u, o);
|
|
10435
10435
|
return l.top = He(d.top, l.top), l.right = xt(d.right, l.right), l.bottom = xt(d.bottom, l.bottom), l.left = He(d.left, l.left), l;
|
|
10436
|
-
},
|
|
10436
|
+
}, Is(t, i, o));
|
|
10437
10437
|
return {
|
|
10438
10438
|
width: s.right - s.left,
|
|
10439
10439
|
height: s.bottom - s.top,
|
|
@@ -10441,10 +10441,10 @@ function P0(e) {
|
|
|
10441
10441
|
y: s.top
|
|
10442
10442
|
};
|
|
10443
10443
|
}
|
|
10444
|
-
function
|
|
10444
|
+
function O0(e) {
|
|
10445
10445
|
return nu(e);
|
|
10446
10446
|
}
|
|
10447
|
-
function
|
|
10447
|
+
function N0(e, t, n) {
|
|
10448
10448
|
const r = it(t), o = vt(t), a = n === "fixed", i = Ft(e, !0, a, t);
|
|
10449
10449
|
let s = {
|
|
10450
10450
|
scrollLeft: 0,
|
|
@@ -10464,16 +10464,16 @@ function A0(e, t, n) {
|
|
|
10464
10464
|
height: i.height
|
|
10465
10465
|
};
|
|
10466
10466
|
}
|
|
10467
|
-
function
|
|
10467
|
+
function As(e, t) {
|
|
10468
10468
|
return !it(e) || Ye(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
10469
10469
|
}
|
|
10470
10470
|
function iu(e, t) {
|
|
10471
10471
|
const n = Ue(e);
|
|
10472
10472
|
if (!it(e))
|
|
10473
10473
|
return n;
|
|
10474
|
-
let r =
|
|
10474
|
+
let r = As(e, t);
|
|
10475
10475
|
for (; r && w0(r) && Ye(r).position === "static"; )
|
|
10476
|
-
r =
|
|
10476
|
+
r = As(r, t);
|
|
10477
10477
|
return r && (Et(r) === "html" || Et(r) === "body" && Ye(r).position === "static" && !ni(r)) ? n : r || E0(e) || n;
|
|
10478
10478
|
}
|
|
10479
10479
|
const L0 = async function(e) {
|
|
@@ -10484,7 +10484,7 @@ const L0 = async function(e) {
|
|
|
10484
10484
|
} = e;
|
|
10485
10485
|
const o = this.getOffsetParent || iu, a = this.getDimensions;
|
|
10486
10486
|
return {
|
|
10487
|
-
reference:
|
|
10487
|
+
reference: N0(t, await o(n), r),
|
|
10488
10488
|
floating: {
|
|
10489
10489
|
x: 0,
|
|
10490
10490
|
y: 0,
|
|
@@ -10492,20 +10492,20 @@ const L0 = async function(e) {
|
|
|
10492
10492
|
}
|
|
10493
10493
|
};
|
|
10494
10494
|
};
|
|
10495
|
-
function
|
|
10495
|
+
function I0(e) {
|
|
10496
10496
|
return Ye(e).direction === "rtl";
|
|
10497
10497
|
}
|
|
10498
|
-
const
|
|
10498
|
+
const A0 = {
|
|
10499
10499
|
convertOffsetParentRelativeRectToViewportRelativeRect: z0,
|
|
10500
10500
|
getDocumentElement: vt,
|
|
10501
10501
|
getClippingRect: P0,
|
|
10502
10502
|
getOffsetParent: iu,
|
|
10503
10503
|
getElementRects: L0,
|
|
10504
10504
|
getClientRects: q0,
|
|
10505
|
-
getDimensions:
|
|
10505
|
+
getDimensions: O0,
|
|
10506
10506
|
getScale: tn,
|
|
10507
10507
|
isElement: gt,
|
|
10508
|
-
isRTL:
|
|
10508
|
+
isRTL: I0
|
|
10509
10509
|
};
|
|
10510
10510
|
function D0(e, t) {
|
|
10511
10511
|
let n = null, r;
|
|
@@ -10588,7 +10588,7 @@ function F0(e, t, n, r) {
|
|
|
10588
10588
|
}
|
|
10589
10589
|
const $0 = (e, t, n) => {
|
|
10590
10590
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
10591
|
-
platform:
|
|
10591
|
+
platform: A0,
|
|
10592
10592
|
...n
|
|
10593
10593
|
}, a = {
|
|
10594
10594
|
...o.platform,
|
|
@@ -10621,7 +10621,7 @@ const $0 = (e, t, n) => {
|
|
|
10621
10621
|
};
|
|
10622
10622
|
};
|
|
10623
10623
|
var Cr = typeof document < "u" ? Dn : xe;
|
|
10624
|
-
function
|
|
10624
|
+
function Tr(e, t) {
|
|
10625
10625
|
if (e === t)
|
|
10626
10626
|
return !0;
|
|
10627
10627
|
if (typeof e != typeof t)
|
|
@@ -10634,7 +10634,7 @@ function jr(e, t) {
|
|
|
10634
10634
|
if (n = e.length, n != t.length)
|
|
10635
10635
|
return !1;
|
|
10636
10636
|
for (r = n; r-- !== 0; )
|
|
10637
|
-
if (!
|
|
10637
|
+
if (!Tr(e[r], t[r]))
|
|
10638
10638
|
return !1;
|
|
10639
10639
|
return !0;
|
|
10640
10640
|
}
|
|
@@ -10645,7 +10645,7 @@ function jr(e, t) {
|
|
|
10645
10645
|
return !1;
|
|
10646
10646
|
for (r = n; r-- !== 0; ) {
|
|
10647
10647
|
const a = o[r];
|
|
10648
|
-
if (!(a === "_owner" && e.$$typeof) && !
|
|
10648
|
+
if (!(a === "_owner" && e.$$typeof) && !Tr(e[a], t[a]))
|
|
10649
10649
|
return !1;
|
|
10650
10650
|
}
|
|
10651
10651
|
return !0;
|
|
@@ -10687,25 +10687,25 @@ function U0(e) {
|
|
|
10687
10687
|
middlewareData: {},
|
|
10688
10688
|
isPositioned: !1
|
|
10689
10689
|
}), [_, m] = g.useState(r);
|
|
10690
|
-
|
|
10690
|
+
Tr(_, r) || m(r);
|
|
10691
10691
|
const [b, h] = g.useState(null), [v, E] = g.useState(null), y = g.useCallback((H) => {
|
|
10692
|
-
H !=
|
|
10692
|
+
H != T.current && (T.current = H, h(H));
|
|
10693
10693
|
}, [h]), w = g.useCallback((H) => {
|
|
10694
10694
|
H !== q.current && (q.current = H, E(H));
|
|
10695
|
-
}, [E]), S = a || b, C = i || v,
|
|
10696
|
-
if (!
|
|
10695
|
+
}, [E]), S = a || b, C = i || v, T = g.useRef(null), q = g.useRef(null), D = g.useRef(d), $ = Fs(l), ne = Fs(o), te = g.useCallback(() => {
|
|
10696
|
+
if (!T.current || !q.current)
|
|
10697
10697
|
return;
|
|
10698
10698
|
const H = {
|
|
10699
10699
|
placement: t,
|
|
10700
10700
|
strategy: n,
|
|
10701
10701
|
middleware: _
|
|
10702
10702
|
};
|
|
10703
|
-
ne.current && (H.platform = ne.current), $0(
|
|
10703
|
+
ne.current && (H.platform = ne.current), $0(T.current, q.current, H).then((Z) => {
|
|
10704
10704
|
const ae = {
|
|
10705
10705
|
...Z,
|
|
10706
10706
|
isPositioned: !0
|
|
10707
10707
|
};
|
|
10708
|
-
G.current && !
|
|
10708
|
+
G.current && !Tr(D.current, ae) && (D.current = ae, Or.flushSync(() => {
|
|
10709
10709
|
p(ae);
|
|
10710
10710
|
}));
|
|
10711
10711
|
});
|
|
@@ -10720,18 +10720,18 @@ function U0(e) {
|
|
|
10720
10720
|
Cr(() => (G.current = !0, () => {
|
|
10721
10721
|
G.current = !1;
|
|
10722
10722
|
}), []), Cr(() => {
|
|
10723
|
-
if (S && (
|
|
10723
|
+
if (S && (T.current = S), C && (q.current = C), S && C) {
|
|
10724
10724
|
if ($.current)
|
|
10725
10725
|
return $.current(S, C, te);
|
|
10726
10726
|
te();
|
|
10727
10727
|
}
|
|
10728
10728
|
}, [S, C, te, $]);
|
|
10729
10729
|
const V = g.useMemo(() => ({
|
|
10730
|
-
reference:
|
|
10730
|
+
reference: T,
|
|
10731
10731
|
floating: q,
|
|
10732
10732
|
setReference: y,
|
|
10733
10733
|
setFloating: w
|
|
10734
|
-
}), [y, w]),
|
|
10734
|
+
}), [y, w]), A = g.useMemo(() => ({
|
|
10735
10735
|
reference: S,
|
|
10736
10736
|
floating: C
|
|
10737
10737
|
}), [S, C]), X = g.useMemo(() => {
|
|
@@ -10740,13 +10740,13 @@ function U0(e) {
|
|
|
10740
10740
|
left: 0,
|
|
10741
10741
|
top: 0
|
|
10742
10742
|
};
|
|
10743
|
-
if (!
|
|
10743
|
+
if (!A.floating)
|
|
10744
10744
|
return H;
|
|
10745
|
-
const Z = Ds(
|
|
10745
|
+
const Z = Ds(A.floating, d.x), ae = Ds(A.floating, d.y);
|
|
10746
10746
|
return s ? {
|
|
10747
10747
|
...H,
|
|
10748
10748
|
transform: "translate(" + Z + "px, " + ae + "px)",
|
|
10749
|
-
...su(
|
|
10749
|
+
...su(A.floating) >= 1.5 && {
|
|
10750
10750
|
willChange: "transform"
|
|
10751
10751
|
}
|
|
10752
10752
|
} : {
|
|
@@ -10754,14 +10754,14 @@ function U0(e) {
|
|
|
10754
10754
|
left: Z,
|
|
10755
10755
|
top: ae
|
|
10756
10756
|
};
|
|
10757
|
-
}, [n, s,
|
|
10757
|
+
}, [n, s, A.floating, d.x, d.y]);
|
|
10758
10758
|
return g.useMemo(() => ({
|
|
10759
10759
|
...d,
|
|
10760
10760
|
update: te,
|
|
10761
10761
|
refs: V,
|
|
10762
|
-
elements:
|
|
10762
|
+
elements: A,
|
|
10763
10763
|
floatingStyles: X
|
|
10764
|
-
}), [d, te, V,
|
|
10764
|
+
}), [d, te, V, A, X]);
|
|
10765
10765
|
}
|
|
10766
10766
|
var B0 = "Arrow", lu = g.forwardRef((e, t) => {
|
|
10767
10767
|
const { children: n, width: r = 10, height: o = 5, ...a } = e;
|
|
@@ -10809,7 +10809,7 @@ var ai = "Popper", [cu, uu] = Xa(ai), [G0, du] = cu(ai), fu = (e) => {
|
|
|
10809
10809
|
fu.displayName = ai;
|
|
10810
10810
|
var pu = "PopperAnchor", hu = g.forwardRef(
|
|
10811
10811
|
(e, t) => {
|
|
10812
|
-
const { __scopePopper: n, virtualRef: r, ...o } = e, a = du(pu, n), i = g.useRef(null), s =
|
|
10812
|
+
const { __scopePopper: n, virtualRef: r, ...o } = e, a = du(pu, n), i = g.useRef(null), s = Te(t, i);
|
|
10813
10813
|
return g.useEffect(() => {
|
|
10814
10814
|
a.onAnchorChange((r == null ? void 0 : r.current) || i.current);
|
|
10815
10815
|
}), r ? null : /* @__PURE__ */ f.jsx(Se.div, { ...o, ref: s });
|
|
@@ -10834,12 +10834,12 @@ var ii = "PopperContent", [Y0, K0] = cu(ii), mu = g.forwardRef(
|
|
|
10834
10834
|
updatePositionStrategy: w = "optimized",
|
|
10835
10835
|
onPlaced: S,
|
|
10836
10836
|
...C
|
|
10837
|
-
} = e,
|
|
10837
|
+
} = e, T = du(ii, l), [q, D] = g.useState(null), $ = Te(t, (_e) => D(_e)), [ne, te] = g.useState(null), G = W0(ne), V = (G == null ? void 0 : G.width) ?? 0, A = (G == null ? void 0 : G.height) ?? 0, X = u + (p !== "center" ? "-" + p : ""), H = typeof v == "number" ? v : { top: 0, right: 0, bottom: 0, left: 0, ...v }, Z = Array.isArray(h) ? h : [h], ae = Z.length > 0, R = {
|
|
10838
10838
|
padding: H,
|
|
10839
10839
|
boundary: Z.filter(X0),
|
|
10840
10840
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
10841
10841
|
altBoundary: ae
|
|
10842
|
-
}, { refs:
|
|
10842
|
+
}, { refs: j, floatingStyles: M, placement: B, isPositioned: L, middlewareData: Q } = U0({
|
|
10843
10843
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
10844
10844
|
strategy: "fixed",
|
|
10845
10845
|
placement: X,
|
|
@@ -10847,10 +10847,10 @@ var ii = "PopperContent", [Y0, K0] = cu(ii), mu = g.forwardRef(
|
|
|
10847
10847
|
animationFrame: w === "always"
|
|
10848
10848
|
}),
|
|
10849
10849
|
elements: {
|
|
10850
|
-
reference:
|
|
10850
|
+
reference: T.anchor
|
|
10851
10851
|
},
|
|
10852
10852
|
middleware: [
|
|
10853
|
-
_0({ mainAxis: d +
|
|
10853
|
+
_0({ mainAxis: d + A, alignmentAxis: _ }),
|
|
10854
10854
|
b && b0({
|
|
10855
10855
|
mainAxis: !0,
|
|
10856
10856
|
crossAxis: !1,
|
|
@@ -10860,26 +10860,26 @@ var ii = "PopperContent", [Y0, K0] = cu(ii), mu = g.forwardRef(
|
|
|
10860
10860
|
b && g0({ ...R }),
|
|
10861
10861
|
x0({
|
|
10862
10862
|
...R,
|
|
10863
|
-
apply: ({ elements: _e, rects:
|
|
10864
|
-
const { width: qt, height:
|
|
10865
|
-
|
|
10863
|
+
apply: ({ elements: _e, rects: Oe, availableWidth: ze, availableHeight: Me }) => {
|
|
10864
|
+
const { width: qt, height: jt } = Oe.reference, Ne = _e.floating.style;
|
|
10865
|
+
Ne.setProperty("--radix-popper-available-width", `${ze}px`), Ne.setProperty("--radix-popper-available-height", `${Me}px`), Ne.setProperty("--radix-popper-anchor-width", `${qt}px`), Ne.setProperty("--radix-popper-anchor-height", `${jt}px`);
|
|
10866
10866
|
}
|
|
10867
10867
|
}),
|
|
10868
10868
|
ne && H0({ element: ne, padding: m }),
|
|
10869
|
-
J0({ arrowWidth: V, arrowHeight:
|
|
10869
|
+
J0({ arrowWidth: V, arrowHeight: A }),
|
|
10870
10870
|
y && v0({ strategy: "referenceHidden", ...R })
|
|
10871
10871
|
]
|
|
10872
|
-
}), [me, ce] = yu(B),
|
|
10872
|
+
}), [me, ce] = yu(B), I = pt(S);
|
|
10873
10873
|
Ge(() => {
|
|
10874
|
-
L && (
|
|
10875
|
-
}, [L,
|
|
10876
|
-
const ee = (n = Q.arrow) == null ? void 0 : n.x, se = (r = Q.arrow) == null ? void 0 : r.y, J = ((o = Q.arrow) == null ? void 0 : o.centerOffset) !== 0, [ie,
|
|
10874
|
+
L && (I == null || I());
|
|
10875
|
+
}, [L, I]);
|
|
10876
|
+
const ee = (n = Q.arrow) == null ? void 0 : n.x, se = (r = Q.arrow) == null ? void 0 : r.y, J = ((o = Q.arrow) == null ? void 0 : o.centerOffset) !== 0, [ie, O] = g.useState();
|
|
10877
10877
|
return Ge(() => {
|
|
10878
|
-
q &&
|
|
10878
|
+
q && O(window.getComputedStyle(q).zIndex);
|
|
10879
10879
|
}, [q]), /* @__PURE__ */ f.jsx(
|
|
10880
10880
|
"div",
|
|
10881
10881
|
{
|
|
10882
|
-
ref:
|
|
10882
|
+
ref: j.setFloating,
|
|
10883
10883
|
"data-radix-popper-content-wrapper": "",
|
|
10884
10884
|
style: {
|
|
10885
10885
|
...M,
|
|
@@ -11055,18 +11055,18 @@ var ay = "VisuallyHidden", _u = g.forwardRef(
|
|
|
11055
11055
|
)
|
|
11056
11056
|
);
|
|
11057
11057
|
_u.displayName = ay;
|
|
11058
|
-
var bu =
|
|
11058
|
+
var bu = Oc(), Ao = function() {
|
|
11059
11059
|
}, Kr = g.forwardRef(function(e, t) {
|
|
11060
11060
|
var n = g.useRef(null), r = g.useState({
|
|
11061
|
-
onScrollCapture:
|
|
11062
|
-
onWheelCapture:
|
|
11063
|
-
onTouchMoveCapture:
|
|
11064
|
-
}), o = r[0], a = r[1], i = e.forwardProps, s = e.children, l = e.className, u = e.removeScrollBar, d = e.enabled, p = e.shards, _ = e.sideCar, m = e.noIsolation, b = e.inert, h = e.allowPinchZoom, v = e.as, E = v === void 0 ? "div" : v, y = e.gapMode, w = Ka(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = _, C = Pc([n, t]),
|
|
11061
|
+
onScrollCapture: Ao,
|
|
11062
|
+
onWheelCapture: Ao,
|
|
11063
|
+
onTouchMoveCapture: Ao
|
|
11064
|
+
}), o = r[0], a = r[1], i = e.forwardProps, s = e.children, l = e.className, u = e.removeScrollBar, d = e.enabled, p = e.shards, _ = e.sideCar, m = e.noIsolation, b = e.inert, h = e.allowPinchZoom, v = e.as, E = v === void 0 ? "div" : v, y = e.gapMode, w = Ka(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = _, C = Pc([n, t]), T = Re(Re({}, w), o);
|
|
11065
11065
|
return g.createElement(
|
|
11066
11066
|
g.Fragment,
|
|
11067
11067
|
null,
|
|
11068
11068
|
d && g.createElement(S, { sideCar: bu, removeScrollBar: u, shards: p, noIsolation: m, inert: b, setCallbacks: a, allowPinchZoom: !!h, lockRef: n, gapMode: y }),
|
|
11069
|
-
i ? g.cloneElement(g.Children.only(s), Re(Re({},
|
|
11069
|
+
i ? g.cloneElement(g.Children.only(s), Re(Re({}, T), { ref: C })) : g.createElement(E, Re({}, T, { className: l, ref: C }), s)
|
|
11070
11070
|
);
|
|
11071
11071
|
});
|
|
11072
11072
|
Kr.defaultProps = {
|
|
@@ -11075,8 +11075,8 @@ Kr.defaultProps = {
|
|
|
11075
11075
|
inert: !1
|
|
11076
11076
|
};
|
|
11077
11077
|
Kr.classNames = {
|
|
11078
|
-
fullWidth:
|
|
11079
|
-
zeroRight:
|
|
11078
|
+
fullWidth: An,
|
|
11079
|
+
zeroRight: In
|
|
11080
11080
|
};
|
|
11081
11081
|
var ma = !1;
|
|
11082
11082
|
if (typeof window < "u")
|
|
@@ -11183,13 +11183,13 @@ function gy(e) {
|
|
|
11183
11183
|
var s = g.useCallback(function(h, v) {
|
|
11184
11184
|
if ("touches" in h && h.touches.length === 2 || h.type === "wheel" && h.ctrlKey)
|
|
11185
11185
|
return !i.current.allowPinchZoom;
|
|
11186
|
-
var E = gr(h), y = n.current, w = "deltaX" in h ? h.deltaX : y[0] - E[0], S = "deltaY" in h ? h.deltaY : y[1] - E[1], C,
|
|
11187
|
-
if ("touches" in h && q === "h" &&
|
|
11186
|
+
var E = gr(h), y = n.current, w = "deltaX" in h ? h.deltaX : y[0] - E[0], S = "deltaY" in h ? h.deltaY : y[1] - E[1], C, T = h.target, q = Math.abs(w) > Math.abs(S) ? "h" : "v";
|
|
11187
|
+
if ("touches" in h && q === "h" && T.type === "range")
|
|
11188
11188
|
return !1;
|
|
11189
|
-
var D = Hs(q,
|
|
11189
|
+
var D = Hs(q, T);
|
|
11190
11190
|
if (!D)
|
|
11191
11191
|
return !0;
|
|
11192
|
-
if (D ? C = q : (C = q === "v" ? "h" : "v", D = Hs(q,
|
|
11192
|
+
if (D ? C = q : (C = q === "v" ? "h" : "v", D = Hs(q, T)), !D)
|
|
11193
11193
|
return !1;
|
|
11194
11194
|
if (!r.current && "changedTouches" in h && (w || S) && (r.current = C), !C)
|
|
11195
11195
|
return !0;
|
|
@@ -11242,7 +11242,7 @@ function gy(e) {
|
|
|
11242
11242
|
g.Fragment,
|
|
11243
11243
|
null,
|
|
11244
11244
|
b ? g.createElement(a, { styles: hy(o) }) : null,
|
|
11245
|
-
m ? g.createElement(
|
|
11245
|
+
m ? g.createElement(Ac, { gapMode: e.gapMode }) : null
|
|
11246
11246
|
);
|
|
11247
11247
|
}
|
|
11248
11248
|
function vy(e) {
|
|
@@ -11255,7 +11255,7 @@ var Eu = g.forwardRef(function(e, t) {
|
|
|
11255
11255
|
return g.createElement(Kr, Re({}, e, { ref: t, sideCar: yy }));
|
|
11256
11256
|
});
|
|
11257
11257
|
Eu.classNames = Kr.classNames;
|
|
11258
|
-
var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Select", [Zr, Xr, Cy] =
|
|
11258
|
+
var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Select", [Zr, Xr, Cy] = Av(er), [pn, _2] = Xa(er, [
|
|
11259
11259
|
Cy,
|
|
11260
11260
|
uu
|
|
11261
11261
|
]), Jr = uu(), [xy, St] = pn(er), [wy, Ey] = pn(er), ku = (e) => {
|
|
@@ -11274,7 +11274,7 @@ var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Sele
|
|
|
11274
11274
|
disabled: _,
|
|
11275
11275
|
required: m,
|
|
11276
11276
|
form: b
|
|
11277
|
-
} = e, h = Jr(t), [v, E] = g.useState(null), [y, w] = g.useState(null), [S, C] = g.useState(!1),
|
|
11277
|
+
} = e, h = Jr(t), [v, E] = g.useState(null), [y, w] = g.useState(null), [S, C] = g.useState(!1), T = Fv(u), [q = !1, D] = $s({
|
|
11278
11278
|
prop: r,
|
|
11279
11279
|
defaultProp: o,
|
|
11280
11280
|
onChange: a
|
|
@@ -11282,7 +11282,7 @@ var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Sele
|
|
|
11282
11282
|
prop: i,
|
|
11283
11283
|
defaultProp: s,
|
|
11284
11284
|
onChange: l
|
|
11285
|
-
}), te = g.useRef(null), G = v ? b || !!v.closest("form") : !0, [V,
|
|
11285
|
+
}), te = g.useRef(null), G = v ? b || !!v.closest("form") : !0, [V, A] = g.useState(/* @__PURE__ */ new Set()), X = Array.from(V).map((H) => H.props.value).join(";");
|
|
11286
11286
|
return /* @__PURE__ */ f.jsx(Q0, { ...h, children: /* @__PURE__ */ f.jsxs(
|
|
11287
11287
|
xy,
|
|
11288
11288
|
{
|
|
@@ -11299,7 +11299,7 @@ var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Sele
|
|
|
11299
11299
|
onValueChange: ne,
|
|
11300
11300
|
open: q,
|
|
11301
11301
|
onOpenChange: D,
|
|
11302
|
-
dir:
|
|
11302
|
+
dir: T,
|
|
11303
11303
|
triggerPointerDownPosRef: te,
|
|
11304
11304
|
disabled: _,
|
|
11305
11305
|
children: [
|
|
@@ -11308,10 +11308,10 @@ var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Sele
|
|
|
11308
11308
|
{
|
|
11309
11309
|
scope: e.__scopeSelect,
|
|
11310
11310
|
onNativeOptionAdd: g.useCallback((H) => {
|
|
11311
|
-
|
|
11311
|
+
A((Z) => new Set(Z).add(H));
|
|
11312
11312
|
}, []),
|
|
11313
11313
|
onNativeOptionRemove: g.useCallback((H) => {
|
|
11314
|
-
|
|
11314
|
+
A((Z) => {
|
|
11315
11315
|
const ae = new Set(Z);
|
|
11316
11316
|
return ae.delete(H), ae;
|
|
11317
11317
|
});
|
|
@@ -11345,7 +11345,7 @@ var _y = [" ", "Enter", "ArrowUp", "ArrowDown"], by = [" ", "Enter"], er = "Sele
|
|
|
11345
11345
|
ku.displayName = er;
|
|
11346
11346
|
var Su = "SelectTrigger", zu = g.forwardRef(
|
|
11347
11347
|
(e, t) => {
|
|
11348
|
-
const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = Jr(n), i = St(Su, n), s = i.disabled || r, l =
|
|
11348
|
+
const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = Jr(n), i = St(Su, n), s = i.disabled || r, l = Te(t, i.onTriggerChange), u = Xr(n), d = g.useRef("touch"), [p, _, m] = Yu((h) => {
|
|
11349
11349
|
const v = u().filter((w) => !w.disabled), E = v.find((w) => w.value === i.value), y = Ku(v, h, E);
|
|
11350
11350
|
y !== void 0 && i.onValueChange(y.value);
|
|
11351
11351
|
}), b = (h) => {
|
|
@@ -11387,9 +11387,9 @@ var Su = "SelectTrigger", zu = g.forwardRef(
|
|
|
11387
11387
|
}
|
|
11388
11388
|
);
|
|
11389
11389
|
zu.displayName = Su;
|
|
11390
|
-
var qu = "SelectValue",
|
|
11390
|
+
var qu = "SelectValue", ju = g.forwardRef(
|
|
11391
11391
|
(e, t) => {
|
|
11392
|
-
const { __scopeSelect: n, className: r, style: o, children: a, placeholder: i = "", ...s } = e, l = St(qu, n), { onValueNodeHasChildrenChange: u } = l, d = a !== void 0, p =
|
|
11392
|
+
const { __scopeSelect: n, className: r, style: o, children: a, placeholder: i = "", ...s } = e, l = St(qu, n), { onValueNodeHasChildrenChange: u } = l, d = a !== void 0, p = Te(t, l.onValueNodeChange);
|
|
11393
11393
|
return Ge(() => {
|
|
11394
11394
|
u(d);
|
|
11395
11395
|
}, [u, d]), /* @__PURE__ */ f.jsx(
|
|
@@ -11403,14 +11403,14 @@ var qu = "SelectValue", Tu = g.forwardRef(
|
|
|
11403
11403
|
);
|
|
11404
11404
|
}
|
|
11405
11405
|
);
|
|
11406
|
-
|
|
11407
|
-
var ky = "SelectIcon",
|
|
11406
|
+
ju.displayName = qu;
|
|
11407
|
+
var ky = "SelectIcon", Tu = g.forwardRef(
|
|
11408
11408
|
(e, t) => {
|
|
11409
11409
|
const { __scopeSelect: n, children: r, ...o } = e;
|
|
11410
11410
|
return /* @__PURE__ */ f.jsx(Se.span, { "aria-hidden": !0, ...o, ref: t, children: r || "▼" });
|
|
11411
11411
|
}
|
|
11412
11412
|
);
|
|
11413
|
-
|
|
11413
|
+
Tu.displayName = ky;
|
|
11414
11414
|
var $t = "SelectContent", Ru = g.forwardRef(
|
|
11415
11415
|
(e, t) => {
|
|
11416
11416
|
const n = St($t, e.__scopeSelect), [r, o] = g.useState();
|
|
@@ -11418,7 +11418,7 @@ var $t = "SelectContent", Ru = g.forwardRef(
|
|
|
11418
11418
|
o(new DocumentFragment());
|
|
11419
11419
|
}, []), !n.open) {
|
|
11420
11420
|
const a = r;
|
|
11421
|
-
return a ?
|
|
11421
|
+
return a ? Or.createPortal(
|
|
11422
11422
|
/* @__PURE__ */ f.jsx(Mu, { scope: e.__scopeSelect, children: /* @__PURE__ */ f.jsx(Zr.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ f.jsx("div", { children: e.children }) }) }),
|
|
11423
11423
|
a
|
|
11424
11424
|
) : null;
|
|
@@ -11449,18 +11449,18 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11449
11449
|
avoidCollisions: v,
|
|
11450
11450
|
//
|
|
11451
11451
|
...E
|
|
11452
|
-
} = e, y = St($t, n), [w, S] = g.useState(null), [C,
|
|
11452
|
+
} = e, y = St($t, n), [w, S] = g.useState(null), [C, T] = g.useState(null), q = Te(t, (I) => S(I)), [D, $] = g.useState(null), [ne, te] = g.useState(
|
|
11453
11453
|
null
|
|
11454
|
-
), G = Xr(n), [V,
|
|
11454
|
+
), G = Xr(n), [V, A] = g.useState(!1), X = g.useRef(!1);
|
|
11455
11455
|
g.useEffect(() => {
|
|
11456
11456
|
if (w)
|
|
11457
11457
|
return sv(w);
|
|
11458
11458
|
}, [w]), Xv();
|
|
11459
11459
|
const H = g.useCallback(
|
|
11460
|
-
(
|
|
11461
|
-
const [ee, ...se] = G().map((
|
|
11462
|
-
for (const
|
|
11463
|
-
if (
|
|
11460
|
+
(I) => {
|
|
11461
|
+
const [ee, ...se] = G().map((O) => O.ref.current), [J] = se.slice(-1), ie = document.activeElement;
|
|
11462
|
+
for (const O of I)
|
|
11463
|
+
if (O === ie || (O == null || O.scrollIntoView({ block: "nearest" }), O === ee && C && (C.scrollTop = 0), O === J && C && (C.scrollTop = C.scrollHeight), O == null || O.focus(), document.activeElement !== ie))
|
|
11464
11464
|
return;
|
|
11465
11465
|
},
|
|
11466
11466
|
[G, C]
|
|
@@ -11474,42 +11474,42 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11474
11474
|
const { onOpenChange: ae, triggerPointerDownPosRef: R } = y;
|
|
11475
11475
|
g.useEffect(() => {
|
|
11476
11476
|
if (w) {
|
|
11477
|
-
let
|
|
11477
|
+
let I = { x: 0, y: 0 };
|
|
11478
11478
|
const ee = (J) => {
|
|
11479
|
-
var ie,
|
|
11480
|
-
|
|
11479
|
+
var ie, O;
|
|
11480
|
+
I = {
|
|
11481
11481
|
x: Math.abs(Math.round(J.pageX) - (((ie = R.current) == null ? void 0 : ie.x) ?? 0)),
|
|
11482
|
-
y: Math.abs(Math.round(J.pageY) - (((
|
|
11482
|
+
y: Math.abs(Math.round(J.pageY) - (((O = R.current) == null ? void 0 : O.y) ?? 0))
|
|
11483
11483
|
};
|
|
11484
11484
|
}, se = (J) => {
|
|
11485
|
-
|
|
11485
|
+
I.x <= 10 && I.y <= 10 ? J.preventDefault() : w.contains(J.target) || ae(!1), document.removeEventListener("pointermove", ee), R.current = null;
|
|
11486
11486
|
};
|
|
11487
11487
|
return R.current !== null && (document.addEventListener("pointermove", ee), document.addEventListener("pointerup", se, { capture: !0, once: !0 })), () => {
|
|
11488
11488
|
document.removeEventListener("pointermove", ee), document.removeEventListener("pointerup", se, { capture: !0 });
|
|
11489
11489
|
};
|
|
11490
11490
|
}
|
|
11491
11491
|
}, [w, ae, R]), g.useEffect(() => {
|
|
11492
|
-
const
|
|
11493
|
-
return window.addEventListener("blur",
|
|
11494
|
-
window.removeEventListener("blur",
|
|
11492
|
+
const I = () => ae(!1);
|
|
11493
|
+
return window.addEventListener("blur", I), window.addEventListener("resize", I), () => {
|
|
11494
|
+
window.removeEventListener("blur", I), window.removeEventListener("resize", I);
|
|
11495
11495
|
};
|
|
11496
11496
|
}, [ae]);
|
|
11497
|
-
const [
|
|
11498
|
-
const ee = G().filter((ie) => !ie.disabled), se = ee.find((ie) => ie.ref.current === document.activeElement), J = Ku(ee,
|
|
11497
|
+
const [j, M] = Yu((I) => {
|
|
11498
|
+
const ee = G().filter((ie) => !ie.disabled), se = ee.find((ie) => ie.ref.current === document.activeElement), J = Ku(ee, I, se);
|
|
11499
11499
|
J && setTimeout(() => J.ref.current.focus());
|
|
11500
11500
|
}), B = g.useCallback(
|
|
11501
|
-
(
|
|
11501
|
+
(I, ee, se) => {
|
|
11502
11502
|
const J = !X.current && !se;
|
|
11503
|
-
(y.value !== void 0 && y.value === ee || J) && ($(
|
|
11503
|
+
(y.value !== void 0 && y.value === ee || J) && ($(I), J && (X.current = !0));
|
|
11504
11504
|
},
|
|
11505
11505
|
[y.value]
|
|
11506
11506
|
), L = g.useCallback(() => w == null ? void 0 : w.focus(), [w]), Q = g.useCallback(
|
|
11507
|
-
(
|
|
11507
|
+
(I, ee, se) => {
|
|
11508
11508
|
const J = !X.current && !se;
|
|
11509
|
-
(y.value !== void 0 && y.value === ee || J) && te(
|
|
11509
|
+
(y.value !== void 0 && y.value === ee || J) && te(I);
|
|
11510
11510
|
},
|
|
11511
11511
|
[y.value]
|
|
11512
|
-
), me = r === "popper" ? ga :
|
|
11512
|
+
), me = r === "popper" ? ga : Ou, ce = me === ga ? {
|
|
11513
11513
|
side: s,
|
|
11514
11514
|
sideOffset: l,
|
|
11515
11515
|
align: u,
|
|
@@ -11527,7 +11527,7 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11527
11527
|
scope: n,
|
|
11528
11528
|
content: w,
|
|
11529
11529
|
viewport: C,
|
|
11530
|
-
onViewportChange:
|
|
11530
|
+
onViewportChange: T,
|
|
11531
11531
|
itemRefCallback: B,
|
|
11532
11532
|
selectedItem: D,
|
|
11533
11533
|
onItemLeave: L,
|
|
@@ -11536,18 +11536,18 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11536
11536
|
selectedItemText: ne,
|
|
11537
11537
|
position: r,
|
|
11538
11538
|
isPositioned: V,
|
|
11539
|
-
searchRef:
|
|
11539
|
+
searchRef: j,
|
|
11540
11540
|
children: /* @__PURE__ */ f.jsx(Eu, { as: Vn, allowPinchZoom: !0, children: /* @__PURE__ */ f.jsx(
|
|
11541
11541
|
Xc,
|
|
11542
11542
|
{
|
|
11543
11543
|
asChild: !0,
|
|
11544
11544
|
trapped: y.open,
|
|
11545
|
-
onMountAutoFocus: (
|
|
11546
|
-
|
|
11545
|
+
onMountAutoFocus: (I) => {
|
|
11546
|
+
I.preventDefault();
|
|
11547
11547
|
},
|
|
11548
|
-
onUnmountAutoFocus: be(o, (
|
|
11548
|
+
onUnmountAutoFocus: be(o, (I) => {
|
|
11549
11549
|
var ee;
|
|
11550
|
-
(ee = y.trigger) == null || ee.focus({ preventScroll: !0 }),
|
|
11550
|
+
(ee = y.trigger) == null || ee.focus({ preventScroll: !0 }), I.preventDefault();
|
|
11551
11551
|
}),
|
|
11552
11552
|
children: /* @__PURE__ */ f.jsx(
|
|
11553
11553
|
Kc,
|
|
@@ -11556,7 +11556,7 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11556
11556
|
disableOutsidePointerEvents: !0,
|
|
11557
11557
|
onEscapeKeyDown: a,
|
|
11558
11558
|
onPointerDownOutside: i,
|
|
11559
|
-
onFocusOutside: (
|
|
11559
|
+
onFocusOutside: (I) => I.preventDefault(),
|
|
11560
11560
|
onDismiss: () => y.onOpenChange(!1),
|
|
11561
11561
|
children: /* @__PURE__ */ f.jsx(
|
|
11562
11562
|
me,
|
|
@@ -11565,10 +11565,10 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11565
11565
|
id: y.contentId,
|
|
11566
11566
|
"data-state": y.open ? "open" : "closed",
|
|
11567
11567
|
dir: y.dir,
|
|
11568
|
-
onContextMenu: (
|
|
11568
|
+
onContextMenu: (I) => I.preventDefault(),
|
|
11569
11569
|
...E,
|
|
11570
11570
|
...ce,
|
|
11571
|
-
onPlaced: () =>
|
|
11571
|
+
onPlaced: () => A(!0),
|
|
11572
11572
|
ref: q,
|
|
11573
11573
|
style: {
|
|
11574
11574
|
// flex layout so we can place the scroll buttons properly
|
|
@@ -11578,15 +11578,15 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11578
11578
|
outline: "none",
|
|
11579
11579
|
...E.style
|
|
11580
11580
|
},
|
|
11581
|
-
onKeyDown: be(E.onKeyDown, (
|
|
11582
|
-
const ee =
|
|
11583
|
-
if (
|
|
11581
|
+
onKeyDown: be(E.onKeyDown, (I) => {
|
|
11582
|
+
const ee = I.ctrlKey || I.altKey || I.metaKey;
|
|
11583
|
+
if (I.key === "Tab" && I.preventDefault(), !ee && I.key.length === 1 && M(I.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(I.key)) {
|
|
11584
11584
|
let se = G().filter((J) => !J.disabled).map((J) => J.ref.current);
|
|
11585
|
-
if (["ArrowUp", "End"].includes(
|
|
11586
|
-
const J =
|
|
11585
|
+
if (["ArrowUp", "End"].includes(I.key) && (se = se.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(I.key)) {
|
|
11586
|
+
const J = I.target, ie = se.indexOf(J);
|
|
11587
11587
|
se = se.slice(ie + 1);
|
|
11588
11588
|
}
|
|
11589
|
-
setTimeout(() => H(se)),
|
|
11589
|
+
setTimeout(() => H(se)), I.preventDefault();
|
|
11590
11590
|
}
|
|
11591
11591
|
})
|
|
11592
11592
|
}
|
|
@@ -11600,37 +11600,37 @@ var Ze = 10, [Mu, zt] = pn($t), Sy = "SelectContentImpl", Pu = g.forwardRef(
|
|
|
11600
11600
|
}
|
|
11601
11601
|
);
|
|
11602
11602
|
Pu.displayName = Sy;
|
|
11603
|
-
var zy = "SelectItemAlignedPosition",
|
|
11604
|
-
const { __scopeSelect: n, onPlaced: r, ...o } = e, a = St($t, n), i = zt($t, n), [s, l] = g.useState(null), [u, d] = g.useState(null), p =
|
|
11603
|
+
var zy = "SelectItemAlignedPosition", Ou = g.forwardRef((e, t) => {
|
|
11604
|
+
const { __scopeSelect: n, onPlaced: r, ...o } = e, a = St($t, n), i = zt($t, n), [s, l] = g.useState(null), [u, d] = g.useState(null), p = Te(t, (q) => d(q)), _ = Xr(n), m = g.useRef(!1), b = g.useRef(!0), { viewport: h, selectedItem: v, selectedItemText: E, focusSelectedItem: y } = i, w = g.useCallback(() => {
|
|
11605
11605
|
if (a.trigger && a.valueNode && s && u && h && v && E) {
|
|
11606
11606
|
const q = a.trigger.getBoundingClientRect(), D = u.getBoundingClientRect(), $ = a.valueNode.getBoundingClientRect(), ne = E.getBoundingClientRect();
|
|
11607
11607
|
if (a.dir !== "rtl") {
|
|
11608
|
-
const J = ne.left - D.left, ie = $.left - J,
|
|
11608
|
+
const J = ne.left - D.left, ie = $.left - J, O = q.left - ie, _e = q.width + O, Oe = Math.max(_e, D.width), ze = window.innerWidth - Ze, Me = ws(ie, [
|
|
11609
11609
|
Ze,
|
|
11610
11610
|
// Prevents the content from going off the starting edge of the
|
|
11611
11611
|
// viewport. It may still go off the ending edge, but this can be
|
|
11612
11612
|
// controlled by the user since they may want to manage overflow in a
|
|
11613
11613
|
// specific way.
|
|
11614
11614
|
// https://github.com/radix-ui/primitives/issues/2049
|
|
11615
|
-
Math.max(Ze, ze -
|
|
11615
|
+
Math.max(Ze, ze - Oe)
|
|
11616
11616
|
]);
|
|
11617
11617
|
s.style.minWidth = _e + "px", s.style.left = Me + "px";
|
|
11618
11618
|
} else {
|
|
11619
|
-
const J = D.right - ne.right, ie = window.innerWidth - $.right - J,
|
|
11619
|
+
const J = D.right - ne.right, ie = window.innerWidth - $.right - J, O = window.innerWidth - q.right - ie, _e = q.width + O, Oe = Math.max(_e, D.width), ze = window.innerWidth - Ze, Me = ws(ie, [
|
|
11620
11620
|
Ze,
|
|
11621
|
-
Math.max(Ze, ze -
|
|
11621
|
+
Math.max(Ze, ze - Oe)
|
|
11622
11622
|
]);
|
|
11623
11623
|
s.style.minWidth = _e + "px", s.style.right = Me + "px";
|
|
11624
11624
|
}
|
|
11625
|
-
const te = _(), G = window.innerHeight - Ze * 2, V = h.scrollHeight,
|
|
11625
|
+
const te = _(), G = window.innerHeight - Ze * 2, V = h.scrollHeight, A = window.getComputedStyle(u), X = parseInt(A.borderTopWidth, 10), H = parseInt(A.paddingTop, 10), Z = parseInt(A.borderBottomWidth, 10), ae = parseInt(A.paddingBottom, 10), R = X + H + V + ae + Z, j = Math.min(v.offsetHeight * 5, R), M = window.getComputedStyle(h), B = parseInt(M.paddingTop, 10), L = parseInt(M.paddingBottom, 10), Q = q.top + q.height / 2 - Ze, me = G - Q, ce = v.offsetHeight / 2, I = v.offsetTop + ce, ee = X + H + I, se = R - ee;
|
|
11626
11626
|
if (ee <= Q) {
|
|
11627
11627
|
const J = te.length > 0 && v === te[te.length - 1].ref.current;
|
|
11628
11628
|
s.style.bottom = "0px";
|
|
11629
|
-
const ie = u.clientHeight - h.offsetTop - h.offsetHeight,
|
|
11629
|
+
const ie = u.clientHeight - h.offsetTop - h.offsetHeight, O = Math.max(
|
|
11630
11630
|
me,
|
|
11631
11631
|
ce + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
11632
11632
|
(J ? L : 0) + ie + Z
|
|
11633
|
-
), _e = ee +
|
|
11633
|
+
), _e = ee + O;
|
|
11634
11634
|
s.style.height = _e + "px";
|
|
11635
11635
|
} else {
|
|
11636
11636
|
const J = te.length > 0 && v === te[0].ref.current;
|
|
@@ -11642,7 +11642,7 @@ var zy = "SelectItemAlignedPosition", Nu = g.forwardRef((e, t) => {
|
|
|
11642
11642
|
) + se;
|
|
11643
11643
|
s.style.height = ie + "px", h.scrollTop = ee - Q + h.offsetTop;
|
|
11644
11644
|
}
|
|
11645
|
-
s.style.margin = `${Ze}px 0`, s.style.minHeight =
|
|
11645
|
+
s.style.margin = `${Ze}px 0`, s.style.minHeight = j + "px", s.style.maxHeight = G + "px", r == null || r(), requestAnimationFrame(() => m.current = !0);
|
|
11646
11646
|
}
|
|
11647
11647
|
}, [
|
|
11648
11648
|
_,
|
|
@@ -11661,19 +11661,19 @@ var zy = "SelectItemAlignedPosition", Nu = g.forwardRef((e, t) => {
|
|
|
11661
11661
|
Ge(() => {
|
|
11662
11662
|
u && C(window.getComputedStyle(u).zIndex);
|
|
11663
11663
|
}, [u]);
|
|
11664
|
-
const
|
|
11664
|
+
const T = g.useCallback(
|
|
11665
11665
|
(q) => {
|
|
11666
11666
|
q && b.current === !0 && (w(), y == null || y(), b.current = !1);
|
|
11667
11667
|
},
|
|
11668
11668
|
[w, y]
|
|
11669
11669
|
);
|
|
11670
11670
|
return /* @__PURE__ */ f.jsx(
|
|
11671
|
-
|
|
11671
|
+
jy,
|
|
11672
11672
|
{
|
|
11673
11673
|
scope: n,
|
|
11674
11674
|
contentWrapper: s,
|
|
11675
11675
|
shouldExpandOnScrollRef: m,
|
|
11676
|
-
onScrollButtonChange:
|
|
11676
|
+
onScrollButtonChange: T,
|
|
11677
11677
|
children: /* @__PURE__ */ f.jsx(
|
|
11678
11678
|
"div",
|
|
11679
11679
|
{
|
|
@@ -11704,7 +11704,7 @@ var zy = "SelectItemAlignedPosition", Nu = g.forwardRef((e, t) => {
|
|
|
11704
11704
|
}
|
|
11705
11705
|
);
|
|
11706
11706
|
});
|
|
11707
|
-
|
|
11707
|
+
Ou.displayName = zy;
|
|
11708
11708
|
var qy = "SelectPopperPosition", ga = g.forwardRef((e, t) => {
|
|
11709
11709
|
const {
|
|
11710
11710
|
__scopeSelect: n,
|
|
@@ -11734,9 +11734,9 @@ var qy = "SelectPopperPosition", ga = g.forwardRef((e, t) => {
|
|
|
11734
11734
|
);
|
|
11735
11735
|
});
|
|
11736
11736
|
ga.displayName = qy;
|
|
11737
|
-
var [
|
|
11737
|
+
var [jy, si] = pn($t, {}), va = "SelectViewport", Nu = g.forwardRef(
|
|
11738
11738
|
(e, t) => {
|
|
11739
|
-
const { __scopeSelect: n, nonce: r, ...o } = e, a = zt(va, n), i = si(va, n), s =
|
|
11739
|
+
const { __scopeSelect: n, nonce: r, ...o } = e, a = zt(va, n), i = si(va, n), s = Te(t, a.onViewportChange), l = g.useRef(0);
|
|
11740
11740
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
11741
11741
|
/* @__PURE__ */ f.jsx(
|
|
11742
11742
|
"style",
|
|
@@ -11786,21 +11786,21 @@ var [Ty, si] = pn($t, {}), va = "SelectViewport", Au = g.forwardRef(
|
|
|
11786
11786
|
] });
|
|
11787
11787
|
}
|
|
11788
11788
|
);
|
|
11789
|
-
|
|
11790
|
-
var Lu = "SelectGroup", [
|
|
11789
|
+
Nu.displayName = va;
|
|
11790
|
+
var Lu = "SelectGroup", [Ty, Ry] = pn(Lu), Iu = g.forwardRef(
|
|
11791
11791
|
(e, t) => {
|
|
11792
11792
|
const { __scopeSelect: n, ...r } = e, o = Ja();
|
|
11793
|
-
return /* @__PURE__ */ f.jsx(
|
|
11793
|
+
return /* @__PURE__ */ f.jsx(Ty, { scope: n, id: o, children: /* @__PURE__ */ f.jsx(Se.div, { role: "group", "aria-labelledby": o, ...r, ref: t }) });
|
|
11794
11794
|
}
|
|
11795
11795
|
);
|
|
11796
|
-
|
|
11797
|
-
var
|
|
11796
|
+
Iu.displayName = Lu;
|
|
11797
|
+
var Au = "SelectLabel", My = g.forwardRef(
|
|
11798
11798
|
(e, t) => {
|
|
11799
|
-
const { __scopeSelect: n, ...r } = e, o = Ry(
|
|
11799
|
+
const { __scopeSelect: n, ...r } = e, o = Ry(Au, n);
|
|
11800
11800
|
return /* @__PURE__ */ f.jsx(Se.div, { id: o.id, ...r, ref: t });
|
|
11801
11801
|
}
|
|
11802
11802
|
);
|
|
11803
|
-
My.displayName =
|
|
11803
|
+
My.displayName = Au;
|
|
11804
11804
|
var Rr = "SelectItem", [Py, Du] = pn(Rr), Fu = g.forwardRef(
|
|
11805
11805
|
(e, t) => {
|
|
11806
11806
|
const {
|
|
@@ -11809,7 +11809,7 @@ var Rr = "SelectItem", [Py, Du] = pn(Rr), Fu = g.forwardRef(
|
|
|
11809
11809
|
disabled: o = !1,
|
|
11810
11810
|
textValue: a,
|
|
11811
11811
|
...i
|
|
11812
|
-
} = e, s = St(Rr, n), l = zt(Rr, n), u = s.value === r, [d, p] = g.useState(a ?? ""), [_, m] = g.useState(!1), b =
|
|
11812
|
+
} = e, s = St(Rr, n), l = zt(Rr, n), u = s.value === r, [d, p] = g.useState(a ?? ""), [_, m] = g.useState(!1), b = Te(
|
|
11813
11813
|
t,
|
|
11814
11814
|
(y) => {
|
|
11815
11815
|
var w;
|
|
@@ -11887,7 +11887,7 @@ var Rr = "SelectItem", [Py, Du] = pn(Rr), Fu = g.forwardRef(
|
|
|
11887
11887
|
Fu.displayName = Rr;
|
|
11888
11888
|
var Ln = "SelectItemText", $u = g.forwardRef(
|
|
11889
11889
|
(e, t) => {
|
|
11890
|
-
const { __scopeSelect: n, className: r, style: o, ...a } = e, i = St(Ln, n), s = zt(Ln, n), l = Du(Ln, n), u = Ey(Ln, n), [d, p] = g.useState(null), _ =
|
|
11890
|
+
const { __scopeSelect: n, className: r, style: o, ...a } = e, i = St(Ln, n), s = zt(Ln, n), l = Du(Ln, n), u = Ey(Ln, n), [d, p] = g.useState(null), _ = Te(
|
|
11891
11891
|
t,
|
|
11892
11892
|
(E) => p(E),
|
|
11893
11893
|
l.onItemTextChange,
|
|
@@ -11901,7 +11901,7 @@ var Ln = "SelectItemText", $u = g.forwardRef(
|
|
|
11901
11901
|
), { onNativeOptionAdd: h, onNativeOptionRemove: v } = u;
|
|
11902
11902
|
return Ge(() => (h(b), () => v(b)), [h, v, b]), /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
11903
11903
|
/* @__PURE__ */ f.jsx(Se.span, { id: l.textId, ...a, ref: _ }),
|
|
11904
|
-
l.isSelected && i.valueNode && !i.valueNodeHasChildren ?
|
|
11904
|
+
l.isSelected && i.valueNode && !i.valueNodeHasChildren ? Or.createPortal(a.children, i.valueNode) : null
|
|
11905
11905
|
] });
|
|
11906
11906
|
}
|
|
11907
11907
|
);
|
|
@@ -11913,8 +11913,8 @@ var Hu = "SelectItemIndicator", Uu = g.forwardRef(
|
|
|
11913
11913
|
}
|
|
11914
11914
|
);
|
|
11915
11915
|
Uu.displayName = Hu;
|
|
11916
|
-
var ya = "SelectScrollUpButton",
|
|
11917
|
-
const n = zt(ya, e.__scopeSelect), r = si(ya, e.__scopeSelect), [o, a] = g.useState(!1), i =
|
|
11916
|
+
var ya = "SelectScrollUpButton", Oy = g.forwardRef((e, t) => {
|
|
11917
|
+
const n = zt(ya, e.__scopeSelect), r = si(ya, e.__scopeSelect), [o, a] = g.useState(!1), i = Te(t, r.onScrollButtonChange);
|
|
11918
11918
|
return Ge(() => {
|
|
11919
11919
|
if (n.viewport && n.isPositioned) {
|
|
11920
11920
|
let s = function() {
|
|
@@ -11936,9 +11936,9 @@ var ya = "SelectScrollUpButton", Ny = g.forwardRef((e, t) => {
|
|
|
11936
11936
|
}
|
|
11937
11937
|
) : null;
|
|
11938
11938
|
});
|
|
11939
|
-
|
|
11939
|
+
Oy.displayName = ya;
|
|
11940
11940
|
var _a = "SelectScrollDownButton", Bu = g.forwardRef((e, t) => {
|
|
11941
|
-
const n = zt(_a, e.__scopeSelect), r = si(_a, e.__scopeSelect), [o, a] = g.useState(!1), i =
|
|
11941
|
+
const n = zt(_a, e.__scopeSelect), r = si(_a, e.__scopeSelect), [o, a] = g.useState(!1), i = Te(t, r.onScrollButtonChange);
|
|
11942
11942
|
return Ge(() => {
|
|
11943
11943
|
if (n.viewport && n.isPositioned) {
|
|
11944
11944
|
let s = function() {
|
|
@@ -11988,26 +11988,26 @@ var Vu = g.forwardRef((e, t) => {
|
|
|
11988
11988
|
})
|
|
11989
11989
|
}
|
|
11990
11990
|
);
|
|
11991
|
-
}),
|
|
11991
|
+
}), Ny = "SelectSeparator", Ly = g.forwardRef(
|
|
11992
11992
|
(e, t) => {
|
|
11993
11993
|
const { __scopeSelect: n, ...r } = e;
|
|
11994
11994
|
return /* @__PURE__ */ f.jsx(Se.div, { "aria-hidden": !0, ...r, ref: t });
|
|
11995
11995
|
}
|
|
11996
11996
|
);
|
|
11997
|
-
Ly.displayName =
|
|
11998
|
-
var ba = "SelectArrow",
|
|
11997
|
+
Ly.displayName = Ny;
|
|
11998
|
+
var ba = "SelectArrow", Iy = g.forwardRef(
|
|
11999
11999
|
(e, t) => {
|
|
12000
12000
|
const { __scopeSelect: n, ...r } = e, o = Jr(n), a = St(ba, n), i = zt(ba, n);
|
|
12001
12001
|
return a.open && i.position === "popper" ? /* @__PURE__ */ f.jsx(ny, { ...o, ...r, ref: t }) : null;
|
|
12002
12002
|
}
|
|
12003
12003
|
);
|
|
12004
|
-
|
|
12004
|
+
Iy.displayName = ba;
|
|
12005
12005
|
function Wu(e) {
|
|
12006
12006
|
return e === "" || e === void 0;
|
|
12007
12007
|
}
|
|
12008
12008
|
var Gu = g.forwardRef(
|
|
12009
12009
|
(e, t) => {
|
|
12010
|
-
const { value: n, ...r } = e, o = g.useRef(null), a =
|
|
12010
|
+
const { value: n, ...r } = e, o = g.useRef(null), a = Te(t, o), i = oy(n);
|
|
12011
12011
|
return g.useEffect(() => {
|
|
12012
12012
|
const s = o.current, l = window.HTMLSelectElement.prototype, u = Object.getOwnPropertyDescriptor(
|
|
12013
12013
|
l,
|
|
@@ -12037,17 +12037,17 @@ function Yu(e) {
|
|
|
12037
12037
|
}
|
|
12038
12038
|
function Ku(e, t, n) {
|
|
12039
12039
|
const r = t.length > 1 && Array.from(t).every((s) => s === t[0]) ? t[0] : t, o = n ? e.indexOf(n) : -1;
|
|
12040
|
-
let a =
|
|
12040
|
+
let a = Ay(e, Math.max(o, 0));
|
|
12041
12041
|
r.length === 1 && (a = a.filter((s) => s !== n));
|
|
12042
12042
|
const i = a.find(
|
|
12043
12043
|
(s) => s.textValue.toLowerCase().startsWith(r.toLowerCase())
|
|
12044
12044
|
);
|
|
12045
12045
|
return i !== n ? i : void 0;
|
|
12046
12046
|
}
|
|
12047
|
-
function
|
|
12047
|
+
function Ay(e, t) {
|
|
12048
12048
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
12049
12049
|
}
|
|
12050
|
-
var Dy = ku, Fy = zu, $y =
|
|
12050
|
+
var Dy = ku, Fy = zu, $y = ju, Hy = Tu, Uy = Ru, By = Nu, Vy = Iu, Wy = Fu, Gy = $u, Yy = Uu, Ky = Bu, Zy = "_1wo163v0", Xy = "_1wo163v1", Jy = "_1wo163v2", Qy = "_1wo163v3", e_ = "_1wo163v4", t_ = "_1wo163v5", n_ = "_1wo163v6", r_ = "_1wo163v7", o_ = "_1wo163v8", a_ = "_1wo163v9";
|
|
12051
12051
|
const i_ = ({
|
|
12052
12052
|
label: e,
|
|
12053
12053
|
items: t,
|
|
@@ -12145,7 +12145,7 @@ const i_ = ({
|
|
|
12145
12145
|
prop: i,
|
|
12146
12146
|
defaultProp: s,
|
|
12147
12147
|
onChange: l
|
|
12148
|
-
}), [v, E] = Ce(!1), y = Ga(u), w = Zu(n), S = nt(!1), [C,
|
|
12148
|
+
}), [v, E] = Ce(!1), y = Ga(u), w = Zu(n), S = nt(!1), [C, T] = Ce(0);
|
|
12149
12149
|
return xe(() => {
|
|
12150
12150
|
const q = p.current;
|
|
12151
12151
|
if (q)
|
|
@@ -12169,13 +12169,13 @@ const i_ = ({
|
|
|
12169
12169
|
[]
|
|
12170
12170
|
),
|
|
12171
12171
|
onFocusableItemAdd: Le(
|
|
12172
|
-
() =>
|
|
12172
|
+
() => T(
|
|
12173
12173
|
(q) => q + 1
|
|
12174
12174
|
),
|
|
12175
12175
|
[]
|
|
12176
12176
|
),
|
|
12177
12177
|
onFocusableItemRemove: Le(
|
|
12178
|
-
() =>
|
|
12178
|
+
() => T(
|
|
12179
12179
|
(q) => q - 1
|
|
12180
12180
|
),
|
|
12181
12181
|
[]
|
|
@@ -12198,17 +12198,17 @@ const i_ = ({
|
|
|
12198
12198
|
const $ = new CustomEvent(Do, s_);
|
|
12199
12199
|
if (q.currentTarget.dispatchEvent($), !$.defaultPrevented) {
|
|
12200
12200
|
const ne = w().filter(
|
|
12201
|
-
(
|
|
12201
|
+
(A) => A.focusable
|
|
12202
12202
|
), te = ne.find(
|
|
12203
|
-
(
|
|
12203
|
+
(A) => A.active
|
|
12204
12204
|
), G = ne.find(
|
|
12205
|
-
(
|
|
12205
|
+
(A) => A.id === b
|
|
12206
12206
|
), V = [
|
|
12207
12207
|
te,
|
|
12208
12208
|
G,
|
|
12209
12209
|
...ne
|
|
12210
12210
|
].filter(Boolean).map(
|
|
12211
|
-
(
|
|
12211
|
+
(A) => A.ref.current
|
|
12212
12212
|
);
|
|
12213
12213
|
Ju(V);
|
|
12214
12214
|
}
|
|
@@ -12377,8 +12377,8 @@ const b_ = f_, C_ = m_, Qu = "Tabs", [x_, b2] = Vt(Qu, [
|
|
|
12377
12377
|
!d && !o && p && i.onValueChange(r);
|
|
12378
12378
|
})
|
|
12379
12379
|
})));
|
|
12380
|
-
}),
|
|
12381
|
-
const { __scopeTabs: n, value: r, forceMount: o, children: a, ...i } = e, s = ci(
|
|
12380
|
+
}), j_ = "TabsContent", T_ = /* @__PURE__ */ Be((e, t) => {
|
|
12381
|
+
const { __scopeTabs: n, value: r, forceMount: o, children: a, ...i } = e, s = ci(j_, n), l = td(s.baseId, r), u = nd(s.baseId, r), d = r === s.value, p = nt(d);
|
|
12382
12382
|
return xe(() => {
|
|
12383
12383
|
const _ = requestAnimationFrame(
|
|
12384
12384
|
() => p.current = !1
|
|
@@ -12412,9 +12412,9 @@ function td(e, t) {
|
|
|
12412
12412
|
function nd(e, t) {
|
|
12413
12413
|
return `${e}-content-${t}`;
|
|
12414
12414
|
}
|
|
12415
|
-
const R_ = E_, M_ = S_, P_ = q_,
|
|
12416
|
-
var
|
|
12417
|
-
const
|
|
12415
|
+
const R_ = E_, M_ = S_, P_ = q_, O_ = T_;
|
|
12416
|
+
var N_ = "_1bc2uou0", L_ = "_1bc2uou1";
|
|
12417
|
+
const I_ = ({
|
|
12418
12418
|
className: e,
|
|
12419
12419
|
tabs: t,
|
|
12420
12420
|
defaultValue: n,
|
|
@@ -12428,7 +12428,7 @@ const O_ = ({
|
|
|
12428
12428
|
className: le("sid-tabs", e),
|
|
12429
12429
|
defaultValue: n ?? ((o = t[0]) == null ? void 0 : o.id),
|
|
12430
12430
|
children: [
|
|
12431
|
-
/* @__PURE__ */ f.jsx(M_, { className:
|
|
12431
|
+
/* @__PURE__ */ f.jsx(M_, { className: N_, "aria-label": "SlashID Tabs", children: t.map(({ id: a, title: i }) => /* @__PURE__ */ f.jsx(
|
|
12432
12432
|
P_,
|
|
12433
12433
|
{
|
|
12434
12434
|
"data-testid": `sid-tabs-trigger-${a}`,
|
|
@@ -12438,18 +12438,18 @@ const O_ = ({
|
|
|
12438
12438
|
},
|
|
12439
12439
|
a
|
|
12440
12440
|
)) }),
|
|
12441
|
-
t.map(({ id: a, content: i }) => /* @__PURE__ */ f.jsx(
|
|
12441
|
+
t.map(({ id: a, content: i }) => /* @__PURE__ */ f.jsx(O_, { value: a, children: i }, a))
|
|
12442
12442
|
]
|
|
12443
12443
|
}
|
|
12444
12444
|
) : null;
|
|
12445
|
-
},
|
|
12445
|
+
}, A_ = (e) => {
|
|
12446
12446
|
const t = globalThis.document.getElementById(e);
|
|
12447
12447
|
if (t !== null)
|
|
12448
12448
|
return t;
|
|
12449
12449
|
const n = document.createElement("div");
|
|
12450
12450
|
return n.id = e, document.body.appendChild(n), n;
|
|
12451
12451
|
}, D_ = ({ to: e, children: t, renderKey: n }) => {
|
|
12452
|
-
const r =
|
|
12452
|
+
const r = A_(e);
|
|
12453
12453
|
return /* @__PURE__ */ f.jsx(f.Fragment, { children: md(t, r, n) });
|
|
12454
12454
|
}, F_ = [
|
|
12455
12455
|
"--sid-color-background",
|
|
@@ -12487,32 +12487,32 @@ const O_ = ({
|
|
|
12487
12487
|
var $_ = { exports: {} };
|
|
12488
12488
|
(function(e) {
|
|
12489
12489
|
var t = function(n) {
|
|
12490
|
-
var r = Object.prototype, o = r.hasOwnProperty, a = Object.defineProperty || function(R,
|
|
12491
|
-
R[
|
|
12490
|
+
var r = Object.prototype, o = r.hasOwnProperty, a = Object.defineProperty || function(R, j, M) {
|
|
12491
|
+
R[j] = M.value;
|
|
12492
12492
|
}, i, s = typeof Symbol == "function" ? Symbol : {}, l = s.iterator || "@@iterator", u = s.asyncIterator || "@@asyncIterator", d = s.toStringTag || "@@toStringTag";
|
|
12493
|
-
function p(R,
|
|
12494
|
-
return Object.defineProperty(R,
|
|
12493
|
+
function p(R, j, M) {
|
|
12494
|
+
return Object.defineProperty(R, j, {
|
|
12495
12495
|
value: M,
|
|
12496
12496
|
enumerable: !0,
|
|
12497
12497
|
configurable: !0,
|
|
12498
12498
|
writable: !0
|
|
12499
|
-
}), R[
|
|
12499
|
+
}), R[j];
|
|
12500
12500
|
}
|
|
12501
12501
|
try {
|
|
12502
12502
|
p({}, "");
|
|
12503
12503
|
} catch {
|
|
12504
|
-
p = function(R,
|
|
12505
|
-
return R[
|
|
12504
|
+
p = function(R, j, M) {
|
|
12505
|
+
return R[j] = M;
|
|
12506
12506
|
};
|
|
12507
12507
|
}
|
|
12508
|
-
function _(R,
|
|
12509
|
-
var L =
|
|
12508
|
+
function _(R, j, M, B) {
|
|
12509
|
+
var L = j && j.prototype instanceof w ? j : w, Q = Object.create(L.prototype), me = new H(B || []);
|
|
12510
12510
|
return a(Q, "_invoke", { value: G(R, M, me) }), Q;
|
|
12511
12511
|
}
|
|
12512
12512
|
n.wrap = _;
|
|
12513
|
-
function m(R,
|
|
12513
|
+
function m(R, j, M) {
|
|
12514
12514
|
try {
|
|
12515
|
-
return { type: "normal", arg: R.call(
|
|
12515
|
+
return { type: "normal", arg: R.call(j, M) };
|
|
12516
12516
|
} catch (B) {
|
|
12517
12517
|
return { type: "throw", arg: B };
|
|
12518
12518
|
}
|
|
@@ -12524,13 +12524,13 @@ var $_ = { exports: {} };
|
|
|
12524
12524
|
}
|
|
12525
12525
|
function C() {
|
|
12526
12526
|
}
|
|
12527
|
-
var
|
|
12528
|
-
p(
|
|
12527
|
+
var T = {};
|
|
12528
|
+
p(T, l, function() {
|
|
12529
12529
|
return this;
|
|
12530
12530
|
});
|
|
12531
12531
|
var q = Object.getPrototypeOf, D = q && q(q(Z([])));
|
|
12532
|
-
D && D !== r && o.call(D, l) && (
|
|
12533
|
-
var $ = C.prototype = w.prototype = Object.create(
|
|
12532
|
+
D && D !== r && o.call(D, l) && (T = D);
|
|
12533
|
+
var $ = C.prototype = w.prototype = Object.create(T);
|
|
12534
12534
|
S.prototype = C, a($, "constructor", { value: C, configurable: !0 }), a(
|
|
12535
12535
|
C,
|
|
12536
12536
|
"constructor",
|
|
@@ -12541,45 +12541,45 @@ var $_ = { exports: {} };
|
|
|
12541
12541
|
"GeneratorFunction"
|
|
12542
12542
|
);
|
|
12543
12543
|
function ne(R) {
|
|
12544
|
-
["next", "throw", "return"].forEach(function(
|
|
12545
|
-
p(R,
|
|
12546
|
-
return this._invoke(
|
|
12544
|
+
["next", "throw", "return"].forEach(function(j) {
|
|
12545
|
+
p(R, j, function(M) {
|
|
12546
|
+
return this._invoke(j, M);
|
|
12547
12547
|
});
|
|
12548
12548
|
});
|
|
12549
12549
|
}
|
|
12550
12550
|
n.isGeneratorFunction = function(R) {
|
|
12551
|
-
var
|
|
12552
|
-
return
|
|
12551
|
+
var j = typeof R == "function" && R.constructor;
|
|
12552
|
+
return j ? j === S || // For the native GeneratorFunction constructor, the best we can
|
|
12553
12553
|
// do is to check its .name property.
|
|
12554
|
-
(
|
|
12554
|
+
(j.displayName || j.name) === "GeneratorFunction" : !1;
|
|
12555
12555
|
}, n.mark = function(R) {
|
|
12556
12556
|
return Object.setPrototypeOf ? Object.setPrototypeOf(R, C) : (R.__proto__ = C, p(R, d, "GeneratorFunction")), R.prototype = Object.create($), R;
|
|
12557
12557
|
}, n.awrap = function(R) {
|
|
12558
12558
|
return { __await: R };
|
|
12559
12559
|
};
|
|
12560
|
-
function te(R,
|
|
12561
|
-
function M(Q, me, ce,
|
|
12560
|
+
function te(R, j) {
|
|
12561
|
+
function M(Q, me, ce, I) {
|
|
12562
12562
|
var ee = m(R[Q], R, me);
|
|
12563
12563
|
if (ee.type === "throw")
|
|
12564
|
-
|
|
12564
|
+
I(ee.arg);
|
|
12565
12565
|
else {
|
|
12566
12566
|
var se = ee.arg, J = se.value;
|
|
12567
|
-
return J && typeof J == "object" && o.call(J, "__await") ?
|
|
12568
|
-
M("next", ie, ce,
|
|
12567
|
+
return J && typeof J == "object" && o.call(J, "__await") ? j.resolve(J.__await).then(function(ie) {
|
|
12568
|
+
M("next", ie, ce, I);
|
|
12569
12569
|
}, function(ie) {
|
|
12570
|
-
M("throw", ie, ce,
|
|
12571
|
-
}) :
|
|
12570
|
+
M("throw", ie, ce, I);
|
|
12571
|
+
}) : j.resolve(J).then(function(ie) {
|
|
12572
12572
|
se.value = ie, ce(se);
|
|
12573
12573
|
}, function(ie) {
|
|
12574
|
-
return M("throw", ie, ce,
|
|
12574
|
+
return M("throw", ie, ce, I);
|
|
12575
12575
|
});
|
|
12576
12576
|
}
|
|
12577
12577
|
}
|
|
12578
12578
|
var B;
|
|
12579
12579
|
function L(Q, me) {
|
|
12580
12580
|
function ce() {
|
|
12581
|
-
return new
|
|
12582
|
-
M(Q, me,
|
|
12581
|
+
return new j(function(I, ee) {
|
|
12582
|
+
M(Q, me, I, ee);
|
|
12583
12583
|
});
|
|
12584
12584
|
}
|
|
12585
12585
|
return B = // If enqueue has been called before, then we want to wait until
|
|
@@ -12605,17 +12605,17 @@ var $_ = { exports: {} };
|
|
|
12605
12605
|
}
|
|
12606
12606
|
ne(te.prototype), p(te.prototype, u, function() {
|
|
12607
12607
|
return this;
|
|
12608
|
-
}), n.AsyncIterator = te, n.async = function(R,
|
|
12608
|
+
}), n.AsyncIterator = te, n.async = function(R, j, M, B, L) {
|
|
12609
12609
|
L === void 0 && (L = Promise);
|
|
12610
12610
|
var Q = new te(
|
|
12611
|
-
_(R,
|
|
12611
|
+
_(R, j, M, B),
|
|
12612
12612
|
L
|
|
12613
12613
|
);
|
|
12614
|
-
return n.isGeneratorFunction(
|
|
12614
|
+
return n.isGeneratorFunction(j) ? Q : Q.next().then(function(me) {
|
|
12615
12615
|
return me.done ? me.value : Q.next();
|
|
12616
12616
|
});
|
|
12617
12617
|
};
|
|
12618
|
-
function G(R,
|
|
12618
|
+
function G(R, j, M) {
|
|
12619
12619
|
var B = b;
|
|
12620
12620
|
return function(L, Q) {
|
|
12621
12621
|
if (B === v)
|
|
@@ -12644,61 +12644,61 @@ var $_ = { exports: {} };
|
|
|
12644
12644
|
} else
|
|
12645
12645
|
M.method === "return" && M.abrupt("return", M.arg);
|
|
12646
12646
|
B = v;
|
|
12647
|
-
var
|
|
12648
|
-
if (
|
|
12649
|
-
if (B = M.done ? E : h,
|
|
12647
|
+
var I = m(R, j, M);
|
|
12648
|
+
if (I.type === "normal") {
|
|
12649
|
+
if (B = M.done ? E : h, I.arg === y)
|
|
12650
12650
|
continue;
|
|
12651
12651
|
return {
|
|
12652
|
-
value:
|
|
12652
|
+
value: I.arg,
|
|
12653
12653
|
done: M.done
|
|
12654
12654
|
};
|
|
12655
12655
|
} else
|
|
12656
|
-
|
|
12656
|
+
I.type === "throw" && (B = E, M.method = "throw", M.arg = I.arg);
|
|
12657
12657
|
}
|
|
12658
12658
|
};
|
|
12659
12659
|
}
|
|
12660
|
-
function V(R,
|
|
12661
|
-
var M =
|
|
12660
|
+
function V(R, j) {
|
|
12661
|
+
var M = j.method, B = R.iterator[M];
|
|
12662
12662
|
if (B === i)
|
|
12663
|
-
return
|
|
12663
|
+
return j.delegate = null, M === "throw" && R.iterator.return && (j.method = "return", j.arg = i, V(R, j), j.method === "throw") || M !== "return" && (j.method = "throw", j.arg = new TypeError(
|
|
12664
12664
|
"The iterator does not provide a '" + M + "' method"
|
|
12665
12665
|
)), y;
|
|
12666
|
-
var L = m(B, R.iterator,
|
|
12666
|
+
var L = m(B, R.iterator, j.arg);
|
|
12667
12667
|
if (L.type === "throw")
|
|
12668
|
-
return
|
|
12668
|
+
return j.method = "throw", j.arg = L.arg, j.delegate = null, y;
|
|
12669
12669
|
var Q = L.arg;
|
|
12670
12670
|
if (!Q)
|
|
12671
|
-
return
|
|
12671
|
+
return j.method = "throw", j.arg = new TypeError("iterator result is not an object"), j.delegate = null, y;
|
|
12672
12672
|
if (Q.done)
|
|
12673
|
-
|
|
12673
|
+
j[R.resultName] = Q.value, j.next = R.nextLoc, j.method !== "return" && (j.method = "next", j.arg = i);
|
|
12674
12674
|
else
|
|
12675
12675
|
return Q;
|
|
12676
|
-
return
|
|
12676
|
+
return j.delegate = null, y;
|
|
12677
12677
|
}
|
|
12678
12678
|
ne($), p($, d, "Generator"), p($, l, function() {
|
|
12679
12679
|
return this;
|
|
12680
12680
|
}), p($, "toString", function() {
|
|
12681
12681
|
return "[object Generator]";
|
|
12682
12682
|
});
|
|
12683
|
-
function
|
|
12684
|
-
var
|
|
12685
|
-
1 in R && (
|
|
12683
|
+
function A(R) {
|
|
12684
|
+
var j = { tryLoc: R[0] };
|
|
12685
|
+
1 in R && (j.catchLoc = R[1]), 2 in R && (j.finallyLoc = R[2], j.afterLoc = R[3]), this.tryEntries.push(j);
|
|
12686
12686
|
}
|
|
12687
12687
|
function X(R) {
|
|
12688
|
-
var
|
|
12689
|
-
|
|
12688
|
+
var j = R.completion || {};
|
|
12689
|
+
j.type = "normal", delete j.arg, R.completion = j;
|
|
12690
12690
|
}
|
|
12691
12691
|
function H(R) {
|
|
12692
|
-
this.tryEntries = [{ tryLoc: "root" }], R.forEach(
|
|
12692
|
+
this.tryEntries = [{ tryLoc: "root" }], R.forEach(A, this), this.reset(!0);
|
|
12693
12693
|
}
|
|
12694
12694
|
n.keys = function(R) {
|
|
12695
|
-
var
|
|
12696
|
-
for (var B in
|
|
12695
|
+
var j = Object(R), M = [];
|
|
12696
|
+
for (var B in j)
|
|
12697
12697
|
M.push(B);
|
|
12698
12698
|
return M.reverse(), function L() {
|
|
12699
12699
|
for (; M.length; ) {
|
|
12700
12700
|
var Q = M.pop();
|
|
12701
|
-
if (Q in
|
|
12701
|
+
if (Q in j)
|
|
12702
12702
|
return L.value = Q, L.done = !1, L;
|
|
12703
12703
|
}
|
|
12704
12704
|
return L.done = !0, L;
|
|
@@ -12706,9 +12706,9 @@ var $_ = { exports: {} };
|
|
|
12706
12706
|
};
|
|
12707
12707
|
function Z(R) {
|
|
12708
12708
|
if (R) {
|
|
12709
|
-
var
|
|
12710
|
-
if (
|
|
12711
|
-
return
|
|
12709
|
+
var j = R[l];
|
|
12710
|
+
if (j)
|
|
12711
|
+
return j.call(R);
|
|
12712
12712
|
if (typeof R.next == "function")
|
|
12713
12713
|
return R;
|
|
12714
12714
|
if (!isNaN(R.length)) {
|
|
@@ -12731,22 +12731,22 @@ var $_ = { exports: {} };
|
|
|
12731
12731
|
constructor: H,
|
|
12732
12732
|
reset: function(R) {
|
|
12733
12733
|
if (this.prev = 0, this.next = 0, this.sent = this._sent = i, this.done = !1, this.delegate = null, this.method = "next", this.arg = i, this.tryEntries.forEach(X), !R)
|
|
12734
|
-
for (var
|
|
12735
|
-
|
|
12734
|
+
for (var j in this)
|
|
12735
|
+
j.charAt(0) === "t" && o.call(this, j) && !isNaN(+j.slice(1)) && (this[j] = i);
|
|
12736
12736
|
},
|
|
12737
12737
|
stop: function() {
|
|
12738
12738
|
this.done = !0;
|
|
12739
|
-
var R = this.tryEntries[0],
|
|
12740
|
-
if (
|
|
12741
|
-
throw
|
|
12739
|
+
var R = this.tryEntries[0], j = R.completion;
|
|
12740
|
+
if (j.type === "throw")
|
|
12741
|
+
throw j.arg;
|
|
12742
12742
|
return this.rval;
|
|
12743
12743
|
},
|
|
12744
12744
|
dispatchException: function(R) {
|
|
12745
12745
|
if (this.done)
|
|
12746
12746
|
throw R;
|
|
12747
|
-
var
|
|
12748
|
-
function M(
|
|
12749
|
-
return Q.type = "throw", Q.arg = R,
|
|
12747
|
+
var j = this;
|
|
12748
|
+
function M(I, ee) {
|
|
12749
|
+
return Q.type = "throw", Q.arg = R, j.next = I, ee && (j.method = "next", j.arg = i), !!ee;
|
|
12750
12750
|
}
|
|
12751
12751
|
for (var B = this.tryEntries.length - 1; B >= 0; --B) {
|
|
12752
12752
|
var L = this.tryEntries[B], Q = L.completion;
|
|
@@ -12770,7 +12770,7 @@ var $_ = { exports: {} };
|
|
|
12770
12770
|
}
|
|
12771
12771
|
}
|
|
12772
12772
|
},
|
|
12773
|
-
abrupt: function(R,
|
|
12773
|
+
abrupt: function(R, j) {
|
|
12774
12774
|
for (var M = this.tryEntries.length - 1; M >= 0; --M) {
|
|
12775
12775
|
var B = this.tryEntries[M];
|
|
12776
12776
|
if (B.tryLoc <= this.prev && o.call(B, "finallyLoc") && this.prev < B.finallyLoc) {
|
|
@@ -12778,25 +12778,25 @@ var $_ = { exports: {} };
|
|
|
12778
12778
|
break;
|
|
12779
12779
|
}
|
|
12780
12780
|
}
|
|
12781
|
-
L && (R === "break" || R === "continue") && L.tryLoc <=
|
|
12781
|
+
L && (R === "break" || R === "continue") && L.tryLoc <= j && j <= L.finallyLoc && (L = null);
|
|
12782
12782
|
var Q = L ? L.completion : {};
|
|
12783
|
-
return Q.type = R, Q.arg =
|
|
12783
|
+
return Q.type = R, Q.arg = j, L ? (this.method = "next", this.next = L.finallyLoc, y) : this.complete(Q);
|
|
12784
12784
|
},
|
|
12785
|
-
complete: function(R,
|
|
12785
|
+
complete: function(R, j) {
|
|
12786
12786
|
if (R.type === "throw")
|
|
12787
12787
|
throw R.arg;
|
|
12788
|
-
return R.type === "break" || R.type === "continue" ? this.next = R.arg : R.type === "return" ? (this.rval = this.arg = R.arg, this.method = "return", this.next = "end") : R.type === "normal" &&
|
|
12788
|
+
return R.type === "break" || R.type === "continue" ? this.next = R.arg : R.type === "return" ? (this.rval = this.arg = R.arg, this.method = "return", this.next = "end") : R.type === "normal" && j && (this.next = j), y;
|
|
12789
12789
|
},
|
|
12790
12790
|
finish: function(R) {
|
|
12791
|
-
for (var
|
|
12792
|
-
var M = this.tryEntries[
|
|
12791
|
+
for (var j = this.tryEntries.length - 1; j >= 0; --j) {
|
|
12792
|
+
var M = this.tryEntries[j];
|
|
12793
12793
|
if (M.finallyLoc === R)
|
|
12794
12794
|
return this.complete(M.completion, M.afterLoc), X(M), y;
|
|
12795
12795
|
}
|
|
12796
12796
|
},
|
|
12797
12797
|
catch: function(R) {
|
|
12798
|
-
for (var
|
|
12799
|
-
var M = this.tryEntries[
|
|
12798
|
+
for (var j = this.tryEntries.length - 1; j >= 0; --j) {
|
|
12799
|
+
var M = this.tryEntries[j];
|
|
12800
12800
|
if (M.tryLoc === R) {
|
|
12801
12801
|
var B = M.completion;
|
|
12802
12802
|
if (B.type === "throw") {
|
|
@@ -12808,10 +12808,10 @@ var $_ = { exports: {} };
|
|
|
12808
12808
|
}
|
|
12809
12809
|
throw new Error("illegal catch attempt");
|
|
12810
12810
|
},
|
|
12811
|
-
delegateYield: function(R,
|
|
12811
|
+
delegateYield: function(R, j, M) {
|
|
12812
12812
|
return this.delegate = {
|
|
12813
12813
|
iterator: Z(R),
|
|
12814
|
-
resultName:
|
|
12814
|
+
resultName: j,
|
|
12815
12815
|
nextLoc: M
|
|
12816
12816
|
}, this.method === "next" && (this.arg = i), y;
|
|
12817
12817
|
}
|
|
@@ -12847,7 +12847,8 @@ const H_ = {
|
|
|
12847
12847
|
__switchOrganizationInContext: async () => {
|
|
12848
12848
|
},
|
|
12849
12849
|
__syncExternalState: async () => {
|
|
12850
|
-
}
|
|
12850
|
+
},
|
|
12851
|
+
__orgSwitchingState: { state: "idle" }
|
|
12851
12852
|
}, U_ = at(H_);
|
|
12852
12853
|
U_.displayName = "SlashIDContext";
|
|
12853
12854
|
const B_ = [
|
|
@@ -13131,7 +13132,7 @@ const Mr = (e) => /* @__PURE__ */ f.jsx(Mv, { ...e }), eb = {
|
|
|
13131
13132
|
return null;
|
|
13132
13133
|
const [r] = n;
|
|
13133
13134
|
return t.test(r) ? r : null;
|
|
13134
|
-
}, yr = (e) => Array.isArray(e) ? null : hi(e, fi),
|
|
13135
|
+
}, yr = (e) => Array.isArray(e) ? null : hi(e, fi), Nt = (e) => Array.isArray(e) ? null : hi(e, pi), Mn = (e) => Array.isArray(e) ? null : hi(e, od), sd = (e) => e.map((t) => t.replaceAll(",", "").trim()).filter((t) => {
|
|
13135
13136
|
for (const n of id)
|
|
13136
13137
|
if (t === n || t === `'${n}'` || t === `"${n}"`)
|
|
13137
13138
|
return !0;
|
|
@@ -13182,12 +13183,12 @@ const Mr = (e) => /* @__PURE__ */ f.jsx(Mv, { ...e }), eb = {
|
|
|
13182
13183
|
alternativeAuthURL: void 0
|
|
13183
13184
|
}, ld = at(cb);
|
|
13184
13185
|
ld.displayName = "SlashIDConfigurationContext";
|
|
13185
|
-
function
|
|
13186
|
+
function Ie() {
|
|
13186
13187
|
return Y.useContext(ld);
|
|
13187
13188
|
}
|
|
13188
13189
|
const to = () => Pr(Cm), ub = new RegExp(
|
|
13189
13190
|
"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[-\b\v\f-!#-[]-]|\\[- \v\f-])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[-\b\v\f-!-ZS-]|\\[- \v\f-])+)\\])"
|
|
13190
|
-
), db = (e) => !(typeof e != "string" || e === ""), fb = (e) => typeof e != "string" || e === "" ? !1 : ub.test(e), pb = (e) => typeof e != "string" || e === "" ? !1 : e.length <= 128;
|
|
13191
|
+
), db = (e) => !(typeof e != "string" || e === ""), fb = (e) => typeof e != "string" || e === "" ? !1 : ub.test(e.toLowerCase()), pb = (e) => typeof e != "string" || e === "" ? !1 : e.length <= 128;
|
|
13191
13192
|
var hb = "_1xl24760";
|
|
13192
13193
|
const mb = ({ name: e }) => {
|
|
13193
13194
|
const { errors: t } = to(), n = t[e];
|
|
@@ -13319,7 +13320,7 @@ function zb(e) {
|
|
|
13319
13320
|
}
|
|
13320
13321
|
}
|
|
13321
13322
|
function qb() {
|
|
13322
|
-
const { text: e, supportURL: t } =
|
|
13323
|
+
const { text: e, supportURL: t } = Ie();
|
|
13323
13324
|
return t ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
13324
13325
|
/* @__PURE__ */ f.jsx(Cc, { children: e["error.divider"] }),
|
|
13325
13326
|
/* @__PURE__ */ f.jsx(
|
|
@@ -13341,10 +13342,10 @@ function qb() {
|
|
|
13341
13342
|
)
|
|
13342
13343
|
] }) : null;
|
|
13343
13344
|
}
|
|
13344
|
-
function
|
|
13345
|
+
function jb({
|
|
13345
13346
|
textKeys: e
|
|
13346
13347
|
}) {
|
|
13347
|
-
const { text: t, alternativeAuthURL: n } =
|
|
13348
|
+
const { text: t, alternativeAuthURL: n } = Ie();
|
|
13348
13349
|
return !n || !e ? null : /* @__PURE__ */ f.jsxs(
|
|
13349
13350
|
"div",
|
|
13350
13351
|
{
|
|
@@ -13369,7 +13370,7 @@ function Tb({
|
|
|
13369
13370
|
}
|
|
13370
13371
|
);
|
|
13371
13372
|
}
|
|
13372
|
-
const
|
|
13373
|
+
const Tb = ({ children: e }) => {
|
|
13373
13374
|
const { flowState: t } = hn();
|
|
13374
13375
|
return (t == null ? void 0 : t.status) !== "error" ? null : typeof e == "function" ? /* @__PURE__ */ f.jsx("div", { "data-testid": "sid-form-error-function", children: e({
|
|
13375
13376
|
context: t.context,
|
|
@@ -13377,9 +13378,9 @@ const jb = ({ children: e }) => {
|
|
|
13377
13378
|
cancel: t.cancel
|
|
13378
13379
|
}) }) : rt.count(e) > 0 ? /* @__PURE__ */ f.jsx("div", { "data-testid": "sid-form-error-children", children: e }) : /* @__PURE__ */ f.jsx(Rb, { flowState: t });
|
|
13379
13380
|
};
|
|
13380
|
-
|
|
13381
|
+
Tb.displayName = "Form.Error";
|
|
13381
13382
|
const Rb = ({ flowState: e }) => {
|
|
13382
|
-
const { text: t } =
|
|
13383
|
+
const { text: t } = Ie(), [n, r] = Ce(null);
|
|
13383
13384
|
if (xe(() => {
|
|
13384
13385
|
r(null), (async () => {
|
|
13385
13386
|
const d = await Eb(e.context.error);
|
|
@@ -13390,7 +13391,7 @@ const Rb = ({ flowState: e }) => {
|
|
|
13390
13391
|
const { title: o, description: a, retry: i } = Sb(n), s = zb(n), l = kb(n), u = wb.includes(n);
|
|
13391
13392
|
return /* @__PURE__ */ f.jsxs("article", { "data-testid": "sid-form-error-state", children: [
|
|
13392
13393
|
/* @__PURE__ */ f.jsx(
|
|
13393
|
-
|
|
13394
|
+
Tm,
|
|
13394
13395
|
{
|
|
13395
13396
|
className: ut({ marginBottom: "4" }),
|
|
13396
13397
|
testId: "sid-form-authenticating-cancel-button",
|
|
@@ -13421,11 +13422,11 @@ const Rb = ({ flowState: e }) => {
|
|
|
13421
13422
|
}
|
|
13422
13423
|
),
|
|
13423
13424
|
/* @__PURE__ */ f.jsx(qb, {}),
|
|
13424
|
-
/* @__PURE__ */ f.jsx(
|
|
13425
|
+
/* @__PURE__ */ f.jsx(jb, { textKeys: l })
|
|
13425
13426
|
] });
|
|
13426
13427
|
};
|
|
13427
|
-
var Mb = "_1xoz4760", Pb = "_1xoz4761",
|
|
13428
|
-
const
|
|
13428
|
+
var Mb = "_1xoz4760", Pb = "_1xoz4761", Ob = "_1xoz4762", $o = "_1xoz4763", Nb = "_1xoz4764", Lb = "_1xoz4765", Vs = "_1xoz4766";
|
|
13429
|
+
const Ib = ({ logo: e }) => {
|
|
13429
13430
|
if (typeof e == "string" && e)
|
|
13430
13431
|
return /* @__PURE__ */ f.jsx("div", { className: le("sid-logo", "sid-logo--image", $o), children: /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx("img", { className: $o, src: e, alt: "Company logo" }) }) });
|
|
13431
13432
|
const t = e || /* @__PURE__ */ f.jsx(yc, {});
|
|
@@ -13433,17 +13434,17 @@ const Ob = ({ logo: e }) => {
|
|
|
13433
13434
|
}, mi = ({
|
|
13434
13435
|
children: e
|
|
13435
13436
|
}) => {
|
|
13436
|
-
const { logo: t } =
|
|
13437
|
-
return typeof e != "function" ? /* @__PURE__ */ f.jsx(
|
|
13437
|
+
const { logo: t } = Ie();
|
|
13438
|
+
return typeof e != "function" ? /* @__PURE__ */ f.jsx(Ib, { logo: t }) : /* @__PURE__ */ f.jsx(f.Fragment, { children: e({ logo: t }) });
|
|
13438
13439
|
};
|
|
13439
13440
|
mi.displayName = "Logo";
|
|
13440
|
-
const
|
|
13441
|
+
const Ab = {
|
|
13441
13442
|
currentStepId: "",
|
|
13442
13443
|
attributes: {},
|
|
13443
13444
|
stepIndex: 0,
|
|
13444
13445
|
completionState: "incomplete"
|
|
13445
13446
|
}, Db = {
|
|
13446
|
-
state:
|
|
13447
|
+
state: Ab,
|
|
13447
13448
|
api: {
|
|
13448
13449
|
nextStep: () => {
|
|
13449
13450
|
},
|
|
@@ -13477,7 +13478,7 @@ const Fb = {
|
|
|
13477
13478
|
email_address: nn.email,
|
|
13478
13479
|
username: nn.username
|
|
13479
13480
|
}, tr = ({ children: e }) => {
|
|
13480
|
-
const { factors: t, text: n } =
|
|
13481
|
+
const { factors: t, text: n } = Ie(), { handleSubmit: r, submitPayloadRef: o, selectedFactor: a } = hn(), { registerSubmit: i } = to(), s = qe(
|
|
13481
13482
|
() => t.filter((d) => di(d)),
|
|
13482
13483
|
[t]
|
|
13483
13484
|
), l = qe(() => ui(t), [t]);
|
|
@@ -13513,7 +13514,7 @@ const Fb = {
|
|
|
13513
13514
|
}
|
|
13514
13515
|
);
|
|
13515
13516
|
}, gi = ({ children: e }) => {
|
|
13516
|
-
const { lastHandle: t } = hn(), { factors: n, text: r } =
|
|
13517
|
+
const { lastHandle: t } = hn(), { factors: n, text: r } = Ie(), o = qe(
|
|
13517
13518
|
() => n.filter((i) => di(i)),
|
|
13518
13519
|
[n]
|
|
13519
13520
|
), a = qe(() => ui(n), [n]);
|
|
@@ -13525,7 +13526,7 @@ const Fb = {
|
|
|
13525
13526
|
defaultValue: vr(t, a[0])
|
|
13526
13527
|
}
|
|
13527
13528
|
) }) : /* @__PURE__ */ f.jsx(
|
|
13528
|
-
|
|
13529
|
+
I_,
|
|
13529
13530
|
{
|
|
13530
13531
|
testId: "sid-handle-type-tabs",
|
|
13531
13532
|
className: ut({ marginY: "6" }),
|
|
@@ -13588,7 +13589,7 @@ const Fb = {
|
|
|
13588
13589
|
};
|
|
13589
13590
|
gi.displayName = "Input";
|
|
13590
13591
|
const vi = ({ children: e }) => {
|
|
13591
|
-
const { text: t } =
|
|
13592
|
+
const { text: t } = Ie(), { status: n } = to();
|
|
13592
13593
|
return typeof e == "function" ? /* @__PURE__ */ f.jsx(f.Fragment, { children: e({ text: t, status: n }) }) : rt.count(e) > 0 ? /* @__PURE__ */ f.jsx(f.Fragment, { children: e }) : /* @__PURE__ */ f.jsx(
|
|
13593
13594
|
Bt,
|
|
13594
13595
|
{
|
|
@@ -13612,7 +13613,7 @@ const _r = ({
|
|
|
13612
13613
|
const { setSelectedFactor: r, submitPayloadRef: o, lastFactor: a } = hn(), i = qe(
|
|
13613
13614
|
() => X_(t, e).filter((y) => !rd(y)),
|
|
13614
13615
|
[t, e]
|
|
13615
|
-
), { text: s, defaultCountryCode: l } =
|
|
13616
|
+
), { text: s, defaultCountryCode: l } = Ie(), { registerField: u, values: d, resetForm: p } = to(), _ = i.length > 1, m = Q_(n ?? ""), [b, h] = Ce(
|
|
13616
13617
|
Va((m == null ? void 0 : m.countryCode) ?? l)
|
|
13617
13618
|
), v = qe(() => a && di(a) && i.find(({ method: y }) => a.method === y) ? a : i[0], [i, a]);
|
|
13618
13619
|
xe(() => {
|
|
@@ -13723,7 +13724,7 @@ tr.Submit = vi;
|
|
|
13723
13724
|
const yi = ({
|
|
13724
13725
|
children: e
|
|
13725
13726
|
}) => {
|
|
13726
|
-
const { text: t } =
|
|
13727
|
+
const { text: t } = Ie(), n = Y.useMemo(() => /* @__PURE__ */ f.jsxs("div", { className: Nb, children: [
|
|
13727
13728
|
/* @__PURE__ */ f.jsx(
|
|
13728
13729
|
Mr,
|
|
13729
13730
|
{
|
|
@@ -13753,7 +13754,7 @@ const Hb = {
|
|
|
13753
13754
|
bitbucket: /* @__PURE__ */ f.jsx(Fm, {}),
|
|
13754
13755
|
azuread: /* @__PURE__ */ f.jsx(Dm, {}),
|
|
13755
13756
|
okta: /* @__PURE__ */ f.jsx(Wm, {}),
|
|
13756
|
-
apple: /* @__PURE__ */ f.jsx(
|
|
13757
|
+
apple: /* @__PURE__ */ f.jsx(Am, {})
|
|
13757
13758
|
}, Ub = {
|
|
13758
13759
|
google: "Google",
|
|
13759
13760
|
facebook: "Facebook",
|
|
@@ -13767,7 +13768,7 @@ const Hb = {
|
|
|
13767
13768
|
};
|
|
13768
13769
|
function Bb({ provider: e, handleClick: t }) {
|
|
13769
13770
|
var n;
|
|
13770
|
-
const { text: r } =
|
|
13771
|
+
const { text: r } = Ie();
|
|
13771
13772
|
return (n = e.options) != null && n.provider_credentials_id ? /* @__PURE__ */ f.jsxs(
|
|
13772
13773
|
Bt,
|
|
13773
13774
|
{
|
|
@@ -13800,7 +13801,7 @@ function Vb({ logo: e, id: t }) {
|
|
|
13800
13801
|
}
|
|
13801
13802
|
function Wb({ provider: e, handleClick: t }) {
|
|
13802
13803
|
var n, r, o;
|
|
13803
|
-
const { text: a } =
|
|
13804
|
+
const { text: a } = Ie();
|
|
13804
13805
|
return (n = e.options) != null && n.provider ? /* @__PURE__ */ f.jsxs(
|
|
13805
13806
|
Bt,
|
|
13806
13807
|
{
|
|
@@ -13822,7 +13823,7 @@ function cd({ providers: e, handleClick: t }) {
|
|
|
13822
13823
|
className: le(
|
|
13823
13824
|
"sid-form-sso",
|
|
13824
13825
|
ut({ marginTop: "4" }),
|
|
13825
|
-
|
|
13826
|
+
Ob
|
|
13826
13827
|
),
|
|
13827
13828
|
children: e.map((n) => {
|
|
13828
13829
|
var r, o;
|
|
@@ -13853,7 +13854,7 @@ function cd({ providers: e, handleClick: t }) {
|
|
|
13853
13854
|
) : null;
|
|
13854
13855
|
}
|
|
13855
13856
|
const ud = () => {
|
|
13856
|
-
const { factors: e, text: t } =
|
|
13857
|
+
const { factors: e, text: t } = Ie(), n = qe(
|
|
13857
13858
|
() => J_(e),
|
|
13858
13859
|
[e]
|
|
13859
13860
|
);
|
|
@@ -13861,14 +13862,14 @@ const ud = () => {
|
|
|
13861
13862
|
}, dd = ({
|
|
13862
13863
|
children: e
|
|
13863
13864
|
}) => {
|
|
13864
|
-
const { factors: t } =
|
|
13865
|
+
const { factors: t } = Ie(), { handleSubmit: n } = hn(), r = t.filter(rd), o = Y.useMemo(() => /* @__PURE__ */ f.jsx(cd, { providers: r, handleClick: n }), [n, r]);
|
|
13865
13866
|
return typeof e == "function" ? /* @__PURE__ */ f.jsx(f.Fragment, { children: e({ factors: r, handleClick: n }) }) : Y.Children.count(e) > 0 ? /* @__PURE__ */ f.jsx(f.Fragment, { children: e }) : o;
|
|
13866
13867
|
};
|
|
13867
13868
|
dd.displayName = "OIDC";
|
|
13868
13869
|
const _i = ({
|
|
13869
13870
|
children: e
|
|
13870
13871
|
}) => {
|
|
13871
|
-
const { factors: t } =
|
|
13872
|
+
const { factors: t } = Ie(), { handleSubmit: n } = hn(), r = t.filter(xa), o = Y.useMemo(() => /* @__PURE__ */ f.jsx(cd, { providers: r, handleClick: n }), [n, r]);
|
|
13872
13873
|
return typeof e == "function" ? /* @__PURE__ */ f.jsx(f.Fragment, { children: e({ factors: r, handleClick: n }) }) : Y.Children.count(e) > 0 ? /* @__PURE__ */ f.jsx(f.Fragment, { children: e }) : o;
|
|
13873
13874
|
};
|
|
13874
13875
|
_i.displayName = "SSO";
|
|
@@ -13916,18 +13917,18 @@ function Pn(...e) {
|
|
|
13916
13917
|
};
|
|
13917
13918
|
}
|
|
13918
13919
|
const Kb = (e) => Object.entries(e), Zb = new Set(F_), Xb = {
|
|
13919
|
-
"--sid-color-primary": Pn(
|
|
13920
|
-
"--sid-color-primary-hover": Pn(
|
|
13921
|
-
"--sid-color-secondary": Pn(
|
|
13922
|
-
"--sid-color-tertiary": Pn(
|
|
13923
|
-
"--sid-color-foreground": Pn(
|
|
13920
|
+
"--sid-color-primary": Pn(Nt, Mn),
|
|
13921
|
+
"--sid-color-primary-hover": Pn(Nt, Mn),
|
|
13922
|
+
"--sid-color-secondary": Pn(Nt, Mn),
|
|
13923
|
+
"--sid-color-tertiary": Pn(Nt, Mn),
|
|
13924
|
+
"--sid-color-foreground": Pn(Nt, Mn),
|
|
13924
13925
|
"--sid-font-family": tb,
|
|
13925
13926
|
"--sid-form-logo-width": yr,
|
|
13926
13927
|
"--sid-form-border-radius": yr,
|
|
13927
13928
|
"--sid-button-border-radius": yr,
|
|
13928
13929
|
"--sid-input-border-radius": yr,
|
|
13929
|
-
"--sid-input-border-color":
|
|
13930
|
-
"--sid-input-label-color":
|
|
13930
|
+
"--sid-input-border-color": Nt,
|
|
13931
|
+
"--sid-input-label-color": Nt
|
|
13931
13932
|
}, Jb = (e) => Kb(e).filter((t) => Zb.has(t[0])).reduce((t, [n, r]) => {
|
|
13932
13933
|
if (r === void 0)
|
|
13933
13934
|
return t;
|
|
@@ -13990,8 +13991,8 @@ function l2() {
|
|
|
13990
13991
|
let w = [];
|
|
13991
13992
|
try {
|
|
13992
13993
|
w = await o.getChallengesFromURL();
|
|
13993
|
-
} catch (
|
|
13994
|
-
fc(
|
|
13994
|
+
} catch (T) {
|
|
13995
|
+
fc(T);
|
|
13995
13996
|
}
|
|
13996
13997
|
if (!w || w.length === 0) {
|
|
13997
13998
|
t({ state: "no-challenges", challenges: null });
|
|
@@ -13999,8 +14000,8 @@ function l2() {
|
|
|
13999
14000
|
}
|
|
14000
14001
|
const S = o2(w);
|
|
14001
14002
|
if (S) {
|
|
14002
|
-
const
|
|
14003
|
-
|
|
14003
|
+
const T = a2(S);
|
|
14004
|
+
T && (s2(T.themeVars), r(T), T.logoUrl && i(T.logoUrl));
|
|
14004
14005
|
}
|
|
14005
14006
|
const C = i2(w);
|
|
14006
14007
|
t({ state: "progress", challenges: w, flowType: C });
|