@slashid/jump-page 0.0.8-package.11 → 0.0.8-package.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_astro/app.18b98bb6.js +40 -0
- package/dist/_astro/client.a5ffbec0.js +24 -0
- package/dist/_astro/index.03be2d59.js +9 -0
- package/dist/_astro/sdk.080ae68e.css +1 -0
- package/dist/_astro/sdk.35b1e93e.css +1 -0
- package/dist/favicon.png +0 -0
- package/dist/sdk.html +7 -0
- package/package/dist/_astro/app.18b98bb6.d.ts +2 -0
- package/package/dist/_astro/client.a5ffbec0.d.ts +7 -0
- package/package/dist/_astro/index.03be2d59.d.ts +3 -0
- package/package/main.js +879 -2245
- package/package/main.js.map +1 -1
- package/package/src/components/app/app.context.d.ts +0 -1
- package/package/src/components/card/card.component.d.ts +1 -4
- package/package/src/components/flow/flow.error.d.ts +1 -2
- package/package/src/components/flow/flow.progress.d.ts +1 -3
- package/package/src/components/flow/flow.success.d.ts +1 -3
- package/package/src/components/flow/flow.types.d.ts +0 -6
- package/package/src/components/text/use-i18n.d.ts +1 -1
- package/package/src/main.d.ts +1 -4
- package/package/style.css +1 -1
- package/package.json +7 -8
- package/package/src/components/flow/flow.loading.d.ts +0 -1
package/package/main.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
var ct = (t, e, s) => (xs(t, typeof e != "symbol" ? e + "" : e, s), s);
|
|
4
|
-
import Ce, { useLayoutEffect as dt, forwardRef as vs, useCallback as ms, useState as ue, createContext as zt, useMemo as Et, useContext as Cs, useEffect as St } from "react";
|
|
5
|
-
var Ae = { exports: {} }, ie = {};
|
|
1
|
+
import ce, { useLayoutEffect as Ue, forwardRef as Da, useCallback as La, useState as ae, createContext as ea, useMemo as aa, useContext as Ia, useEffect as Fa } from "react";
|
|
2
|
+
var ye = { exports: {} }, X = {};
|
|
6
3
|
/**
|
|
7
4
|
* @license React
|
|
8
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,25 +9,25 @@ var Ae = { exports: {} }, ie = {};
|
|
|
12
9
|
* This source code is licensed under the MIT license found in the
|
|
13
10
|
* LICENSE file in the root directory of this source tree.
|
|
14
11
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
|
|
26
|
-
if (
|
|
27
|
-
for (
|
|
28
|
-
w
|
|
29
|
-
return { $$typeof:
|
|
30
|
-
}
|
|
31
|
-
return
|
|
32
|
-
}
|
|
33
|
-
var
|
|
12
|
+
var Be;
|
|
13
|
+
function qa() {
|
|
14
|
+
if (Be)
|
|
15
|
+
return X;
|
|
16
|
+
Be = 1;
|
|
17
|
+
var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function v(b, f, g) {
|
|
19
|
+
var w, M = {}, S = null, E = null;
|
|
20
|
+
g !== void 0 && (S = "" + g), f.key !== void 0 && (S = "" + f.key), f.ref !== void 0 && (E = f.ref);
|
|
21
|
+
for (w in f)
|
|
22
|
+
n.call(f, w) && !C.hasOwnProperty(w) && (M[w] = f[w]);
|
|
23
|
+
if (b && b.defaultProps)
|
|
24
|
+
for (w in f = b.defaultProps, f)
|
|
25
|
+
M[w] === void 0 && (M[w] = f[w]);
|
|
26
|
+
return { $$typeof: r, type: b, key: S, ref: E, props: M, _owner: i.current };
|
|
27
|
+
}
|
|
28
|
+
return X.Fragment = o, X.jsx = v, X.jsxs = v, X;
|
|
29
|
+
}
|
|
30
|
+
var ee = {};
|
|
34
31
|
/**
|
|
35
32
|
* @license React
|
|
36
33
|
* react-jsx-runtime.development.js
|
|
@@ -40,91 +37,91 @@ var le = {};
|
|
|
40
37
|
* This source code is licensed under the MIT license found in the
|
|
41
38
|
* LICENSE file in the root directory of this source tree.
|
|
42
39
|
*/
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
if (
|
|
40
|
+
var He;
|
|
41
|
+
function Va() {
|
|
42
|
+
return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), F = Symbol.iterator, fe = "@@iterator";
|
|
44
|
+
function G(e) {
|
|
45
|
+
if (e === null || typeof e != "object")
|
|
49
46
|
return null;
|
|
50
|
-
var
|
|
51
|
-
return typeof
|
|
47
|
+
var t = F && e[F] || e[fe];
|
|
48
|
+
return typeof t == "function" ? t : null;
|
|
52
49
|
}
|
|
53
|
-
var
|
|
54
|
-
function j(
|
|
50
|
+
var D = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function j(e) {
|
|
55
52
|
{
|
|
56
|
-
for (var
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
for (var t = arguments.length, l = new Array(t > 1 ? t - 1 : 0), d = 1; d < t; d++)
|
|
54
|
+
l[d - 1] = arguments[d];
|
|
55
|
+
O("error", e, l);
|
|
59
56
|
}
|
|
60
57
|
}
|
|
61
|
-
function
|
|
58
|
+
function O(e, t, l) {
|
|
62
59
|
{
|
|
63
|
-
var
|
|
64
|
-
|
|
65
|
-
var
|
|
66
|
-
return String(
|
|
60
|
+
var d = D.ReactDebugCurrentFrame, h = d.getStackAddendum();
|
|
61
|
+
h !== "" && (t += "%s", l = l.concat([h]));
|
|
62
|
+
var _ = l.map(function(c) {
|
|
63
|
+
return String(c);
|
|
67
64
|
});
|
|
68
|
-
|
|
65
|
+
_.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, _);
|
|
69
66
|
}
|
|
70
67
|
}
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof
|
|
68
|
+
var he = !1, Oe = !1, p = !1, x = !1, $ = !1, W;
|
|
69
|
+
W = Symbol.for("react.module.reference");
|
|
70
|
+
function re(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === n || e === C || $ || e === i || e === g || e === w || x || e === E || he || Oe || p || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === M || e.$$typeof === v || e.$$typeof === b || e.$$typeof === f || // This needs to include all possible module reference object
|
|
75
72
|
// types supported by any Flight configuration anywhere since
|
|
76
73
|
// we don't know which Flight build this will end up being used
|
|
77
74
|
// with.
|
|
78
|
-
|
|
75
|
+
e.$$typeof === W || e.getModuleId !== void 0));
|
|
79
76
|
}
|
|
80
|
-
function
|
|
81
|
-
var
|
|
82
|
-
if (
|
|
83
|
-
return
|
|
84
|
-
var
|
|
85
|
-
return
|
|
77
|
+
function K(e, t, l) {
|
|
78
|
+
var d = e.displayName;
|
|
79
|
+
if (d)
|
|
80
|
+
return d;
|
|
81
|
+
var h = t.displayName || t.name || "";
|
|
82
|
+
return h !== "" ? l + "(" + h + ")" : l;
|
|
86
83
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
84
|
+
function Y(e) {
|
|
85
|
+
return e.displayName || "Context";
|
|
89
86
|
}
|
|
90
|
-
function R(
|
|
91
|
-
if (
|
|
87
|
+
function R(e) {
|
|
88
|
+
if (e == null)
|
|
92
89
|
return null;
|
|
93
|
-
if (typeof
|
|
94
|
-
return
|
|
95
|
-
if (typeof
|
|
96
|
-
return
|
|
97
|
-
switch (
|
|
98
|
-
case
|
|
90
|
+
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
|
+
return e.displayName || e.name || null;
|
|
92
|
+
if (typeof e == "string")
|
|
93
|
+
return e;
|
|
94
|
+
switch (e) {
|
|
95
|
+
case n:
|
|
99
96
|
return "Fragment";
|
|
100
|
-
case
|
|
97
|
+
case o:
|
|
101
98
|
return "Portal";
|
|
102
|
-
case
|
|
99
|
+
case C:
|
|
103
100
|
return "Profiler";
|
|
104
|
-
case
|
|
101
|
+
case i:
|
|
105
102
|
return "StrictMode";
|
|
106
|
-
case
|
|
103
|
+
case g:
|
|
107
104
|
return "Suspense";
|
|
108
|
-
case
|
|
105
|
+
case w:
|
|
109
106
|
return "SuspenseList";
|
|
110
107
|
}
|
|
111
|
-
if (typeof
|
|
112
|
-
switch (
|
|
108
|
+
if (typeof e == "object")
|
|
109
|
+
switch (e.$$typeof) {
|
|
110
|
+
case b:
|
|
111
|
+
var t = e;
|
|
112
|
+
return Y(t) + ".Consumer";
|
|
113
|
+
case v:
|
|
114
|
+
var l = e;
|
|
115
|
+
return Y(l._context) + ".Provider";
|
|
113
116
|
case f:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return ne(n, n.render, "ForwardRef");
|
|
121
|
-
case w:
|
|
122
|
-
var h = n.displayName || null;
|
|
123
|
-
return h !== null ? h : R(n.type) || "Memo";
|
|
124
|
-
case O: {
|
|
125
|
-
var g = n, v = g._payload, p = g._init;
|
|
117
|
+
return K(e, e.render, "ForwardRef");
|
|
118
|
+
case M:
|
|
119
|
+
var d = e.displayName || null;
|
|
120
|
+
return d !== null ? d : R(e.type) || "Memo";
|
|
121
|
+
case S: {
|
|
122
|
+
var h = e, _ = h._payload, c = h._init;
|
|
126
123
|
try {
|
|
127
|
-
return R(
|
|
124
|
+
return R(c(_));
|
|
128
125
|
} catch {
|
|
129
126
|
return null;
|
|
130
127
|
}
|
|
@@ -132,637 +129,633 @@ function ys() {
|
|
|
132
129
|
}
|
|
133
130
|
return null;
|
|
134
131
|
}
|
|
135
|
-
var
|
|
136
|
-
function
|
|
132
|
+
var T = Object.assign, q = 0, J, U, V, te, N, L, B;
|
|
133
|
+
function se() {
|
|
137
134
|
}
|
|
138
|
-
|
|
139
|
-
function
|
|
135
|
+
se.__reactDisabledLog = !0;
|
|
136
|
+
function ca() {
|
|
140
137
|
{
|
|
141
|
-
if (
|
|
142
|
-
|
|
143
|
-
var
|
|
138
|
+
if (q === 0) {
|
|
139
|
+
J = console.log, U = console.info, V = console.warn, te = console.error, N = console.group, L = console.groupCollapsed, B = console.groupEnd;
|
|
140
|
+
var e = {
|
|
144
141
|
configurable: !0,
|
|
145
142
|
enumerable: !0,
|
|
146
|
-
value:
|
|
143
|
+
value: se,
|
|
147
144
|
writable: !0
|
|
148
145
|
};
|
|
149
146
|
Object.defineProperties(console, {
|
|
150
|
-
info:
|
|
151
|
-
log:
|
|
152
|
-
warn:
|
|
153
|
-
error:
|
|
154
|
-
group:
|
|
155
|
-
groupCollapsed:
|
|
156
|
-
groupEnd:
|
|
147
|
+
info: e,
|
|
148
|
+
log: e,
|
|
149
|
+
warn: e,
|
|
150
|
+
error: e,
|
|
151
|
+
group: e,
|
|
152
|
+
groupCollapsed: e,
|
|
153
|
+
groupEnd: e
|
|
157
154
|
});
|
|
158
155
|
}
|
|
159
|
-
|
|
156
|
+
q++;
|
|
160
157
|
}
|
|
161
158
|
}
|
|
162
|
-
function
|
|
159
|
+
function fa() {
|
|
163
160
|
{
|
|
164
|
-
if (
|
|
165
|
-
var
|
|
161
|
+
if (q--, q === 0) {
|
|
162
|
+
var e = {
|
|
166
163
|
configurable: !0,
|
|
167
164
|
enumerable: !0,
|
|
168
165
|
writable: !0
|
|
169
166
|
};
|
|
170
167
|
Object.defineProperties(console, {
|
|
171
|
-
log:
|
|
172
|
-
value:
|
|
168
|
+
log: T({}, e, {
|
|
169
|
+
value: J
|
|
173
170
|
}),
|
|
174
|
-
info:
|
|
175
|
-
value:
|
|
171
|
+
info: T({}, e, {
|
|
172
|
+
value: U
|
|
176
173
|
}),
|
|
177
|
-
warn:
|
|
178
|
-
value:
|
|
174
|
+
warn: T({}, e, {
|
|
175
|
+
value: V
|
|
179
176
|
}),
|
|
180
|
-
error:
|
|
181
|
-
value:
|
|
177
|
+
error: T({}, e, {
|
|
178
|
+
value: te
|
|
182
179
|
}),
|
|
183
|
-
group:
|
|
184
|
-
value:
|
|
180
|
+
group: T({}, e, {
|
|
181
|
+
value: N
|
|
185
182
|
}),
|
|
186
|
-
groupCollapsed:
|
|
187
|
-
value:
|
|
183
|
+
groupCollapsed: T({}, e, {
|
|
184
|
+
value: L
|
|
188
185
|
}),
|
|
189
|
-
groupEnd:
|
|
190
|
-
value:
|
|
186
|
+
groupEnd: T({}, e, {
|
|
187
|
+
value: B
|
|
191
188
|
})
|
|
192
189
|
});
|
|
193
190
|
}
|
|
194
|
-
|
|
191
|
+
q < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
192
|
}
|
|
196
193
|
}
|
|
197
|
-
var
|
|
198
|
-
function
|
|
194
|
+
var be = D.ReactCurrentDispatcher, _e;
|
|
195
|
+
function oe(e, t, l) {
|
|
199
196
|
{
|
|
200
|
-
if (
|
|
197
|
+
if (_e === void 0)
|
|
201
198
|
try {
|
|
202
199
|
throw Error();
|
|
203
|
-
} catch (
|
|
204
|
-
var
|
|
205
|
-
|
|
200
|
+
} catch (h) {
|
|
201
|
+
var d = h.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
_e = d && d[1] || "";
|
|
206
203
|
}
|
|
207
204
|
return `
|
|
208
|
-
` +
|
|
205
|
+
` + _e + e;
|
|
209
206
|
}
|
|
210
207
|
}
|
|
211
|
-
var
|
|
208
|
+
var xe = !1, ne;
|
|
212
209
|
{
|
|
213
|
-
var
|
|
214
|
-
|
|
210
|
+
var ha = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
ne = new ha();
|
|
215
212
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!
|
|
213
|
+
function Se(e, t) {
|
|
214
|
+
if (!e || xe)
|
|
218
215
|
return "";
|
|
219
216
|
{
|
|
220
|
-
var
|
|
221
|
-
if (
|
|
222
|
-
return
|
|
217
|
+
var l = ne.get(e);
|
|
218
|
+
if (l !== void 0)
|
|
219
|
+
return l;
|
|
223
220
|
}
|
|
224
|
-
var
|
|
225
|
-
|
|
226
|
-
var
|
|
221
|
+
var d;
|
|
222
|
+
xe = !0;
|
|
223
|
+
var h = Error.prepareStackTrace;
|
|
227
224
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
225
|
+
var _;
|
|
226
|
+
_ = be.current, be.current = null, ca();
|
|
230
227
|
try {
|
|
231
|
-
if (
|
|
232
|
-
var
|
|
228
|
+
if (t) {
|
|
229
|
+
var c = function() {
|
|
233
230
|
throw Error();
|
|
234
231
|
};
|
|
235
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(c.prototype, "props", {
|
|
236
233
|
set: function() {
|
|
237
234
|
throw Error();
|
|
238
235
|
}
|
|
239
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
237
|
try {
|
|
241
|
-
Reflect.construct(
|
|
242
|
-
} catch (
|
|
243
|
-
|
|
238
|
+
Reflect.construct(c, []);
|
|
239
|
+
} catch (I) {
|
|
240
|
+
d = I;
|
|
244
241
|
}
|
|
245
|
-
Reflect.construct(
|
|
242
|
+
Reflect.construct(e, [], c);
|
|
246
243
|
} else {
|
|
247
244
|
try {
|
|
248
|
-
|
|
249
|
-
} catch (
|
|
250
|
-
|
|
245
|
+
c.call();
|
|
246
|
+
} catch (I) {
|
|
247
|
+
d = I;
|
|
251
248
|
}
|
|
252
|
-
|
|
249
|
+
e.call(c.prototype);
|
|
253
250
|
}
|
|
254
251
|
} else {
|
|
255
252
|
try {
|
|
256
253
|
throw Error();
|
|
257
|
-
} catch (
|
|
258
|
-
|
|
254
|
+
} catch (I) {
|
|
255
|
+
d = I;
|
|
259
256
|
}
|
|
260
|
-
|
|
257
|
+
e();
|
|
261
258
|
}
|
|
262
|
-
} catch (
|
|
263
|
-
if (
|
|
264
|
-
for (var
|
|
265
|
-
`),
|
|
266
|
-
`),
|
|
267
|
-
|
|
268
|
-
for (;
|
|
269
|
-
if (
|
|
270
|
-
if (
|
|
259
|
+
} catch (I) {
|
|
260
|
+
if (I && d && typeof I.stack == "string") {
|
|
261
|
+
for (var u = I.stack.split(`
|
|
262
|
+
`), k = d.stack.split(`
|
|
263
|
+
`), m = u.length - 1, y = k.length - 1; m >= 1 && y >= 0 && u[m] !== k[y]; )
|
|
264
|
+
y--;
|
|
265
|
+
for (; m >= 1 && y >= 0; m--, y--)
|
|
266
|
+
if (u[m] !== k[y]) {
|
|
267
|
+
if (m !== 1 || y !== 1)
|
|
271
268
|
do
|
|
272
|
-
if (
|
|
273
|
-
var
|
|
274
|
-
` +
|
|
275
|
-
return
|
|
269
|
+
if (m--, y--, y < 0 || u[m] !== k[y]) {
|
|
270
|
+
var P = `
|
|
271
|
+
` + u[m].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
|
|
276
273
|
}
|
|
277
|
-
while (
|
|
274
|
+
while (m >= 1 && y >= 0);
|
|
278
275
|
break;
|
|
279
276
|
}
|
|
280
277
|
}
|
|
281
278
|
} finally {
|
|
282
|
-
|
|
279
|
+
xe = !1, be.current = _, fa(), Error.prepareStackTrace = h;
|
|
283
280
|
}
|
|
284
|
-
var
|
|
285
|
-
return typeof
|
|
281
|
+
var Z = e ? e.displayName || e.name : "", Ye = Z ? oe(Z) : "";
|
|
282
|
+
return typeof e == "function" && ne.set(e, Ye), Ye;
|
|
286
283
|
}
|
|
287
|
-
function
|
|
288
|
-
return
|
|
284
|
+
function ba(e, t, l) {
|
|
285
|
+
return Se(e, !1);
|
|
289
286
|
}
|
|
290
|
-
function
|
|
291
|
-
var
|
|
292
|
-
return !!(
|
|
287
|
+
function _a(e) {
|
|
288
|
+
var t = e.prototype;
|
|
289
|
+
return !!(t && t.isReactComponent);
|
|
293
290
|
}
|
|
294
|
-
function
|
|
295
|
-
if (
|
|
291
|
+
function le(e, t, l) {
|
|
292
|
+
if (e == null)
|
|
296
293
|
return "";
|
|
297
|
-
if (typeof
|
|
298
|
-
return
|
|
299
|
-
if (typeof
|
|
300
|
-
return
|
|
301
|
-
switch (
|
|
302
|
-
case
|
|
303
|
-
return
|
|
304
|
-
case
|
|
305
|
-
return
|
|
294
|
+
if (typeof e == "function")
|
|
295
|
+
return Se(e, _a(e));
|
|
296
|
+
if (typeof e == "string")
|
|
297
|
+
return oe(e);
|
|
298
|
+
switch (e) {
|
|
299
|
+
case g:
|
|
300
|
+
return oe("Suspense");
|
|
301
|
+
case w:
|
|
302
|
+
return oe("SuspenseList");
|
|
306
303
|
}
|
|
307
|
-
if (typeof
|
|
308
|
-
switch (
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
return
|
|
313
|
-
case
|
|
314
|
-
var
|
|
304
|
+
if (typeof e == "object")
|
|
305
|
+
switch (e.$$typeof) {
|
|
306
|
+
case f:
|
|
307
|
+
return ba(e.render);
|
|
308
|
+
case M:
|
|
309
|
+
return le(e.type, t, l);
|
|
310
|
+
case S: {
|
|
311
|
+
var d = e, h = d._payload, _ = d._init;
|
|
315
312
|
try {
|
|
316
|
-
return
|
|
313
|
+
return le(_(h), t, l);
|
|
317
314
|
} catch {
|
|
318
315
|
}
|
|
319
316
|
}
|
|
320
317
|
}
|
|
321
318
|
return "";
|
|
322
319
|
}
|
|
323
|
-
var
|
|
324
|
-
function
|
|
325
|
-
if (
|
|
326
|
-
var
|
|
327
|
-
|
|
320
|
+
var ie = Object.prototype.hasOwnProperty, Pe = {}, Te = D.ReactDebugCurrentFrame;
|
|
321
|
+
function de(e) {
|
|
322
|
+
if (e) {
|
|
323
|
+
var t = e._owner, l = le(e.type, e._source, t ? t.type : null);
|
|
324
|
+
Te.setExtraStackFrame(l);
|
|
328
325
|
} else
|
|
329
|
-
|
|
326
|
+
Te.setExtraStackFrame(null);
|
|
330
327
|
}
|
|
331
|
-
function
|
|
328
|
+
function xa(e, t, l, d, h) {
|
|
332
329
|
{
|
|
333
|
-
var
|
|
334
|
-
for (var
|
|
335
|
-
if (
|
|
336
|
-
var
|
|
330
|
+
var _ = Function.call.bind(ie);
|
|
331
|
+
for (var c in e)
|
|
332
|
+
if (_(e, c)) {
|
|
333
|
+
var u = void 0;
|
|
337
334
|
try {
|
|
338
|
-
if (typeof
|
|
339
|
-
var
|
|
340
|
-
throw
|
|
335
|
+
if (typeof e[c] != "function") {
|
|
336
|
+
var k = Error((d || "React class") + ": " + l + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw k.name = "Invariant Violation", k;
|
|
341
338
|
}
|
|
342
|
-
|
|
343
|
-
} catch (
|
|
344
|
-
|
|
339
|
+
u = e[c](t, c, d, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (m) {
|
|
341
|
+
u = m;
|
|
345
342
|
}
|
|
346
|
-
|
|
343
|
+
u && !(u instanceof Error) && (de(h), j("%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).", d || "React class", l, c, typeof u), de(null)), u instanceof Error && !(u.message in Pe) && (Pe[u.message] = !0, de(h), j("Failed %s type: %s", l, u.message), de(null));
|
|
347
344
|
}
|
|
348
345
|
}
|
|
349
346
|
}
|
|
350
|
-
var
|
|
351
|
-
function
|
|
352
|
-
return
|
|
347
|
+
var va = Array.isArray;
|
|
348
|
+
function ve(e) {
|
|
349
|
+
return va(e);
|
|
353
350
|
}
|
|
354
|
-
function
|
|
351
|
+
function pa(e) {
|
|
355
352
|
{
|
|
356
|
-
var
|
|
357
|
-
return
|
|
353
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, l = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return l;
|
|
358
355
|
}
|
|
359
356
|
}
|
|
360
|
-
function
|
|
357
|
+
function Ca(e) {
|
|
361
358
|
try {
|
|
362
|
-
return
|
|
359
|
+
return Ne(e), !1;
|
|
363
360
|
} catch {
|
|
364
361
|
return !0;
|
|
365
362
|
}
|
|
366
363
|
}
|
|
367
|
-
function
|
|
368
|
-
return "" +
|
|
364
|
+
function Ne(e) {
|
|
365
|
+
return "" + e;
|
|
369
366
|
}
|
|
370
|
-
function
|
|
371
|
-
if (
|
|
372
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
367
|
+
function Ae(e) {
|
|
368
|
+
if (Ca(e))
|
|
369
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(e)), Ne(e);
|
|
373
370
|
}
|
|
374
|
-
var
|
|
371
|
+
var Q = D.ReactCurrentOwner, ma = {
|
|
375
372
|
key: !0,
|
|
376
373
|
ref: !0,
|
|
377
374
|
__self: !0,
|
|
378
375
|
__source: !0
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
function
|
|
382
|
-
if (
|
|
383
|
-
var
|
|
384
|
-
if (
|
|
376
|
+
}, De, Le, pe;
|
|
377
|
+
pe = {};
|
|
378
|
+
function za(e) {
|
|
379
|
+
if (ie.call(e, "ref")) {
|
|
380
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (t && t.isReactWarning)
|
|
385
382
|
return !1;
|
|
386
383
|
}
|
|
387
|
-
return
|
|
384
|
+
return e.ref !== void 0;
|
|
388
385
|
}
|
|
389
|
-
function
|
|
390
|
-
if (
|
|
391
|
-
var
|
|
392
|
-
if (
|
|
386
|
+
function ga(e) {
|
|
387
|
+
if (ie.call(e, "key")) {
|
|
388
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (t && t.isReactWarning)
|
|
393
390
|
return !1;
|
|
394
391
|
}
|
|
395
|
-
return
|
|
392
|
+
return e.key !== void 0;
|
|
396
393
|
}
|
|
397
|
-
function
|
|
398
|
-
if (typeof
|
|
399
|
-
var
|
|
400
|
-
|
|
394
|
+
function wa(e, t) {
|
|
395
|
+
if (typeof e.ref == "string" && Q.current && t && Q.current.stateNode !== t) {
|
|
396
|
+
var l = R(Q.current.type);
|
|
397
|
+
pe[l] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(Q.current.type), e.ref), pe[l] = !0);
|
|
401
398
|
}
|
|
402
399
|
}
|
|
403
|
-
function
|
|
400
|
+
function ya(e, t) {
|
|
404
401
|
{
|
|
405
|
-
var
|
|
406
|
-
|
|
402
|
+
var l = function() {
|
|
403
|
+
De || (De = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
407
404
|
};
|
|
408
|
-
|
|
409
|
-
get:
|
|
405
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
+
get: l,
|
|
410
407
|
configurable: !0
|
|
411
408
|
});
|
|
412
409
|
}
|
|
413
410
|
}
|
|
414
|
-
function
|
|
411
|
+
function ja(e, t) {
|
|
415
412
|
{
|
|
416
|
-
var
|
|
417
|
-
|
|
413
|
+
var l = function() {
|
|
414
|
+
Le || (Le = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
418
415
|
};
|
|
419
|
-
|
|
420
|
-
get:
|
|
416
|
+
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
+
get: l,
|
|
421
418
|
configurable: !0
|
|
422
419
|
});
|
|
423
420
|
}
|
|
424
421
|
}
|
|
425
|
-
var
|
|
426
|
-
var
|
|
422
|
+
var Ea = function(e, t, l, d, h, _, c) {
|
|
423
|
+
var u = {
|
|
427
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
|
-
$$typeof:
|
|
425
|
+
$$typeof: r,
|
|
429
426
|
// Built-in properties that belong on the element
|
|
430
|
-
type:
|
|
431
|
-
key:
|
|
432
|
-
ref:
|
|
433
|
-
props:
|
|
427
|
+
type: e,
|
|
428
|
+
key: t,
|
|
429
|
+
ref: l,
|
|
430
|
+
props: c,
|
|
434
431
|
// Record the component responsible for creating this element.
|
|
435
|
-
_owner:
|
|
432
|
+
_owner: _
|
|
436
433
|
};
|
|
437
|
-
return
|
|
434
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
438
435
|
configurable: !1,
|
|
439
436
|
enumerable: !1,
|
|
440
437
|
writable: !0,
|
|
441
438
|
value: !1
|
|
442
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(u, "_self", {
|
|
443
440
|
configurable: !1,
|
|
444
441
|
enumerable: !1,
|
|
445
442
|
writable: !1,
|
|
446
|
-
value:
|
|
447
|
-
}), Object.defineProperty(
|
|
443
|
+
value: d
|
|
444
|
+
}), Object.defineProperty(u, "_source", {
|
|
448
445
|
configurable: !1,
|
|
449
446
|
enumerable: !1,
|
|
450
447
|
writable: !1,
|
|
451
|
-
value:
|
|
452
|
-
}), Object.freeze && (Object.freeze(
|
|
448
|
+
value: h
|
|
449
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
453
450
|
};
|
|
454
|
-
function
|
|
451
|
+
function Ma(e, t, l, d, h) {
|
|
455
452
|
{
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
for (
|
|
459
|
-
|
|
460
|
-
if (
|
|
461
|
-
var
|
|
462
|
-
for (
|
|
463
|
-
|
|
453
|
+
var _, c = {}, u = null, k = null;
|
|
454
|
+
l !== void 0 && (Ae(l), u = "" + l), ga(t) && (Ae(t.key), u = "" + t.key), za(t) && (k = t.ref, wa(t, h));
|
|
455
|
+
for (_ in t)
|
|
456
|
+
ie.call(t, _) && !ma.hasOwnProperty(_) && (c[_] = t[_]);
|
|
457
|
+
if (e && e.defaultProps) {
|
|
458
|
+
var m = e.defaultProps;
|
|
459
|
+
for (_ in m)
|
|
460
|
+
c[_] === void 0 && (c[_] = m[_]);
|
|
464
461
|
}
|
|
465
|
-
if (
|
|
466
|
-
var
|
|
467
|
-
|
|
462
|
+
if (u || k) {
|
|
463
|
+
var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
+
u && ya(c, y), k && ja(c, y);
|
|
468
465
|
}
|
|
469
|
-
return
|
|
466
|
+
return Ea(e, u, k, h, d, Q.current, c);
|
|
470
467
|
}
|
|
471
468
|
}
|
|
472
|
-
var
|
|
473
|
-
function
|
|
474
|
-
if (
|
|
475
|
-
var
|
|
476
|
-
|
|
469
|
+
var Ce = D.ReactCurrentOwner, Ie = D.ReactDebugCurrentFrame;
|
|
470
|
+
function H(e) {
|
|
471
|
+
if (e) {
|
|
472
|
+
var t = e._owner, l = le(e.type, e._source, t ? t.type : null);
|
|
473
|
+
Ie.setExtraStackFrame(l);
|
|
477
474
|
} else
|
|
478
|
-
|
|
475
|
+
Ie.setExtraStackFrame(null);
|
|
479
476
|
}
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
-
function
|
|
483
|
-
return typeof
|
|
477
|
+
var me;
|
|
478
|
+
me = !1;
|
|
479
|
+
function ze(e) {
|
|
480
|
+
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
484
481
|
}
|
|
485
|
-
function
|
|
482
|
+
function Fe() {
|
|
486
483
|
{
|
|
487
|
-
if (
|
|
488
|
-
var
|
|
489
|
-
if (
|
|
484
|
+
if (Ce.current) {
|
|
485
|
+
var e = R(Ce.current.type);
|
|
486
|
+
if (e)
|
|
490
487
|
return `
|
|
491
488
|
|
|
492
|
-
Check the render method of \`` +
|
|
489
|
+
Check the render method of \`` + e + "`.";
|
|
493
490
|
}
|
|
494
491
|
return "";
|
|
495
492
|
}
|
|
496
493
|
}
|
|
497
|
-
function
|
|
494
|
+
function Ra(e) {
|
|
498
495
|
{
|
|
499
|
-
if (
|
|
500
|
-
var
|
|
496
|
+
if (e !== void 0) {
|
|
497
|
+
var t = e.fileName.replace(/^.*[\\\/]/, ""), l = e.lineNumber;
|
|
501
498
|
return `
|
|
502
499
|
|
|
503
|
-
Check your code at ` +
|
|
500
|
+
Check your code at ` + t + ":" + l + ".";
|
|
504
501
|
}
|
|
505
502
|
return "";
|
|
506
503
|
}
|
|
507
504
|
}
|
|
508
|
-
var
|
|
509
|
-
function
|
|
505
|
+
var qe = {};
|
|
506
|
+
function ka(e) {
|
|
510
507
|
{
|
|
511
|
-
var
|
|
512
|
-
if (!
|
|
513
|
-
var
|
|
514
|
-
|
|
508
|
+
var t = Fe();
|
|
509
|
+
if (!t) {
|
|
510
|
+
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
511
|
+
l && (t = `
|
|
515
512
|
|
|
516
|
-
Check the top-level render call using <` +
|
|
513
|
+
Check the top-level render call using <` + l + ">.");
|
|
517
514
|
}
|
|
518
|
-
return
|
|
515
|
+
return t;
|
|
519
516
|
}
|
|
520
517
|
}
|
|
521
|
-
function
|
|
518
|
+
function Ve(e, t) {
|
|
522
519
|
{
|
|
523
|
-
if (!
|
|
520
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
524
521
|
return;
|
|
525
|
-
|
|
526
|
-
var
|
|
527
|
-
if (
|
|
522
|
+
e._store.validated = !0;
|
|
523
|
+
var l = ka(t);
|
|
524
|
+
if (qe[l])
|
|
528
525
|
return;
|
|
529
|
-
|
|
530
|
-
var
|
|
531
|
-
|
|
526
|
+
qe[l] = !0;
|
|
527
|
+
var d = "";
|
|
528
|
+
e && e._owner && e._owner !== Ce.current && (d = " It was passed a child from " + R(e._owner.type) + "."), H(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, d), H(null);
|
|
532
529
|
}
|
|
533
530
|
}
|
|
534
|
-
function
|
|
531
|
+
function $e(e, t) {
|
|
535
532
|
{
|
|
536
|
-
if (typeof
|
|
533
|
+
if (typeof e != "object")
|
|
537
534
|
return;
|
|
538
|
-
if (
|
|
539
|
-
for (var
|
|
540
|
-
var
|
|
541
|
-
|
|
535
|
+
if (ve(e))
|
|
536
|
+
for (var l = 0; l < e.length; l++) {
|
|
537
|
+
var d = e[l];
|
|
538
|
+
ze(d) && Ve(d, t);
|
|
542
539
|
}
|
|
543
|
-
else if (
|
|
544
|
-
|
|
545
|
-
else if (
|
|
546
|
-
var
|
|
547
|
-
if (typeof
|
|
548
|
-
for (var
|
|
549
|
-
|
|
540
|
+
else if (ze(e))
|
|
541
|
+
e._store && (e._store.validated = !0);
|
|
542
|
+
else if (e) {
|
|
543
|
+
var h = G(e);
|
|
544
|
+
if (typeof h == "function" && h !== e.entries)
|
|
545
|
+
for (var _ = h.call(e), c; !(c = _.next()).done; )
|
|
546
|
+
ze(c.value) && Ve(c.value, t);
|
|
550
547
|
}
|
|
551
548
|
}
|
|
552
549
|
}
|
|
553
|
-
function
|
|
550
|
+
function Oa(e) {
|
|
554
551
|
{
|
|
555
|
-
var
|
|
556
|
-
if (
|
|
552
|
+
var t = e.type;
|
|
553
|
+
if (t == null || typeof t == "string")
|
|
557
554
|
return;
|
|
558
|
-
var
|
|
559
|
-
if (typeof
|
|
560
|
-
|
|
561
|
-
else if (typeof
|
|
555
|
+
var l;
|
|
556
|
+
if (typeof t == "function")
|
|
557
|
+
l = t.propTypes;
|
|
558
|
+
else if (typeof t == "object" && (t.$$typeof === f || // Note: Memo only checks outer props here.
|
|
562
559
|
// Inner props are checked in the reconciler.
|
|
563
|
-
|
|
564
|
-
|
|
560
|
+
t.$$typeof === M))
|
|
561
|
+
l = t.propTypes;
|
|
565
562
|
else
|
|
566
563
|
return;
|
|
567
|
-
if (
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
} else if (
|
|
571
|
-
|
|
572
|
-
var
|
|
573
|
-
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
564
|
+
if (l) {
|
|
565
|
+
var d = R(t);
|
|
566
|
+
xa(l, e.props, "prop", d, e);
|
|
567
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
568
|
+
me = !0;
|
|
569
|
+
var h = R(t);
|
|
570
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
574
571
|
}
|
|
575
|
-
typeof
|
|
572
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
573
|
}
|
|
577
574
|
}
|
|
578
|
-
function
|
|
575
|
+
function Sa(e) {
|
|
579
576
|
{
|
|
580
|
-
for (var
|
|
581
|
-
var
|
|
582
|
-
if (
|
|
583
|
-
|
|
577
|
+
for (var t = Object.keys(e.props), l = 0; l < t.length; l++) {
|
|
578
|
+
var d = t[l];
|
|
579
|
+
if (d !== "children" && d !== "key") {
|
|
580
|
+
H(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), H(null);
|
|
584
581
|
break;
|
|
585
582
|
}
|
|
586
583
|
}
|
|
587
|
-
|
|
584
|
+
e.ref !== null && (H(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
588
585
|
}
|
|
589
586
|
}
|
|
590
|
-
function
|
|
587
|
+
function We(e, t, l, d, h, _) {
|
|
591
588
|
{
|
|
592
|
-
var
|
|
593
|
-
if (!
|
|
594
|
-
var
|
|
595
|
-
(
|
|
596
|
-
var
|
|
597
|
-
|
|
598
|
-
var
|
|
599
|
-
|
|
589
|
+
var c = re(e);
|
|
590
|
+
if (!c) {
|
|
591
|
+
var u = "";
|
|
592
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
593
|
+
var k = Ra(h);
|
|
594
|
+
k ? u += k : u += Fe();
|
|
595
|
+
var m;
|
|
596
|
+
e === null ? m = "null" : ve(e) ? m = "array" : e !== void 0 && e.$$typeof === r ? (m = "<" + (R(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, u);
|
|
600
597
|
}
|
|
601
|
-
var
|
|
602
|
-
if (
|
|
603
|
-
return
|
|
604
|
-
if (
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
if (
|
|
608
|
-
if (
|
|
609
|
-
for (var
|
|
610
|
-
|
|
611
|
-
Object.freeze && Object.freeze(
|
|
598
|
+
var y = Ma(e, t, l, h, _);
|
|
599
|
+
if (y == null)
|
|
600
|
+
return y;
|
|
601
|
+
if (c) {
|
|
602
|
+
var P = t.children;
|
|
603
|
+
if (P !== void 0)
|
|
604
|
+
if (d)
|
|
605
|
+
if (ve(P)) {
|
|
606
|
+
for (var Z = 0; Z < P.length; Z++)
|
|
607
|
+
$e(P[Z], e);
|
|
608
|
+
Object.freeze && Object.freeze(P);
|
|
612
609
|
} else
|
|
613
610
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
614
611
|
else
|
|
615
|
-
|
|
612
|
+
$e(P, e);
|
|
616
613
|
}
|
|
617
|
-
return
|
|
614
|
+
return e === n ? Sa(y) : Oa(y), y;
|
|
618
615
|
}
|
|
619
616
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
617
|
+
function Pa(e, t, l) {
|
|
618
|
+
return We(e, t, l, !0);
|
|
622
619
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
620
|
+
function Ta(e, t, l) {
|
|
621
|
+
return We(e, t, l, !1);
|
|
625
622
|
}
|
|
626
|
-
var
|
|
627
|
-
|
|
628
|
-
}()),
|
|
629
|
-
}
|
|
630
|
-
process.env.NODE_ENV === "production" ?
|
|
631
|
-
var
|
|
632
|
-
function
|
|
633
|
-
var
|
|
634
|
-
if (typeof
|
|
635
|
-
|
|
636
|
-
else if (typeof
|
|
637
|
-
if (Array.isArray(
|
|
638
|
-
var
|
|
639
|
-
for (
|
|
640
|
-
|
|
623
|
+
var Na = Ta, Aa = Pa;
|
|
624
|
+
ee.Fragment = n, ee.jsx = Na, ee.jsxs = Aa;
|
|
625
|
+
}()), ee;
|
|
626
|
+
}
|
|
627
|
+
process.env.NODE_ENV === "production" ? ye.exports = qa() : ye.exports = Va();
|
|
628
|
+
var s = ye.exports;
|
|
629
|
+
function ra(a) {
|
|
630
|
+
var r, o, n = "";
|
|
631
|
+
if (typeof a == "string" || typeof a == "number")
|
|
632
|
+
n += a;
|
|
633
|
+
else if (typeof a == "object")
|
|
634
|
+
if (Array.isArray(a)) {
|
|
635
|
+
var i = a.length;
|
|
636
|
+
for (r = 0; r < i; r++)
|
|
637
|
+
a[r] && (o = ra(a[r])) && (n && (n += " "), n += o);
|
|
641
638
|
} else
|
|
642
|
-
for (
|
|
643
|
-
|
|
644
|
-
return
|
|
639
|
+
for (o in a)
|
|
640
|
+
a[o] && (n && (n += " "), n += o);
|
|
641
|
+
return n;
|
|
645
642
|
}
|
|
646
|
-
function
|
|
647
|
-
for (var
|
|
648
|
-
(
|
|
649
|
-
return
|
|
643
|
+
function A() {
|
|
644
|
+
for (var a, r, o = 0, n = "", i = arguments.length; o < i; o++)
|
|
645
|
+
(a = arguments[o]) && (r = ra(a)) && (n && (n += " "), n += r);
|
|
646
|
+
return n;
|
|
650
647
|
}
|
|
651
|
-
var
|
|
652
|
-
function
|
|
648
|
+
var $a = "y2413r0", Wa = "y2413r1", Ya = "y2413r2", Ua = "y2413r3", Ze = "sid-theme-root";
|
|
649
|
+
function Ba() {
|
|
653
650
|
return typeof window < "u" && globalThis === window;
|
|
654
651
|
}
|
|
655
|
-
function
|
|
656
|
-
return
|
|
657
|
-
|
|
658
|
-
`${
|
|
659
|
-
|
|
652
|
+
function ta({ theme: a, className: r }) {
|
|
653
|
+
return A(
|
|
654
|
+
Ze,
|
|
655
|
+
`${Ze}__${a}`,
|
|
656
|
+
Ua,
|
|
660
657
|
{
|
|
661
|
-
[
|
|
662
|
-
[
|
|
663
|
-
[
|
|
658
|
+
[$a]: a === "dark",
|
|
659
|
+
[Ya]: a === "auto",
|
|
660
|
+
[Wa]: a === "light"
|
|
664
661
|
},
|
|
665
|
-
|
|
662
|
+
r
|
|
666
663
|
);
|
|
667
664
|
}
|
|
668
|
-
function
|
|
669
|
-
const
|
|
670
|
-
document.body.classList.add(...
|
|
671
|
-
}
|
|
672
|
-
const
|
|
673
|
-
const [
|
|
674
|
-
return
|
|
675
|
-
|
|
676
|
-
}, [
|
|
677
|
-
|
|
678
|
-
}, [
|
|
665
|
+
function Ha({ theme: a, className: r }) {
|
|
666
|
+
const o = ta({ theme: a, className: r });
|
|
667
|
+
document.body.classList.add(...o.split(" "));
|
|
668
|
+
}
|
|
669
|
+
const sa = ({ children: a }) => /* @__PURE__ */ s.jsx("div", { className: ta({ theme: "light" }), children: a }), Za = ({ children: a, theme: r = "light", className: o }) => {
|
|
670
|
+
const [n, i] = ce.useState(!1);
|
|
671
|
+
return Ue(() => {
|
|
672
|
+
n || i(!0);
|
|
673
|
+
}, [o, n, r]), Ue(() => {
|
|
674
|
+
n && Ha({ theme: r, className: o });
|
|
675
|
+
}, [o, n, r]), n ? /* @__PURE__ */ s.jsx(s.Fragment, { children: a }) : /* @__PURE__ */ s.jsx(sa, { children: a });
|
|
679
676
|
};
|
|
680
|
-
function
|
|
681
|
-
return
|
|
677
|
+
function Br({ children: a, theme: r = "light", className: o }) {
|
|
678
|
+
return Ba() ? /* @__PURE__ */ s.jsx(Za, { theme: r, className: o, children: a }) : /* @__PURE__ */ s.jsx(sa, { children: a });
|
|
682
679
|
}
|
|
683
|
-
var
|
|
684
|
-
const
|
|
685
|
-
var
|
|
686
|
-
const
|
|
680
|
+
var Ga = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
|
|
681
|
+
const oa = ({ className: a, variant: r = "default" }) => /* @__PURE__ */ s.jsx("div", { className: A(Ga[r], a) });
|
|
682
|
+
var Ka = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, Ja = "eccmw9", Qa = "eccmwa", Xa = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
|
|
683
|
+
const na = Da(
|
|
687
684
|
({
|
|
688
|
-
children:
|
|
689
|
-
onClick:
|
|
690
|
-
className:
|
|
691
|
-
type:
|
|
692
|
-
variant:
|
|
693
|
-
testId:
|
|
694
|
-
icon:
|
|
695
|
-
disabled:
|
|
696
|
-
loading:
|
|
697
|
-
|
|
698
|
-
}, x) => /* @__PURE__ */ o.jsx(
|
|
685
|
+
children: a,
|
|
686
|
+
onClick: r,
|
|
687
|
+
className: o,
|
|
688
|
+
type: n = "button",
|
|
689
|
+
variant: i = "primary",
|
|
690
|
+
testId: C,
|
|
691
|
+
icon: v,
|
|
692
|
+
disabled: b,
|
|
693
|
+
loading: f = !1
|
|
694
|
+
}, g) => /* @__PURE__ */ s.jsx(
|
|
699
695
|
"button",
|
|
700
696
|
{
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
className: N(
|
|
697
|
+
ref: g,
|
|
698
|
+
"data-testid": C,
|
|
699
|
+
type: n,
|
|
700
|
+
disabled: b,
|
|
701
|
+
className: A(
|
|
707
702
|
"sid-button",
|
|
708
|
-
`sid-button--${
|
|
709
|
-
|
|
710
|
-
{ [
|
|
711
|
-
|
|
703
|
+
`sid-button--${i}`,
|
|
704
|
+
Ka[i],
|
|
705
|
+
{ [Ja]: b },
|
|
706
|
+
o
|
|
712
707
|
),
|
|
713
|
-
onClick:
|
|
714
|
-
children:
|
|
715
|
-
|
|
716
|
-
|
|
708
|
+
onClick: r,
|
|
709
|
+
children: f ? /* @__PURE__ */ s.jsx(oa, { variant: "short", className: Xa[i] }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
710
|
+
v ? /* @__PURE__ */ s.jsx("i", { className: Qa, children: v }) : null,
|
|
711
|
+
a
|
|
717
712
|
] })
|
|
718
713
|
}
|
|
719
714
|
)
|
|
720
715
|
);
|
|
721
|
-
|
|
722
|
-
var
|
|
723
|
-
const
|
|
724
|
-
id:
|
|
725
|
-
name:
|
|
726
|
-
label:
|
|
727
|
-
placeholder:
|
|
728
|
-
autoComplete:
|
|
729
|
-
value:
|
|
730
|
-
onChange:
|
|
731
|
-
type:
|
|
732
|
-
style: d
|
|
716
|
+
na.displayName = "Button";
|
|
717
|
+
var er = "_1doytsg0", ar = "_1doytsg3", rr = "_1doytsg4", tr = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, sr = "_1doytsga", or = "_1doytsgc";
|
|
718
|
+
const nr = ({
|
|
719
|
+
id: a,
|
|
720
|
+
name: r,
|
|
721
|
+
label: o,
|
|
722
|
+
placeholder: n = "",
|
|
723
|
+
autoComplete: i = "",
|
|
724
|
+
value: C,
|
|
725
|
+
onChange: v,
|
|
726
|
+
type: b = "text"
|
|
733
727
|
}) => {
|
|
734
|
-
const
|
|
735
|
-
(
|
|
736
|
-
|
|
728
|
+
const f = La(
|
|
729
|
+
(g) => {
|
|
730
|
+
v(g);
|
|
737
731
|
},
|
|
738
|
-
[
|
|
732
|
+
[v]
|
|
739
733
|
);
|
|
740
|
-
return /* @__PURE__ */
|
|
741
|
-
/* @__PURE__ */
|
|
742
|
-
/* @__PURE__ */
|
|
734
|
+
return /* @__PURE__ */ s.jsxs("div", { className: tr[b], children: [
|
|
735
|
+
/* @__PURE__ */ s.jsx("label", { htmlFor: a, className: sr, children: o }),
|
|
736
|
+
/* @__PURE__ */ s.jsx(
|
|
743
737
|
"input",
|
|
744
738
|
{
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
autoComplete: a
|
|
739
|
+
type: b,
|
|
740
|
+
id: a,
|
|
741
|
+
name: r,
|
|
742
|
+
className: er,
|
|
743
|
+
placeholder: n,
|
|
744
|
+
value: C,
|
|
745
|
+
onChange: f,
|
|
746
|
+
autoComplete: i
|
|
754
747
|
}
|
|
755
748
|
)
|
|
756
749
|
] });
|
|
757
|
-
},
|
|
750
|
+
}, Ee = `
|
|
758
751
|
@media (prefers-color-scheme: dark) {
|
|
759
752
|
.sid-theme-root__auto path { fill: white; }
|
|
760
753
|
}
|
|
761
754
|
|
|
762
755
|
.sid-theme-root__dark path { fill: white; }
|
|
763
756
|
`;
|
|
764
|
-
function
|
|
765
|
-
return /* @__PURE__ */
|
|
757
|
+
function lr() {
|
|
758
|
+
return /* @__PURE__ */ s.jsxs(
|
|
766
759
|
"svg",
|
|
767
760
|
{
|
|
768
761
|
width: "5",
|
|
@@ -771,7 +764,7 @@ function Vs() {
|
|
|
771
764
|
fill: "none",
|
|
772
765
|
xmlns: "http://www.w3.org/2000/svg",
|
|
773
766
|
children: [
|
|
774
|
-
/* @__PURE__ */
|
|
767
|
+
/* @__PURE__ */ s.jsx(
|
|
775
768
|
"path",
|
|
776
769
|
{
|
|
777
770
|
fillRule: "evenodd",
|
|
@@ -780,7 +773,7 @@ function Vs() {
|
|
|
780
773
|
fill: "white"
|
|
781
774
|
}
|
|
782
775
|
),
|
|
783
|
-
/* @__PURE__ */
|
|
776
|
+
/* @__PURE__ */ s.jsx(
|
|
784
777
|
"path",
|
|
785
778
|
{
|
|
786
779
|
d: "M4.5 18C4.5 19.1046 3.60457 20 2.5 20C1.39543 20 0.5 19.1046 0.5 18C0.5 16.8954 1.39543 16 2.5 16C3.60457 16 4.5 16.8954 4.5 18Z",
|
|
@@ -791,7 +784,7 @@ function Vs() {
|
|
|
791
784
|
}
|
|
792
785
|
);
|
|
793
786
|
}
|
|
794
|
-
const
|
|
787
|
+
const ir = () => /* @__PURE__ */ s.jsxs(
|
|
795
788
|
"svg",
|
|
796
789
|
{
|
|
797
790
|
width: "16",
|
|
@@ -800,8 +793,8 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
800
793
|
fill: "none",
|
|
801
794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
802
795
|
children: [
|
|
803
|
-
/* @__PURE__ */
|
|
804
|
-
/* @__PURE__ */
|
|
796
|
+
/* @__PURE__ */ s.jsx("style", { children: Ee }),
|
|
797
|
+
/* @__PURE__ */ s.jsx("g", { clipPath: "url(#clip0_2610_9920)", children: /* @__PURE__ */ s.jsx(
|
|
805
798
|
"path",
|
|
806
799
|
{
|
|
807
800
|
fillRule: "evenodd",
|
|
@@ -810,10 +803,10 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
810
803
|
fill: "#142049"
|
|
811
804
|
}
|
|
812
805
|
) }),
|
|
813
|
-
/* @__PURE__ */
|
|
806
|
+
/* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ s.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
814
807
|
]
|
|
815
808
|
}
|
|
816
|
-
),
|
|
809
|
+
), dr = () => /* @__PURE__ */ s.jsxs(
|
|
817
810
|
"svg",
|
|
818
811
|
{
|
|
819
812
|
width: "16",
|
|
@@ -822,9 +815,9 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
822
815
|
fill: "none",
|
|
823
816
|
xmlns: "http://www.w3.org/2000/svg",
|
|
824
817
|
children: [
|
|
825
|
-
/* @__PURE__ */
|
|
826
|
-
/* @__PURE__ */
|
|
827
|
-
/* @__PURE__ */
|
|
818
|
+
/* @__PURE__ */ s.jsx("style", { children: Ee }),
|
|
819
|
+
/* @__PURE__ */ s.jsxs("g", { clipPath: "url(#clip0_2610_9933)", children: [
|
|
820
|
+
/* @__PURE__ */ s.jsx(
|
|
828
821
|
"path",
|
|
829
822
|
{
|
|
830
823
|
fillRule: "evenodd",
|
|
@@ -833,7 +826,7 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
833
826
|
fill: "#142049"
|
|
834
827
|
}
|
|
835
828
|
),
|
|
836
|
-
/* @__PURE__ */
|
|
829
|
+
/* @__PURE__ */ s.jsx(
|
|
837
830
|
"path",
|
|
838
831
|
{
|
|
839
832
|
d: "M2.34314 2.34315L13.6568 13.6569",
|
|
@@ -843,10 +836,10 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
843
836
|
}
|
|
844
837
|
)
|
|
845
838
|
] }),
|
|
846
|
-
/* @__PURE__ */
|
|
839
|
+
/* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("clipPath", { id: "clip0_2610_9933", children: /* @__PURE__ */ s.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
847
840
|
]
|
|
848
841
|
}
|
|
849
|
-
),
|
|
842
|
+
), ur = () => /* @__PURE__ */ s.jsxs(
|
|
850
843
|
"svg",
|
|
851
844
|
{
|
|
852
845
|
width: "40",
|
|
@@ -855,9 +848,9 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
855
848
|
fill: "none",
|
|
856
849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
857
850
|
children: [
|
|
858
|
-
/* @__PURE__ */
|
|
859
|
-
/* @__PURE__ */
|
|
860
|
-
/* @__PURE__ */
|
|
851
|
+
/* @__PURE__ */ s.jsx("style", { children: Ee }),
|
|
852
|
+
/* @__PURE__ */ s.jsx("path", { d: "M12.686 10L2 30.228H5.198L15.884 10H12.686Z", fill: "#2A6AFF" }),
|
|
853
|
+
/* @__PURE__ */ s.jsx(
|
|
861
854
|
"path",
|
|
862
855
|
{
|
|
863
856
|
d: "M19.7923 15.694C20.9373 15.694 21.8723 14.732 21.8723 13.588C21.8723 12.444 20.9373 11.482 19.7923 11.482C18.6223 11.482 17.6873 12.444 17.6873 13.588C17.6873 14.732 18.6233 15.694 19.7933 15.694H19.7923ZM18.0773 17.514V30.228H21.4573V17.514H18.0773ZM34.1883 10V18.502C33.172 17.6398 31.8809 17.1695 30.5483 17.176C26.8563 17.176 24.0743 20.14 24.0743 23.884C24.0743 27.628 26.8563 30.592 30.5483 30.592C32.0823 30.592 33.4343 30.02 34.4483 29.032V30.228H37.5683V10H34.1883ZM30.9383 27.42C28.9883 27.42 27.5583 25.912 27.5583 23.884C27.5583 21.856 28.9883 20.348 30.9383 20.348C32.8883 20.348 34.3183 21.856 34.3183 23.884C34.3183 25.912 32.8883 27.42 30.9383 27.42Z",
|
|
@@ -866,345 +859,424 @@ const Ys = () => /* @__PURE__ */ o.jsxs(
|
|
|
866
859
|
)
|
|
867
860
|
]
|
|
868
861
|
}
|
|
869
|
-
),
|
|
870
|
-
const [
|
|
871
|
-
return /* @__PURE__ */
|
|
862
|
+
), Ge = (a) => {
|
|
863
|
+
const [r, o] = ae(!1);
|
|
864
|
+
return /* @__PURE__ */ s.jsxs(
|
|
872
865
|
"div",
|
|
873
866
|
{
|
|
874
|
-
className:
|
|
867
|
+
className: A(
|
|
875
868
|
"sid-input",
|
|
876
869
|
"sid-input--password",
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
870
|
+
ar,
|
|
871
|
+
a.error && rr,
|
|
872
|
+
a.className
|
|
880
873
|
),
|
|
881
|
-
style: t.style,
|
|
882
874
|
children: [
|
|
883
|
-
/* @__PURE__ */
|
|
884
|
-
/* @__PURE__ */
|
|
875
|
+
/* @__PURE__ */ s.jsx(nr, { ...a, type: r ? "text" : "password" }),
|
|
876
|
+
/* @__PURE__ */ s.jsx(
|
|
885
877
|
"button",
|
|
886
878
|
{
|
|
887
879
|
tabIndex: -1,
|
|
888
|
-
className:
|
|
880
|
+
className: or,
|
|
889
881
|
type: "button",
|
|
890
|
-
onClick: () =>
|
|
891
|
-
children:
|
|
882
|
+
onClick: () => o(!r),
|
|
883
|
+
children: r ? /* @__PURE__ */ s.jsx(dr, {}) : /* @__PURE__ */ s.jsx(ir, {})
|
|
892
884
|
}
|
|
893
885
|
)
|
|
894
886
|
]
|
|
895
887
|
}
|
|
896
888
|
);
|
|
897
889
|
};
|
|
898
|
-
var
|
|
899
|
-
const
|
|
900
|
-
children:
|
|
901
|
-
className:
|
|
902
|
-
variant:
|
|
903
|
-
shouldAnimate:
|
|
904
|
-
}) => /* @__PURE__ */
|
|
905
|
-
/* @__PURE__ */
|
|
890
|
+
var cr = "_1rf2mux3", fr = "_1rf2mux5", hr = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4" }, br = "_1rf2mux9", _r = { blue: "_1rf2muxa _1rf2mux8", red: "_1rf2muxb _1rf2mux8" }, xr = "_1rf2muxd", vr = { blue: "_1rf2muxe _1rf2muxc", red: "_1rf2muxf _1rf2muxc" }, pr = "_1rf2muxg";
|
|
891
|
+
const Me = ({
|
|
892
|
+
children: a,
|
|
893
|
+
className: r,
|
|
894
|
+
variant: o = "blue",
|
|
895
|
+
shouldAnimate: n = !0
|
|
896
|
+
}) => /* @__PURE__ */ s.jsxs("div", { className: A(cr, r), children: [
|
|
897
|
+
/* @__PURE__ */ s.jsx(
|
|
906
898
|
"div",
|
|
907
899
|
{
|
|
908
|
-
className:
|
|
909
|
-
[
|
|
900
|
+
className: A(hr[o], {
|
|
901
|
+
[fr]: n
|
|
910
902
|
})
|
|
911
903
|
}
|
|
912
904
|
),
|
|
913
|
-
/* @__PURE__ */
|
|
905
|
+
/* @__PURE__ */ s.jsx(
|
|
914
906
|
"div",
|
|
915
907
|
{
|
|
916
|
-
className:
|
|
917
|
-
[
|
|
908
|
+
className: A(_r[o], {
|
|
909
|
+
[br]: n
|
|
918
910
|
})
|
|
919
911
|
}
|
|
920
912
|
),
|
|
921
|
-
/* @__PURE__ */
|
|
913
|
+
/* @__PURE__ */ s.jsx(
|
|
922
914
|
"div",
|
|
923
915
|
{
|
|
924
|
-
className:
|
|
925
|
-
[
|
|
916
|
+
className: A(vr[o], {
|
|
917
|
+
[xr]: n
|
|
926
918
|
})
|
|
927
919
|
}
|
|
928
920
|
),
|
|
929
|
-
/* @__PURE__ */
|
|
921
|
+
/* @__PURE__ */ s.jsx("div", { className: pr, children: a })
|
|
930
922
|
] });
|
|
931
|
-
function
|
|
932
|
-
return
|
|
933
|
-
value:
|
|
923
|
+
function Cr(a, r, o) {
|
|
924
|
+
return r in a ? Object.defineProperty(a, r, {
|
|
925
|
+
value: o,
|
|
934
926
|
enumerable: !0,
|
|
935
927
|
configurable: !0,
|
|
936
928
|
writable: !0
|
|
937
|
-
}) :
|
|
929
|
+
}) : a[r] = o, a;
|
|
938
930
|
}
|
|
939
|
-
function
|
|
940
|
-
var
|
|
931
|
+
function Ke(a, r) {
|
|
932
|
+
var o = Object.keys(a);
|
|
941
933
|
if (Object.getOwnPropertySymbols) {
|
|
942
|
-
var
|
|
943
|
-
|
|
944
|
-
return Object.getOwnPropertyDescriptor(
|
|
945
|
-
})),
|
|
946
|
-
}
|
|
947
|
-
return
|
|
948
|
-
}
|
|
949
|
-
function
|
|
950
|
-
for (var
|
|
951
|
-
var
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
955
|
-
Object.defineProperty(
|
|
934
|
+
var n = Object.getOwnPropertySymbols(a);
|
|
935
|
+
r && (n = n.filter(function(i) {
|
|
936
|
+
return Object.getOwnPropertyDescriptor(a, i).enumerable;
|
|
937
|
+
})), o.push.apply(o, n);
|
|
938
|
+
}
|
|
939
|
+
return o;
|
|
940
|
+
}
|
|
941
|
+
function Je(a) {
|
|
942
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
943
|
+
var o = arguments[r] != null ? arguments[r] : {};
|
|
944
|
+
r % 2 ? Ke(Object(o), !0).forEach(function(n) {
|
|
945
|
+
Cr(a, n, o[n]);
|
|
946
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(o)) : Ke(Object(o)).forEach(function(n) {
|
|
947
|
+
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(o, n));
|
|
956
948
|
});
|
|
957
949
|
}
|
|
958
|
-
return
|
|
950
|
+
return a;
|
|
959
951
|
}
|
|
960
|
-
var
|
|
961
|
-
for (var
|
|
962
|
-
var
|
|
963
|
-
if (
|
|
952
|
+
var mr = (a, r, o) => {
|
|
953
|
+
for (var n of Object.keys(a)) {
|
|
954
|
+
var i;
|
|
955
|
+
if (a[n] !== ((i = r[n]) !== null && i !== void 0 ? i : o[n]))
|
|
964
956
|
return !1;
|
|
965
957
|
}
|
|
966
958
|
return !0;
|
|
967
|
-
},
|
|
968
|
-
var
|
|
969
|
-
for (var
|
|
970
|
-
var
|
|
971
|
-
if (
|
|
972
|
-
var
|
|
973
|
-
typeof
|
|
974
|
-
var
|
|
959
|
+
}, la = (a) => (r) => {
|
|
960
|
+
var o = a.defaultClassName, n = Je(Je({}, a.defaultVariants), r);
|
|
961
|
+
for (var i in n) {
|
|
962
|
+
var C, v = (C = n[i]) !== null && C !== void 0 ? C : a.defaultVariants[i];
|
|
963
|
+
if (v != null) {
|
|
964
|
+
var b = v;
|
|
965
|
+
typeof b == "boolean" && (b = b === !0 ? "true" : "false");
|
|
966
|
+
var f = (
|
|
975
967
|
// @ts-expect-error
|
|
976
|
-
|
|
968
|
+
a.variantClassNames[i][b]
|
|
977
969
|
);
|
|
978
|
-
|
|
970
|
+
f && (o += " " + f);
|
|
979
971
|
}
|
|
980
972
|
}
|
|
981
|
-
for (var [
|
|
982
|
-
|
|
983
|
-
return
|
|
984
|
-
},
|
|
985
|
-
function
|
|
986
|
-
if (typeof
|
|
987
|
-
return
|
|
988
|
-
var
|
|
989
|
-
if (
|
|
990
|
-
var
|
|
991
|
-
if (typeof
|
|
992
|
-
return
|
|
973
|
+
for (var [g, w] of a.compoundVariants)
|
|
974
|
+
mr(g, n, a.defaultVariants) && (o += " " + w);
|
|
975
|
+
return o;
|
|
976
|
+
}, zr = la({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
|
|
977
|
+
function gr(a, r) {
|
|
978
|
+
if (typeof a != "object" || a === null)
|
|
979
|
+
return a;
|
|
980
|
+
var o = a[Symbol.toPrimitive];
|
|
981
|
+
if (o !== void 0) {
|
|
982
|
+
var n = o.call(a, r || "default");
|
|
983
|
+
if (typeof n != "object")
|
|
984
|
+
return n;
|
|
993
985
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
994
986
|
}
|
|
995
|
-
return (
|
|
987
|
+
return (r === "string" ? String : Number)(a);
|
|
996
988
|
}
|
|
997
|
-
function
|
|
998
|
-
var
|
|
999
|
-
return typeof
|
|
989
|
+
function wr(a) {
|
|
990
|
+
var r = gr(a, "string");
|
|
991
|
+
return typeof r == "symbol" ? r : String(r);
|
|
1000
992
|
}
|
|
1001
|
-
function
|
|
1002
|
-
return
|
|
1003
|
-
value:
|
|
993
|
+
function yr(a, r, o) {
|
|
994
|
+
return r = wr(r), r in a ? Object.defineProperty(a, r, {
|
|
995
|
+
value: o,
|
|
1004
996
|
enumerable: !0,
|
|
1005
997
|
configurable: !0,
|
|
1006
998
|
writable: !0
|
|
1007
|
-
}) :
|
|
999
|
+
}) : a[r] = o, a;
|
|
1008
1000
|
}
|
|
1009
|
-
function
|
|
1010
|
-
var
|
|
1001
|
+
function Qe(a, r) {
|
|
1002
|
+
var o = Object.keys(a);
|
|
1011
1003
|
if (Object.getOwnPropertySymbols) {
|
|
1012
|
-
var
|
|
1013
|
-
|
|
1014
|
-
return Object.getOwnPropertyDescriptor(
|
|
1015
|
-
})),
|
|
1016
|
-
}
|
|
1017
|
-
return
|
|
1018
|
-
}
|
|
1019
|
-
function
|
|
1020
|
-
for (var
|
|
1021
|
-
var
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1025
|
-
Object.defineProperty(
|
|
1004
|
+
var n = Object.getOwnPropertySymbols(a);
|
|
1005
|
+
r && (n = n.filter(function(i) {
|
|
1006
|
+
return Object.getOwnPropertyDescriptor(a, i).enumerable;
|
|
1007
|
+
})), o.push.apply(o, n);
|
|
1008
|
+
}
|
|
1009
|
+
return o;
|
|
1010
|
+
}
|
|
1011
|
+
function ge(a) {
|
|
1012
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
1013
|
+
var o = arguments[r] != null ? arguments[r] : {};
|
|
1014
|
+
r % 2 ? Qe(Object(o), !0).forEach(function(n) {
|
|
1015
|
+
yr(a, n, o[n]);
|
|
1016
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(o)) : Qe(Object(o)).forEach(function(n) {
|
|
1017
|
+
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(o, n));
|
|
1026
1018
|
});
|
|
1027
1019
|
}
|
|
1028
|
-
return
|
|
1029
|
-
}
|
|
1030
|
-
var
|
|
1031
|
-
for (var
|
|
1032
|
-
|
|
1033
|
-
var
|
|
1034
|
-
var
|
|
1035
|
-
for (var
|
|
1036
|
-
var
|
|
1037
|
-
if (
|
|
1038
|
-
var
|
|
1039
|
-
|
|
1040
|
-
for (var
|
|
1041
|
-
|
|
1020
|
+
return a;
|
|
1021
|
+
}
|
|
1022
|
+
var jr = (a) => function() {
|
|
1023
|
+
for (var r = arguments.length, o = new Array(r), n = 0; n < r; n++)
|
|
1024
|
+
o[n] = arguments[n];
|
|
1025
|
+
var i = Object.assign({}, ...o.map((f) => f.styles)), C = Object.keys(i), v = C.filter((f) => "mappings" in i[f]), b = (f) => {
|
|
1026
|
+
var g = [], w = {}, M = ge({}, f), S = !1;
|
|
1027
|
+
for (var E of v) {
|
|
1028
|
+
var F = f[E];
|
|
1029
|
+
if (F != null) {
|
|
1030
|
+
var fe = i[E];
|
|
1031
|
+
S = !0;
|
|
1032
|
+
for (var G of fe.mappings)
|
|
1033
|
+
w[G] = F, M[G] == null && delete M[G];
|
|
1042
1034
|
}
|
|
1043
1035
|
}
|
|
1044
|
-
var
|
|
1045
|
-
var
|
|
1036
|
+
var D = S ? ge(ge({}, w), M) : f, j = function() {
|
|
1037
|
+
var p = D[O], x = i[O];
|
|
1046
1038
|
try {
|
|
1047
|
-
if (
|
|
1039
|
+
if (x.mappings)
|
|
1048
1040
|
return "continue";
|
|
1049
|
-
if (typeof
|
|
1050
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1041
|
+
if (typeof p == "string" || typeof p == "number") {
|
|
1042
|
+
if (process.env.NODE_ENV !== "production" && !x.values[p].defaultClass)
|
|
1051
1043
|
throw new Error();
|
|
1052
|
-
|
|
1053
|
-
} else if (Array.isArray(
|
|
1054
|
-
for (var
|
|
1055
|
-
var
|
|
1056
|
-
if (
|
|
1057
|
-
var
|
|
1058
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1044
|
+
g.push(x.values[p].defaultClass);
|
|
1045
|
+
} else if (Array.isArray(p))
|
|
1046
|
+
for (var $ = 0; $ < p.length; $++) {
|
|
1047
|
+
var W = p[$];
|
|
1048
|
+
if (W != null) {
|
|
1049
|
+
var re = x.responsiveArray[$];
|
|
1050
|
+
if (process.env.NODE_ENV !== "production" && !x.values[W].conditions[re])
|
|
1059
1051
|
throw new Error();
|
|
1060
|
-
|
|
1052
|
+
g.push(x.values[W].conditions[re]);
|
|
1061
1053
|
}
|
|
1062
1054
|
}
|
|
1063
1055
|
else
|
|
1064
|
-
for (var
|
|
1065
|
-
var
|
|
1066
|
-
if (
|
|
1067
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1056
|
+
for (var K in p) {
|
|
1057
|
+
var Y = p[K];
|
|
1058
|
+
if (Y != null) {
|
|
1059
|
+
if (process.env.NODE_ENV !== "production" && !x.values[Y].conditions[K])
|
|
1068
1060
|
throw new Error();
|
|
1069
|
-
|
|
1061
|
+
g.push(x.values[Y].conditions[K]);
|
|
1070
1062
|
}
|
|
1071
1063
|
}
|
|
1072
|
-
} catch (
|
|
1064
|
+
} catch (te) {
|
|
1073
1065
|
if (process.env.NODE_ENV !== "production") {
|
|
1074
|
-
class
|
|
1075
|
-
constructor(
|
|
1076
|
-
super(
|
|
1066
|
+
class N extends Error {
|
|
1067
|
+
constructor(B) {
|
|
1068
|
+
super(B), this.name = "SprinklesError";
|
|
1077
1069
|
}
|
|
1078
1070
|
}
|
|
1079
|
-
var R = (
|
|
1080
|
-
throw new
|
|
1071
|
+
var R = (L) => typeof L == "string" ? '"'.concat(L, '"') : L, T = (L, B, se) => {
|
|
1072
|
+
throw new N('"'.concat(L, '" has no value ').concat(R(B), ". Possible values are ").concat(Object.keys(se).map(R).join(", ")));
|
|
1081
1073
|
};
|
|
1082
|
-
if (!
|
|
1083
|
-
throw new
|
|
1084
|
-
if ((typeof
|
|
1085
|
-
throw new
|
|
1086
|
-
if (typeof
|
|
1087
|
-
if (!("conditions" in
|
|
1088
|
-
throw new
|
|
1089
|
-
if (Array.isArray(
|
|
1090
|
-
if (!("responsiveArray" in
|
|
1091
|
-
throw new
|
|
1092
|
-
var
|
|
1093
|
-
if (
|
|
1094
|
-
throw new
|
|
1095
|
-
for (var
|
|
1096
|
-
|
|
1074
|
+
if (!x)
|
|
1075
|
+
throw new N('"'.concat(O, '" is not a valid sprinkle'));
|
|
1076
|
+
if ((typeof p == "string" || typeof p == "number") && (p in x.values || T(O, p, x.values), !x.values[p].defaultClass))
|
|
1077
|
+
throw new N('"'.concat(O, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(x.values[p].conditions).map(R).join(", ")));
|
|
1078
|
+
if (typeof p == "object") {
|
|
1079
|
+
if (!("conditions" in x.values[Object.keys(x.values)[0]]))
|
|
1080
|
+
throw new N('"'.concat(O, '" is not a conditional property'));
|
|
1081
|
+
if (Array.isArray(p)) {
|
|
1082
|
+
if (!("responsiveArray" in x))
|
|
1083
|
+
throw new N('"'.concat(O, '" does not support responsive arrays'));
|
|
1084
|
+
var q = x.responsiveArray.length;
|
|
1085
|
+
if (q < p.length)
|
|
1086
|
+
throw new N('"'.concat(O, '" only supports up to ').concat(q, " breakpoints. You passed ").concat(p.length));
|
|
1087
|
+
for (var J of p)
|
|
1088
|
+
x.values[J] || T(O, J, x.values);
|
|
1097
1089
|
} else
|
|
1098
|
-
for (var
|
|
1099
|
-
var
|
|
1100
|
-
if (
|
|
1101
|
-
throw new
|
|
1090
|
+
for (var U in p) {
|
|
1091
|
+
var V = p[U];
|
|
1092
|
+
if (V != null && (x.values[V] || T(O, V, x.values), !x.values[V].conditions[U]))
|
|
1093
|
+
throw new N('"'.concat(O, '" has no condition named ').concat(R(U), ". Possible values are ").concat(Object.keys(x.values[V].conditions).map(R).join(", ")));
|
|
1102
1094
|
}
|
|
1103
1095
|
}
|
|
1104
1096
|
}
|
|
1105
|
-
throw
|
|
1097
|
+
throw te;
|
|
1106
1098
|
}
|
|
1107
1099
|
};
|
|
1108
|
-
for (var
|
|
1109
|
-
var
|
|
1110
|
-
return
|
|
1100
|
+
for (var O in D)
|
|
1101
|
+
var he = j();
|
|
1102
|
+
return a(g.join(" "));
|
|
1111
1103
|
};
|
|
1112
|
-
return Object.assign(
|
|
1113
|
-
properties: new Set(
|
|
1104
|
+
return Object.assign(b, {
|
|
1105
|
+
properties: new Set(C)
|
|
1114
1106
|
});
|
|
1115
|
-
},
|
|
1116
|
-
return
|
|
1117
|
-
}, Pt = ur({ conditions: { defaultCondition: "lightMode", conditionNames: ["lightMode", "darkMode"], responsiveArray: void 0 }, styles: { color: { values: { background: { conditions: { lightMode: "_1hbz9ox0", darkMode: "_1hbz9ox1" }, defaultClass: "_1hbz9ox0" }, mute: { conditions: { lightMode: "_1hbz9ox2", darkMode: "_1hbz9ox3" }, defaultClass: "_1hbz9ox2" }, panel: { conditions: { lightMode: "_1hbz9ox4", darkMode: "_1hbz9ox5" }, defaultClass: "_1hbz9ox4" }, foreground: { conditions: { lightMode: "_1hbz9ox6", darkMode: "_1hbz9ox7" }, defaultClass: "_1hbz9ox6" }, contrast: { conditions: { lightMode: "_1hbz9ox8", darkMode: "_1hbz9ox9" }, defaultClass: "_1hbz9ox8" }, secondary: { conditions: { lightMode: "_1hbz9oxa", darkMode: "_1hbz9oxb" }, defaultClass: "_1hbz9oxa" }, tertiary: { conditions: { lightMode: "_1hbz9oxc", darkMode: "_1hbz9oxd" }, defaultClass: "_1hbz9oxc" }, placeholder: { conditions: { lightMode: "_1hbz9oxe", darkMode: "_1hbz9oxf" }, defaultClass: "_1hbz9oxe" }, smooth: { conditions: { lightMode: "_1hbz9oxg", darkMode: "_1hbz9oxh" }, defaultClass: "_1hbz9oxg" }, subtle: { conditions: { lightMode: "_1hbz9oxi", darkMode: "_1hbz9oxj" }, defaultClass: "_1hbz9oxi" }, soft: { conditions: { lightMode: "_1hbz9oxk", darkMode: "_1hbz9oxl" }, defaultClass: "_1hbz9oxk" }, offset: { conditions: { lightMode: "_1hbz9oxm", darkMode: "_1hbz9oxn" }, defaultClass: "_1hbz9oxm" }, primary: { conditions: { lightMode: "_1hbz9oxo", darkMode: "_1hbz9oxp" }, defaultClass: "_1hbz9oxo" }, primaryHover: { conditions: { lightMode: "_1hbz9oxq", darkMode: "_1hbz9oxr" }, defaultClass: "_1hbz9oxq" }, transparent: { conditions: { lightMode: "_1hbz9oxs", darkMode: "_1hbz9oxt" }, defaultClass: "_1hbz9oxs" }, error: { conditions: { lightMode: "_1hbz9oxu", darkMode: "_1hbz9oxv" }, defaultClass: "_1hbz9oxu" }, auxiliary: { conditions: { lightMode: "_1hbz9oxw", darkMode: "_1hbz9oxx" }, defaultClass: "_1hbz9oxw" }, success: { conditions: { lightMode: "_1hbz9oxy", darkMode: "_1hbz9oxz" }, defaultClass: "_1hbz9oxy" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox10", darkMode: "_1hbz9ox11" }, defaultClass: "_1hbz9ox10" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox12", darkMode: "_1hbz9ox13" }, defaultClass: "_1hbz9ox12" }, failure: { conditions: { lightMode: "_1hbz9ox14", darkMode: "_1hbz9ox15" }, defaultClass: "_1hbz9ox14" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox16", darkMode: "_1hbz9ox17" }, defaultClass: "_1hbz9ox16" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox18", darkMode: "_1hbz9ox19" }, defaultClass: "_1hbz9ox18" } } }, backgroundColor: { values: { background: { conditions: { lightMode: "_1hbz9ox1a", darkMode: "_1hbz9ox1b" }, defaultClass: "_1hbz9ox1a" }, mute: { conditions: { lightMode: "_1hbz9ox1c", darkMode: "_1hbz9ox1d" }, defaultClass: "_1hbz9ox1c" }, panel: { conditions: { lightMode: "_1hbz9ox1e", darkMode: "_1hbz9ox1f" }, defaultClass: "_1hbz9ox1e" }, foreground: { conditions: { lightMode: "_1hbz9ox1g", darkMode: "_1hbz9ox1h" }, defaultClass: "_1hbz9ox1g" }, contrast: { conditions: { lightMode: "_1hbz9ox1i", darkMode: "_1hbz9ox1j" }, defaultClass: "_1hbz9ox1i" }, secondary: { conditions: { lightMode: "_1hbz9ox1k", darkMode: "_1hbz9ox1l" }, defaultClass: "_1hbz9ox1k" }, tertiary: { conditions: { lightMode: "_1hbz9ox1m", darkMode: "_1hbz9ox1n" }, defaultClass: "_1hbz9ox1m" }, placeholder: { conditions: { lightMode: "_1hbz9ox1o", darkMode: "_1hbz9ox1p" }, defaultClass: "_1hbz9ox1o" }, smooth: { conditions: { lightMode: "_1hbz9ox1q", darkMode: "_1hbz9ox1r" }, defaultClass: "_1hbz9ox1q" }, subtle: { conditions: { lightMode: "_1hbz9ox1s", darkMode: "_1hbz9ox1t" }, defaultClass: "_1hbz9ox1s" }, soft: { conditions: { lightMode: "_1hbz9ox1u", darkMode: "_1hbz9ox1v" }, defaultClass: "_1hbz9ox1u" }, offset: { conditions: { lightMode: "_1hbz9ox1w", darkMode: "_1hbz9ox1x" }, defaultClass: "_1hbz9ox1w" }, primary: { conditions: { lightMode: "_1hbz9ox1y", darkMode: "_1hbz9ox1z" }, defaultClass: "_1hbz9ox1y" }, primaryHover: { conditions: { lightMode: "_1hbz9ox20", darkMode: "_1hbz9ox21" }, defaultClass: "_1hbz9ox20" }, transparent: { conditions: { lightMode: "_1hbz9ox22", darkMode: "_1hbz9ox23" }, defaultClass: "_1hbz9ox22" }, error: { conditions: { lightMode: "_1hbz9ox24", darkMode: "_1hbz9ox25" }, defaultClass: "_1hbz9ox24" }, auxiliary: { conditions: { lightMode: "_1hbz9ox26", darkMode: "_1hbz9ox27" }, defaultClass: "_1hbz9ox26" }, success: { conditions: { lightMode: "_1hbz9ox28", darkMode: "_1hbz9ox29" }, defaultClass: "_1hbz9ox28" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox2a", darkMode: "_1hbz9ox2b" }, defaultClass: "_1hbz9ox2a" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox2c", darkMode: "_1hbz9ox2d" }, defaultClass: "_1hbz9ox2c" }, failure: { conditions: { lightMode: "_1hbz9ox2e", darkMode: "_1hbz9ox2f" }, defaultClass: "_1hbz9ox2e" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox2g", darkMode: "_1hbz9ox2h" }, defaultClass: "_1hbz9ox2g" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox2i", darkMode: "_1hbz9ox2j" }, defaultClass: "_1hbz9ox2i" } } } } }, { conditions: void 0, styles: { marginY: { mappings: ["marginTop", "marginBottom"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, gap: { values: { 0: { defaultClass: "_1hbz9ox2k" }, 1: { defaultClass: "_1hbz9ox2l" }, 2: { defaultClass: "_1hbz9ox2m" }, 3: { defaultClass: "_1hbz9ox2n" }, 4: { defaultClass: "_1hbz9ox2o" }, 5: { defaultClass: "_1hbz9ox2p" }, 6: { defaultClass: "_1hbz9ox2q" }, 7: { defaultClass: "_1hbz9ox2r" }, 8: { defaultClass: "_1hbz9ox2s" }, 9: { defaultClass: "_1hbz9ox2t" }, 10: { defaultClass: "_1hbz9ox2u" }, 11: { defaultClass: "_1hbz9ox2v" }, 12: { defaultClass: "_1hbz9ox2w" }, 13: { defaultClass: "_1hbz9ox2x" }, 14: { defaultClass: "_1hbz9ox2y" }, 15: { defaultClass: "_1hbz9ox2z" }, 16: { defaultClass: "_1hbz9ox30" }, 20: { defaultClass: "_1hbz9ox31" }, 24: { defaultClass: "_1hbz9ox32" }, 28: { defaultClass: "_1hbz9ox33" }, 32: { defaultClass: "_1hbz9ox34" }, 36: { defaultClass: "_1hbz9ox35" }, 40: { defaultClass: "_1hbz9ox36" }, 44: { defaultClass: "_1hbz9ox37" }, 48: { defaultClass: "_1hbz9ox38" }, 52: { defaultClass: "_1hbz9ox39" }, 56: { defaultClass: "_1hbz9ox3a" }, 60: { defaultClass: "_1hbz9ox3b" }, 64: { defaultClass: "_1hbz9ox3c" }, 68: { defaultClass: "_1hbz9ox3d" }, 72: { defaultClass: "_1hbz9ox3e" }, 76: { defaultClass: "_1hbz9ox3f" }, 80: { defaultClass: "_1hbz9ox3g" }, 96: { defaultClass: "_1hbz9ox3h" }, px: { defaultClass: "_1hbz9ox3i" }, "0.25": { defaultClass: "_1hbz9ox3j" }, "0.5": { defaultClass: "_1hbz9ox3k" }, "0.75": { defaultClass: "_1hbz9ox3l" }, "1.5": { defaultClass: "_1hbz9ox3m" }, "2.5": { defaultClass: "_1hbz9ox3n" }, "3.5": { defaultClass: "_1hbz9ox3o" } } }, marginTop: { values: { 0: { defaultClass: "_1hbz9ox3p" }, 1: { defaultClass: "_1hbz9ox3q" }, 2: { defaultClass: "_1hbz9ox3r" }, 3: { defaultClass: "_1hbz9ox3s" }, 4: { defaultClass: "_1hbz9ox3t" }, 5: { defaultClass: "_1hbz9ox3u" }, 6: { defaultClass: "_1hbz9ox3v" }, 7: { defaultClass: "_1hbz9ox3w" }, 8: { defaultClass: "_1hbz9ox3x" }, 9: { defaultClass: "_1hbz9ox3y" }, 10: { defaultClass: "_1hbz9ox3z" }, 11: { defaultClass: "_1hbz9ox40" }, 12: { defaultClass: "_1hbz9ox41" }, 13: { defaultClass: "_1hbz9ox42" }, 14: { defaultClass: "_1hbz9ox43" }, 15: { defaultClass: "_1hbz9ox44" }, 16: { defaultClass: "_1hbz9ox45" }, 20: { defaultClass: "_1hbz9ox46" }, 24: { defaultClass: "_1hbz9ox47" }, 28: { defaultClass: "_1hbz9ox48" }, 32: { defaultClass: "_1hbz9ox49" }, 36: { defaultClass: "_1hbz9ox4a" }, 40: { defaultClass: "_1hbz9ox4b" }, 44: { defaultClass: "_1hbz9ox4c" }, 48: { defaultClass: "_1hbz9ox4d" }, 52: { defaultClass: "_1hbz9ox4e" }, 56: { defaultClass: "_1hbz9ox4f" }, 60: { defaultClass: "_1hbz9ox4g" }, 64: { defaultClass: "_1hbz9ox4h" }, 68: { defaultClass: "_1hbz9ox4i" }, 72: { defaultClass: "_1hbz9ox4j" }, 76: { defaultClass: "_1hbz9ox4k" }, 80: { defaultClass: "_1hbz9ox4l" }, 96: { defaultClass: "_1hbz9ox4m" }, px: { defaultClass: "_1hbz9ox4n" }, "0.25": { defaultClass: "_1hbz9ox4o" }, "0.5": { defaultClass: "_1hbz9ox4p" }, "0.75": { defaultClass: "_1hbz9ox4q" }, "1.5": { defaultClass: "_1hbz9ox4r" }, "2.5": { defaultClass: "_1hbz9ox4s" }, "3.5": { defaultClass: "_1hbz9ox4t" } } }, marginBottom: { values: { 0: { defaultClass: "_1hbz9ox4u" }, 1: { defaultClass: "_1hbz9ox4v" }, 2: { defaultClass: "_1hbz9ox4w" }, 3: { defaultClass: "_1hbz9ox4x" }, 4: { defaultClass: "_1hbz9ox4y" }, 5: { defaultClass: "_1hbz9ox4z" }, 6: { defaultClass: "_1hbz9ox50" }, 7: { defaultClass: "_1hbz9ox51" }, 8: { defaultClass: "_1hbz9ox52" }, 9: { defaultClass: "_1hbz9ox53" }, 10: { defaultClass: "_1hbz9ox54" }, 11: { defaultClass: "_1hbz9ox55" }, 12: { defaultClass: "_1hbz9ox56" }, 13: { defaultClass: "_1hbz9ox57" }, 14: { defaultClass: "_1hbz9ox58" }, 15: { defaultClass: "_1hbz9ox59" }, 16: { defaultClass: "_1hbz9ox5a" }, 20: { defaultClass: "_1hbz9ox5b" }, 24: { defaultClass: "_1hbz9ox5c" }, 28: { defaultClass: "_1hbz9ox5d" }, 32: { defaultClass: "_1hbz9ox5e" }, 36: { defaultClass: "_1hbz9ox5f" }, 40: { defaultClass: "_1hbz9ox5g" }, 44: { defaultClass: "_1hbz9ox5h" }, 48: { defaultClass: "_1hbz9ox5i" }, 52: { defaultClass: "_1hbz9ox5j" }, 56: { defaultClass: "_1hbz9ox5k" }, 60: { defaultClass: "_1hbz9ox5l" }, 64: { defaultClass: "_1hbz9ox5m" }, 68: { defaultClass: "_1hbz9ox5n" }, 72: { defaultClass: "_1hbz9ox5o" }, 76: { defaultClass: "_1hbz9ox5p" }, 80: { defaultClass: "_1hbz9ox5q" }, 96: { defaultClass: "_1hbz9ox5r" }, px: { defaultClass: "_1hbz9ox5s" }, "0.25": { defaultClass: "_1hbz9ox5t" }, "0.5": { defaultClass: "_1hbz9ox5u" }, "0.75": { defaultClass: "_1hbz9ox5v" }, "1.5": { defaultClass: "_1hbz9ox5w" }, "2.5": { defaultClass: "_1hbz9ox5x" }, "3.5": { defaultClass: "_1hbz9ox5y" } } }, marginLeft: { values: { 0: { defaultClass: "_1hbz9ox5z" }, 1: { defaultClass: "_1hbz9ox60" }, 2: { defaultClass: "_1hbz9ox61" }, 3: { defaultClass: "_1hbz9ox62" }, 4: { defaultClass: "_1hbz9ox63" }, 5: { defaultClass: "_1hbz9ox64" }, 6: { defaultClass: "_1hbz9ox65" }, 7: { defaultClass: "_1hbz9ox66" }, 8: { defaultClass: "_1hbz9ox67" }, 9: { defaultClass: "_1hbz9ox68" }, 10: { defaultClass: "_1hbz9ox69" }, 11: { defaultClass: "_1hbz9ox6a" }, 12: { defaultClass: "_1hbz9ox6b" }, 13: { defaultClass: "_1hbz9ox6c" }, 14: { defaultClass: "_1hbz9ox6d" }, 15: { defaultClass: "_1hbz9ox6e" }, 16: { defaultClass: "_1hbz9ox6f" }, 20: { defaultClass: "_1hbz9ox6g" }, 24: { defaultClass: "_1hbz9ox6h" }, 28: { defaultClass: "_1hbz9ox6i" }, 32: { defaultClass: "_1hbz9ox6j" }, 36: { defaultClass: "_1hbz9ox6k" }, 40: { defaultClass: "_1hbz9ox6l" }, 44: { defaultClass: "_1hbz9ox6m" }, 48: { defaultClass: "_1hbz9ox6n" }, 52: { defaultClass: "_1hbz9ox6o" }, 56: { defaultClass: "_1hbz9ox6p" }, 60: { defaultClass: "_1hbz9ox6q" }, 64: { defaultClass: "_1hbz9ox6r" }, 68: { defaultClass: "_1hbz9ox6s" }, 72: { defaultClass: "_1hbz9ox6t" }, 76: { defaultClass: "_1hbz9ox6u" }, 80: { defaultClass: "_1hbz9ox6v" }, 96: { defaultClass: "_1hbz9ox6w" }, px: { defaultClass: "_1hbz9ox6x" }, "0.25": { defaultClass: "_1hbz9ox6y" }, "0.5": { defaultClass: "_1hbz9ox6z" }, "0.75": { defaultClass: "_1hbz9ox70" }, "1.5": { defaultClass: "_1hbz9ox71" }, "2.5": { defaultClass: "_1hbz9ox72" }, "3.5": { defaultClass: "_1hbz9ox73" } } }, marginRight: { values: { 0: { defaultClass: "_1hbz9ox74" }, 1: { defaultClass: "_1hbz9ox75" }, 2: { defaultClass: "_1hbz9ox76" }, 3: { defaultClass: "_1hbz9ox77" }, 4: { defaultClass: "_1hbz9ox78" }, 5: { defaultClass: "_1hbz9ox79" }, 6: { defaultClass: "_1hbz9ox7a" }, 7: { defaultClass: "_1hbz9ox7b" }, 8: { defaultClass: "_1hbz9ox7c" }, 9: { defaultClass: "_1hbz9ox7d" }, 10: { defaultClass: "_1hbz9ox7e" }, 11: { defaultClass: "_1hbz9ox7f" }, 12: { defaultClass: "_1hbz9ox7g" }, 13: { defaultClass: "_1hbz9ox7h" }, 14: { defaultClass: "_1hbz9ox7i" }, 15: { defaultClass: "_1hbz9ox7j" }, 16: { defaultClass: "_1hbz9ox7k" }, 20: { defaultClass: "_1hbz9ox7l" }, 24: { defaultClass: "_1hbz9ox7m" }, 28: { defaultClass: "_1hbz9ox7n" }, 32: { defaultClass: "_1hbz9ox7o" }, 36: { defaultClass: "_1hbz9ox7p" }, 40: { defaultClass: "_1hbz9ox7q" }, 44: { defaultClass: "_1hbz9ox7r" }, 48: { defaultClass: "_1hbz9ox7s" }, 52: { defaultClass: "_1hbz9ox7t" }, 56: { defaultClass: "_1hbz9ox7u" }, 60: { defaultClass: "_1hbz9ox7v" }, 64: { defaultClass: "_1hbz9ox7w" }, 68: { defaultClass: "_1hbz9ox7x" }, 72: { defaultClass: "_1hbz9ox7y" }, 76: { defaultClass: "_1hbz9ox7z" }, 80: { defaultClass: "_1hbz9ox80" }, 96: { defaultClass: "_1hbz9ox81" }, px: { defaultClass: "_1hbz9ox82" }, "0.25": { defaultClass: "_1hbz9ox83" }, "0.5": { defaultClass: "_1hbz9ox84" }, "0.75": { defaultClass: "_1hbz9ox85" }, "1.5": { defaultClass: "_1hbz9ox86" }, "2.5": { defaultClass: "_1hbz9ox87" }, "3.5": { defaultClass: "_1hbz9ox88" } } } } });
|
|
1118
|
-
const
|
|
1107
|
+
}, Er = (a) => a, Mr = function() {
|
|
1108
|
+
return jr(Er)(...arguments);
|
|
1109
|
+
}, ia = Mr({ conditions: { defaultCondition: "lightMode", conditionNames: ["lightMode", "darkMode"], responsiveArray: void 0 }, styles: { color: { values: { background: { conditions: { lightMode: "_1hbz9ox0", darkMode: "_1hbz9ox1" }, defaultClass: "_1hbz9ox0" }, mute: { conditions: { lightMode: "_1hbz9ox2", darkMode: "_1hbz9ox3" }, defaultClass: "_1hbz9ox2" }, panel: { conditions: { lightMode: "_1hbz9ox4", darkMode: "_1hbz9ox5" }, defaultClass: "_1hbz9ox4" }, foreground: { conditions: { lightMode: "_1hbz9ox6", darkMode: "_1hbz9ox7" }, defaultClass: "_1hbz9ox6" }, contrast: { conditions: { lightMode: "_1hbz9ox8", darkMode: "_1hbz9ox9" }, defaultClass: "_1hbz9ox8" }, secondary: { conditions: { lightMode: "_1hbz9oxa", darkMode: "_1hbz9oxb" }, defaultClass: "_1hbz9oxa" }, tertiary: { conditions: { lightMode: "_1hbz9oxc", darkMode: "_1hbz9oxd" }, defaultClass: "_1hbz9oxc" }, placeholder: { conditions: { lightMode: "_1hbz9oxe", darkMode: "_1hbz9oxf" }, defaultClass: "_1hbz9oxe" }, smooth: { conditions: { lightMode: "_1hbz9oxg", darkMode: "_1hbz9oxh" }, defaultClass: "_1hbz9oxg" }, subtle: { conditions: { lightMode: "_1hbz9oxi", darkMode: "_1hbz9oxj" }, defaultClass: "_1hbz9oxi" }, soft: { conditions: { lightMode: "_1hbz9oxk", darkMode: "_1hbz9oxl" }, defaultClass: "_1hbz9oxk" }, offset: { conditions: { lightMode: "_1hbz9oxm", darkMode: "_1hbz9oxn" }, defaultClass: "_1hbz9oxm" }, primary: { conditions: { lightMode: "_1hbz9oxo", darkMode: "_1hbz9oxp" }, defaultClass: "_1hbz9oxo" }, primaryHover: { conditions: { lightMode: "_1hbz9oxq", darkMode: "_1hbz9oxr" }, defaultClass: "_1hbz9oxq" }, transparent: { conditions: { lightMode: "_1hbz9oxs", darkMode: "_1hbz9oxt" }, defaultClass: "_1hbz9oxs" }, error: { conditions: { lightMode: "_1hbz9oxu", darkMode: "_1hbz9oxv" }, defaultClass: "_1hbz9oxu" }, auxiliary: { conditions: { lightMode: "_1hbz9oxw", darkMode: "_1hbz9oxx" }, defaultClass: "_1hbz9oxw" }, success: { conditions: { lightMode: "_1hbz9oxy", darkMode: "_1hbz9oxz" }, defaultClass: "_1hbz9oxy" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox10", darkMode: "_1hbz9ox11" }, defaultClass: "_1hbz9ox10" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox12", darkMode: "_1hbz9ox13" }, defaultClass: "_1hbz9ox12" }, failure: { conditions: { lightMode: "_1hbz9ox14", darkMode: "_1hbz9ox15" }, defaultClass: "_1hbz9ox14" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox16", darkMode: "_1hbz9ox17" }, defaultClass: "_1hbz9ox16" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox18", darkMode: "_1hbz9ox19" }, defaultClass: "_1hbz9ox18" } } }, backgroundColor: { values: { background: { conditions: { lightMode: "_1hbz9ox1a", darkMode: "_1hbz9ox1b" }, defaultClass: "_1hbz9ox1a" }, mute: { conditions: { lightMode: "_1hbz9ox1c", darkMode: "_1hbz9ox1d" }, defaultClass: "_1hbz9ox1c" }, panel: { conditions: { lightMode: "_1hbz9ox1e", darkMode: "_1hbz9ox1f" }, defaultClass: "_1hbz9ox1e" }, foreground: { conditions: { lightMode: "_1hbz9ox1g", darkMode: "_1hbz9ox1h" }, defaultClass: "_1hbz9ox1g" }, contrast: { conditions: { lightMode: "_1hbz9ox1i", darkMode: "_1hbz9ox1j" }, defaultClass: "_1hbz9ox1i" }, secondary: { conditions: { lightMode: "_1hbz9ox1k", darkMode: "_1hbz9ox1l" }, defaultClass: "_1hbz9ox1k" }, tertiary: { conditions: { lightMode: "_1hbz9ox1m", darkMode: "_1hbz9ox1n" }, defaultClass: "_1hbz9ox1m" }, placeholder: { conditions: { lightMode: "_1hbz9ox1o", darkMode: "_1hbz9ox1p" }, defaultClass: "_1hbz9ox1o" }, smooth: { conditions: { lightMode: "_1hbz9ox1q", darkMode: "_1hbz9ox1r" }, defaultClass: "_1hbz9ox1q" }, subtle: { conditions: { lightMode: "_1hbz9ox1s", darkMode: "_1hbz9ox1t" }, defaultClass: "_1hbz9ox1s" }, soft: { conditions: { lightMode: "_1hbz9ox1u", darkMode: "_1hbz9ox1v" }, defaultClass: "_1hbz9ox1u" }, offset: { conditions: { lightMode: "_1hbz9ox1w", darkMode: "_1hbz9ox1x" }, defaultClass: "_1hbz9ox1w" }, primary: { conditions: { lightMode: "_1hbz9ox1y", darkMode: "_1hbz9ox1z" }, defaultClass: "_1hbz9ox1y" }, primaryHover: { conditions: { lightMode: "_1hbz9ox20", darkMode: "_1hbz9ox21" }, defaultClass: "_1hbz9ox20" }, transparent: { conditions: { lightMode: "_1hbz9ox22", darkMode: "_1hbz9ox23" }, defaultClass: "_1hbz9ox22" }, error: { conditions: { lightMode: "_1hbz9ox24", darkMode: "_1hbz9ox25" }, defaultClass: "_1hbz9ox24" }, auxiliary: { conditions: { lightMode: "_1hbz9ox26", darkMode: "_1hbz9ox27" }, defaultClass: "_1hbz9ox26" }, success: { conditions: { lightMode: "_1hbz9ox28", darkMode: "_1hbz9ox29" }, defaultClass: "_1hbz9ox28" }, foregroundSuccess: { conditions: { lightMode: "_1hbz9ox2a", darkMode: "_1hbz9ox2b" }, defaultClass: "_1hbz9ox2a" }, backgroundSuccess: { conditions: { lightMode: "_1hbz9ox2c", darkMode: "_1hbz9ox2d" }, defaultClass: "_1hbz9ox2c" }, failure: { conditions: { lightMode: "_1hbz9ox2e", darkMode: "_1hbz9ox2f" }, defaultClass: "_1hbz9ox2e" }, foregroundFailure: { conditions: { lightMode: "_1hbz9ox2g", darkMode: "_1hbz9ox2h" }, defaultClass: "_1hbz9ox2g" }, backgroundFailure: { conditions: { lightMode: "_1hbz9ox2i", darkMode: "_1hbz9ox2j" }, defaultClass: "_1hbz9ox2i" } } } } }, { conditions: void 0, styles: { marginY: { mappings: ["marginTop", "marginBottom"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, gap: { values: { 0: { defaultClass: "_1hbz9ox2k" }, 1: { defaultClass: "_1hbz9ox2l" }, 2: { defaultClass: "_1hbz9ox2m" }, 3: { defaultClass: "_1hbz9ox2n" }, 4: { defaultClass: "_1hbz9ox2o" }, 5: { defaultClass: "_1hbz9ox2p" }, 6: { defaultClass: "_1hbz9ox2q" }, 7: { defaultClass: "_1hbz9ox2r" }, 8: { defaultClass: "_1hbz9ox2s" }, 9: { defaultClass: "_1hbz9ox2t" }, 10: { defaultClass: "_1hbz9ox2u" }, 11: { defaultClass: "_1hbz9ox2v" }, 12: { defaultClass: "_1hbz9ox2w" }, 13: { defaultClass: "_1hbz9ox2x" }, 14: { defaultClass: "_1hbz9ox2y" }, 15: { defaultClass: "_1hbz9ox2z" }, 16: { defaultClass: "_1hbz9ox30" }, 20: { defaultClass: "_1hbz9ox31" }, 24: { defaultClass: "_1hbz9ox32" }, 28: { defaultClass: "_1hbz9ox33" }, 32: { defaultClass: "_1hbz9ox34" }, 36: { defaultClass: "_1hbz9ox35" }, 40: { defaultClass: "_1hbz9ox36" }, 44: { defaultClass: "_1hbz9ox37" }, 48: { defaultClass: "_1hbz9ox38" }, 52: { defaultClass: "_1hbz9ox39" }, 56: { defaultClass: "_1hbz9ox3a" }, 60: { defaultClass: "_1hbz9ox3b" }, 64: { defaultClass: "_1hbz9ox3c" }, 68: { defaultClass: "_1hbz9ox3d" }, 72: { defaultClass: "_1hbz9ox3e" }, 76: { defaultClass: "_1hbz9ox3f" }, 80: { defaultClass: "_1hbz9ox3g" }, 96: { defaultClass: "_1hbz9ox3h" }, px: { defaultClass: "_1hbz9ox3i" }, "0.25": { defaultClass: "_1hbz9ox3j" }, "0.5": { defaultClass: "_1hbz9ox3k" }, "0.75": { defaultClass: "_1hbz9ox3l" }, "1.5": { defaultClass: "_1hbz9ox3m" }, "2.5": { defaultClass: "_1hbz9ox3n" }, "3.5": { defaultClass: "_1hbz9ox3o" } } }, marginTop: { values: { 0: { defaultClass: "_1hbz9ox3p" }, 1: { defaultClass: "_1hbz9ox3q" }, 2: { defaultClass: "_1hbz9ox3r" }, 3: { defaultClass: "_1hbz9ox3s" }, 4: { defaultClass: "_1hbz9ox3t" }, 5: { defaultClass: "_1hbz9ox3u" }, 6: { defaultClass: "_1hbz9ox3v" }, 7: { defaultClass: "_1hbz9ox3w" }, 8: { defaultClass: "_1hbz9ox3x" }, 9: { defaultClass: "_1hbz9ox3y" }, 10: { defaultClass: "_1hbz9ox3z" }, 11: { defaultClass: "_1hbz9ox40" }, 12: { defaultClass: "_1hbz9ox41" }, 13: { defaultClass: "_1hbz9ox42" }, 14: { defaultClass: "_1hbz9ox43" }, 15: { defaultClass: "_1hbz9ox44" }, 16: { defaultClass: "_1hbz9ox45" }, 20: { defaultClass: "_1hbz9ox46" }, 24: { defaultClass: "_1hbz9ox47" }, 28: { defaultClass: "_1hbz9ox48" }, 32: { defaultClass: "_1hbz9ox49" }, 36: { defaultClass: "_1hbz9ox4a" }, 40: { defaultClass: "_1hbz9ox4b" }, 44: { defaultClass: "_1hbz9ox4c" }, 48: { defaultClass: "_1hbz9ox4d" }, 52: { defaultClass: "_1hbz9ox4e" }, 56: { defaultClass: "_1hbz9ox4f" }, 60: { defaultClass: "_1hbz9ox4g" }, 64: { defaultClass: "_1hbz9ox4h" }, 68: { defaultClass: "_1hbz9ox4i" }, 72: { defaultClass: "_1hbz9ox4j" }, 76: { defaultClass: "_1hbz9ox4k" }, 80: { defaultClass: "_1hbz9ox4l" }, 96: { defaultClass: "_1hbz9ox4m" }, px: { defaultClass: "_1hbz9ox4n" }, "0.25": { defaultClass: "_1hbz9ox4o" }, "0.5": { defaultClass: "_1hbz9ox4p" }, "0.75": { defaultClass: "_1hbz9ox4q" }, "1.5": { defaultClass: "_1hbz9ox4r" }, "2.5": { defaultClass: "_1hbz9ox4s" }, "3.5": { defaultClass: "_1hbz9ox4t" } } }, marginBottom: { values: { 0: { defaultClass: "_1hbz9ox4u" }, 1: { defaultClass: "_1hbz9ox4v" }, 2: { defaultClass: "_1hbz9ox4w" }, 3: { defaultClass: "_1hbz9ox4x" }, 4: { defaultClass: "_1hbz9ox4y" }, 5: { defaultClass: "_1hbz9ox4z" }, 6: { defaultClass: "_1hbz9ox50" }, 7: { defaultClass: "_1hbz9ox51" }, 8: { defaultClass: "_1hbz9ox52" }, 9: { defaultClass: "_1hbz9ox53" }, 10: { defaultClass: "_1hbz9ox54" }, 11: { defaultClass: "_1hbz9ox55" }, 12: { defaultClass: "_1hbz9ox56" }, 13: { defaultClass: "_1hbz9ox57" }, 14: { defaultClass: "_1hbz9ox58" }, 15: { defaultClass: "_1hbz9ox59" }, 16: { defaultClass: "_1hbz9ox5a" }, 20: { defaultClass: "_1hbz9ox5b" }, 24: { defaultClass: "_1hbz9ox5c" }, 28: { defaultClass: "_1hbz9ox5d" }, 32: { defaultClass: "_1hbz9ox5e" }, 36: { defaultClass: "_1hbz9ox5f" }, 40: { defaultClass: "_1hbz9ox5g" }, 44: { defaultClass: "_1hbz9ox5h" }, 48: { defaultClass: "_1hbz9ox5i" }, 52: { defaultClass: "_1hbz9ox5j" }, 56: { defaultClass: "_1hbz9ox5k" }, 60: { defaultClass: "_1hbz9ox5l" }, 64: { defaultClass: "_1hbz9ox5m" }, 68: { defaultClass: "_1hbz9ox5n" }, 72: { defaultClass: "_1hbz9ox5o" }, 76: { defaultClass: "_1hbz9ox5p" }, 80: { defaultClass: "_1hbz9ox5q" }, 96: { defaultClass: "_1hbz9ox5r" }, px: { defaultClass: "_1hbz9ox5s" }, "0.25": { defaultClass: "_1hbz9ox5t" }, "0.5": { defaultClass: "_1hbz9ox5u" }, "0.75": { defaultClass: "_1hbz9ox5v" }, "1.5": { defaultClass: "_1hbz9ox5w" }, "2.5": { defaultClass: "_1hbz9ox5x" }, "3.5": { defaultClass: "_1hbz9ox5y" } } }, marginLeft: { values: { 0: { defaultClass: "_1hbz9ox5z" }, 1: { defaultClass: "_1hbz9ox60" }, 2: { defaultClass: "_1hbz9ox61" }, 3: { defaultClass: "_1hbz9ox62" }, 4: { defaultClass: "_1hbz9ox63" }, 5: { defaultClass: "_1hbz9ox64" }, 6: { defaultClass: "_1hbz9ox65" }, 7: { defaultClass: "_1hbz9ox66" }, 8: { defaultClass: "_1hbz9ox67" }, 9: { defaultClass: "_1hbz9ox68" }, 10: { defaultClass: "_1hbz9ox69" }, 11: { defaultClass: "_1hbz9ox6a" }, 12: { defaultClass: "_1hbz9ox6b" }, 13: { defaultClass: "_1hbz9ox6c" }, 14: { defaultClass: "_1hbz9ox6d" }, 15: { defaultClass: "_1hbz9ox6e" }, 16: { defaultClass: "_1hbz9ox6f" }, 20: { defaultClass: "_1hbz9ox6g" }, 24: { defaultClass: "_1hbz9ox6h" }, 28: { defaultClass: "_1hbz9ox6i" }, 32: { defaultClass: "_1hbz9ox6j" }, 36: { defaultClass: "_1hbz9ox6k" }, 40: { defaultClass: "_1hbz9ox6l" }, 44: { defaultClass: "_1hbz9ox6m" }, 48: { defaultClass: "_1hbz9ox6n" }, 52: { defaultClass: "_1hbz9ox6o" }, 56: { defaultClass: "_1hbz9ox6p" }, 60: { defaultClass: "_1hbz9ox6q" }, 64: { defaultClass: "_1hbz9ox6r" }, 68: { defaultClass: "_1hbz9ox6s" }, 72: { defaultClass: "_1hbz9ox6t" }, 76: { defaultClass: "_1hbz9ox6u" }, 80: { defaultClass: "_1hbz9ox6v" }, 96: { defaultClass: "_1hbz9ox6w" }, px: { defaultClass: "_1hbz9ox6x" }, "0.25": { defaultClass: "_1hbz9ox6y" }, "0.5": { defaultClass: "_1hbz9ox6z" }, "0.75": { defaultClass: "_1hbz9ox70" }, "1.5": { defaultClass: "_1hbz9ox71" }, "2.5": { defaultClass: "_1hbz9ox72" }, "3.5": { defaultClass: "_1hbz9ox73" } } }, marginRight: { values: { 0: { defaultClass: "_1hbz9ox74" }, 1: { defaultClass: "_1hbz9ox75" }, 2: { defaultClass: "_1hbz9ox76" }, 3: { defaultClass: "_1hbz9ox77" }, 4: { defaultClass: "_1hbz9ox78" }, 5: { defaultClass: "_1hbz9ox79" }, 6: { defaultClass: "_1hbz9ox7a" }, 7: { defaultClass: "_1hbz9ox7b" }, 8: { defaultClass: "_1hbz9ox7c" }, 9: { defaultClass: "_1hbz9ox7d" }, 10: { defaultClass: "_1hbz9ox7e" }, 11: { defaultClass: "_1hbz9ox7f" }, 12: { defaultClass: "_1hbz9ox7g" }, 13: { defaultClass: "_1hbz9ox7h" }, 14: { defaultClass: "_1hbz9ox7i" }, 15: { defaultClass: "_1hbz9ox7j" }, 16: { defaultClass: "_1hbz9ox7k" }, 20: { defaultClass: "_1hbz9ox7l" }, 24: { defaultClass: "_1hbz9ox7m" }, 28: { defaultClass: "_1hbz9ox7n" }, 32: { defaultClass: "_1hbz9ox7o" }, 36: { defaultClass: "_1hbz9ox7p" }, 40: { defaultClass: "_1hbz9ox7q" }, 44: { defaultClass: "_1hbz9ox7r" }, 48: { defaultClass: "_1hbz9ox7s" }, 52: { defaultClass: "_1hbz9ox7t" }, 56: { defaultClass: "_1hbz9ox7u" }, 60: { defaultClass: "_1hbz9ox7v" }, 64: { defaultClass: "_1hbz9ox7w" }, 68: { defaultClass: "_1hbz9ox7x" }, 72: { defaultClass: "_1hbz9ox7y" }, 76: { defaultClass: "_1hbz9ox7z" }, 80: { defaultClass: "_1hbz9ox80" }, 96: { defaultClass: "_1hbz9ox81" }, px: { defaultClass: "_1hbz9ox82" }, "0.25": { defaultClass: "_1hbz9ox83" }, "0.5": { defaultClass: "_1hbz9ox84" }, "0.75": { defaultClass: "_1hbz9ox85" }, "1.5": { defaultClass: "_1hbz9ox86" }, "2.5": { defaultClass: "_1hbz9ox87" }, "3.5": { defaultClass: "_1hbz9ox88" } } } } });
|
|
1110
|
+
const Re = (a) => /* @__PURE__ */ s.jsx(
|
|
1119
1111
|
"div",
|
|
1120
1112
|
{
|
|
1121
|
-
className:
|
|
1113
|
+
className: A(
|
|
1122
1114
|
"sid-stack",
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1115
|
+
zr(a.variant),
|
|
1116
|
+
ia({ gap: a.space || "2" }),
|
|
1117
|
+
a.className
|
|
1126
1118
|
),
|
|
1127
|
-
style:
|
|
1128
|
-
children:
|
|
1119
|
+
style: a.style,
|
|
1120
|
+
children: a.children
|
|
1129
1121
|
}
|
|
1130
1122
|
);
|
|
1131
|
-
var
|
|
1132
|
-
const
|
|
1123
|
+
var Rr = la({ defaultClassName: "_1wn0ypy0", variantClassNames: { size: { xs: "_1wn0ypy1", sm: "_1wn0ypy2", base: "_1wn0ypy3", xl: "_1wn0ypy4", "2xl-title": "_1wn0ypy5" }, weight: { medium: "_1wn0ypy6", semibold: "_1wn0ypy7", bold: "_1wn0ypy8" }, color: { contrast: "_1wn0ypy9", tertiary: "_1wn0ypya", placeholder: "_1wn0ypyb", white: "_1wn0ypyc", success: "_1wn0ypyd", failure: "_1wn0ypye" } }, defaultVariants: { size: "base", weight: "medium" }, compoundVariants: [] });
|
|
1124
|
+
const kr = {
|
|
1133
1125
|
text: {}
|
|
1134
|
-
},
|
|
1135
|
-
|
|
1136
|
-
const
|
|
1137
|
-
const
|
|
1138
|
-
text:
|
|
1139
|
-
}), [
|
|
1140
|
-
return /* @__PURE__ */
|
|
1126
|
+
}, ke = ea(kr);
|
|
1127
|
+
ke.displayName = "SlashIDTextContext";
|
|
1128
|
+
const Hr = ({ text: a, children: r }) => {
|
|
1129
|
+
const o = aa(() => ({
|
|
1130
|
+
text: a
|
|
1131
|
+
}), [a]);
|
|
1132
|
+
return /* @__PURE__ */ s.jsx(ke.Provider, { value: o, children: r });
|
|
1141
1133
|
};
|
|
1142
|
-
function
|
|
1143
|
-
const { text:
|
|
1144
|
-
return
|
|
1134
|
+
function Or() {
|
|
1135
|
+
const { text: a } = ce.useContext(ke);
|
|
1136
|
+
return a;
|
|
1145
1137
|
}
|
|
1146
|
-
const
|
|
1138
|
+
const we = {
|
|
1147
1139
|
opening: "{{",
|
|
1148
1140
|
closing: "}}"
|
|
1149
1141
|
};
|
|
1150
|
-
function
|
|
1151
|
-
return
|
|
1152
|
-
(
|
|
1153
|
-
`${
|
|
1154
|
-
|
|
1142
|
+
function da(a, r) {
|
|
1143
|
+
return a.includes(we.opening) ? Object.keys(r).reduce(
|
|
1144
|
+
(n, i) => n.replace(
|
|
1145
|
+
`${we.opening}${i}${we.closing}`,
|
|
1146
|
+
r[i]
|
|
1155
1147
|
),
|
|
1156
|
-
|
|
1157
|
-
) :
|
|
1158
|
-
}
|
|
1159
|
-
const
|
|
1160
|
-
as:
|
|
1161
|
-
t:
|
|
1162
|
-
tokens:
|
|
1163
|
-
variant:
|
|
1164
|
-
className:
|
|
1165
|
-
children:
|
|
1148
|
+
a
|
|
1149
|
+
) : a;
|
|
1150
|
+
}
|
|
1151
|
+
const je = ({
|
|
1152
|
+
as: a,
|
|
1153
|
+
t: r,
|
|
1154
|
+
tokens: o,
|
|
1155
|
+
variant: n,
|
|
1156
|
+
className: i,
|
|
1157
|
+
children: C
|
|
1166
1158
|
}) => {
|
|
1167
|
-
const
|
|
1168
|
-
return /* @__PURE__ */
|
|
1169
|
-
|
|
1159
|
+
const v = Or(), b = a || "p";
|
|
1160
|
+
return /* @__PURE__ */ s.jsxs(
|
|
1161
|
+
b,
|
|
1170
1162
|
{
|
|
1171
|
-
className:
|
|
1163
|
+
className: A(
|
|
1172
1164
|
"sid-text",
|
|
1173
|
-
`sid-text--${
|
|
1174
|
-
|
|
1175
|
-
|
|
1165
|
+
`sid-text--${a}`,
|
|
1166
|
+
Rr(n),
|
|
1167
|
+
i
|
|
1176
1168
|
),
|
|
1177
1169
|
children: [
|
|
1178
|
-
|
|
1179
|
-
|
|
1170
|
+
o ? da(v[r], o) : v[r],
|
|
1171
|
+
C || null
|
|
1180
1172
|
]
|
|
1181
1173
|
}
|
|
1182
1174
|
);
|
|
1183
1175
|
};
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1186
|
-
width:
|
|
1187
|
-
height:
|
|
1188
|
-
minHeight:
|
|
1189
|
-
maxHeight:
|
|
1190
|
-
minWidth:
|
|
1191
|
-
maxWidth:
|
|
1176
|
+
var Sr = "iokgmp1";
|
|
1177
|
+
function Xe({
|
|
1178
|
+
width: a,
|
|
1179
|
+
height: r,
|
|
1180
|
+
minHeight: o,
|
|
1181
|
+
maxHeight: n,
|
|
1182
|
+
minWidth: i,
|
|
1183
|
+
maxWidth: C
|
|
1192
1184
|
}) {
|
|
1193
|
-
return /* @__PURE__ */
|
|
1185
|
+
return /* @__PURE__ */ s.jsx(
|
|
1194
1186
|
"div",
|
|
1195
1187
|
{
|
|
1196
|
-
className:
|
|
1188
|
+
className: Sr,
|
|
1197
1189
|
style: {
|
|
1198
|
-
width:
|
|
1199
|
-
height:
|
|
1200
|
-
minHeight:
|
|
1201
|
-
maxHeight:
|
|
1202
|
-
minWidth:
|
|
1203
|
-
maxWidth:
|
|
1190
|
+
width: a,
|
|
1191
|
+
height: r,
|
|
1192
|
+
minHeight: o,
|
|
1193
|
+
maxHeight: n,
|
|
1194
|
+
minWidth: i,
|
|
1195
|
+
maxWidth: C
|
|
1204
1196
|
}
|
|
1205
1197
|
}
|
|
1206
1198
|
);
|
|
1207
1199
|
}
|
|
1200
|
+
function Pr() {
|
|
1201
|
+
return /* @__PURE__ */ s.jsx(Me, { children: /* @__PURE__ */ s.jsx(oa, {}) });
|
|
1202
|
+
}
|
|
1203
|
+
function Zr() {
|
|
1204
|
+
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1205
|
+
/* @__PURE__ */ s.jsxs(Re, { space: "2", children: [
|
|
1206
|
+
/* @__PURE__ */ s.jsx(Xe, { width: "75%", height: 24 }),
|
|
1207
|
+
/* @__PURE__ */ s.jsx(Xe, { width: "50%", height: 16 })
|
|
1208
|
+
] }),
|
|
1209
|
+
/* @__PURE__ */ s.jsx(Pr, {})
|
|
1210
|
+
] });
|
|
1211
|
+
}
|
|
1212
|
+
const ue = (a) => /* @__PURE__ */ s.jsx(je, { ...a });
|
|
1213
|
+
function Tr({ type: a }) {
|
|
1214
|
+
return /* @__PURE__ */ s.jsx(Me, { variant: a === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ s.jsx(lr, {}) });
|
|
1215
|
+
}
|
|
1216
|
+
function Gr({ type: a }) {
|
|
1217
|
+
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1218
|
+
/* @__PURE__ */ s.jsxs(Re, { space: "0.25", children: [
|
|
1219
|
+
/* @__PURE__ */ s.jsx(
|
|
1220
|
+
ue,
|
|
1221
|
+
{
|
|
1222
|
+
as: "h1",
|
|
1223
|
+
variant: { size: "2xl-title", weight: "bold" },
|
|
1224
|
+
t: "error.title"
|
|
1225
|
+
}
|
|
1226
|
+
),
|
|
1227
|
+
/* @__PURE__ */ s.jsx(
|
|
1228
|
+
ue,
|
|
1229
|
+
{
|
|
1230
|
+
as: "h2",
|
|
1231
|
+
t: "error.detail",
|
|
1232
|
+
variant: { color: "contrast", weight: "semibold" }
|
|
1233
|
+
}
|
|
1234
|
+
)
|
|
1235
|
+
] }),
|
|
1236
|
+
/* @__PURE__ */ s.jsx(Tr, { type: a })
|
|
1237
|
+
] });
|
|
1238
|
+
}
|
|
1239
|
+
const Nr = () => /* @__PURE__ */ s.jsx(Me, { children: /* @__PURE__ */ s.jsx(
|
|
1240
|
+
"svg",
|
|
1241
|
+
{
|
|
1242
|
+
width: "21",
|
|
1243
|
+
height: "18",
|
|
1244
|
+
viewBox: "0 0 21 18",
|
|
1245
|
+
fill: "none",
|
|
1246
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1247
|
+
children: /* @__PURE__ */ s.jsx(
|
|
1248
|
+
"path",
|
|
1249
|
+
{
|
|
1250
|
+
fillRule: "evenodd",
|
|
1251
|
+
clipRule: "evenodd",
|
|
1252
|
+
d: "M19.8505 0.705985C20.6342 1.38283 20.7209 2.56684 20.044 3.35055L8.16908 17.1005C7.80192 17.5256 7.2635 17.7637 6.70195 17.7493C6.1404 17.7349 5.61489 17.4695 5.27002 17.0261L0.895049 11.4011C0.259296 10.5837 0.406547 9.4057 1.22394 8.76995C2.04134 8.13419 3.21935 8.28145 3.8551 9.09884L6.82592 12.9185L17.2059 0.89949C17.8828 0.115778 19.0668 0.0291434 19.8505 0.705985Z",
|
|
1253
|
+
fill: "white"
|
|
1254
|
+
}
|
|
1255
|
+
)
|
|
1256
|
+
}
|
|
1257
|
+
) });
|
|
1258
|
+
function Kr() {
|
|
1259
|
+
return /* @__PURE__ */ s.jsxs("article", { "data-testid": "sid-form-success-state", children: [
|
|
1260
|
+
/* @__PURE__ */ s.jsx(
|
|
1261
|
+
ue,
|
|
1262
|
+
{
|
|
1263
|
+
as: "h1",
|
|
1264
|
+
t: "success.title",
|
|
1265
|
+
variant: { size: "2xl-title", weight: "bold" }
|
|
1266
|
+
}
|
|
1267
|
+
),
|
|
1268
|
+
/* @__PURE__ */ s.jsx(
|
|
1269
|
+
ue,
|
|
1270
|
+
{
|
|
1271
|
+
as: "h2",
|
|
1272
|
+
t: "success.details",
|
|
1273
|
+
variant: { color: "contrast", weight: "semibold" }
|
|
1274
|
+
}
|
|
1275
|
+
),
|
|
1276
|
+
/* @__PURE__ */ s.jsx(Nr, {})
|
|
1277
|
+
] });
|
|
1278
|
+
}
|
|
1279
|
+
var Ar = "_8vopmj0", Dr = "_8vopmj2";
|
|
1208
1280
|
const z = {
|
|
1209
1281
|
"footer.text": "Top-tier security by SlashID",
|
|
1210
1282
|
"initial.title": "Logging you in...",
|
|
@@ -1231,7 +1303,7 @@ const z = {
|
|
|
1231
1303
|
"success.details": "Please return to the website.",
|
|
1232
1304
|
"error.title": "Something went wrong...",
|
|
1233
1305
|
"error.detail": "Please log in again."
|
|
1234
|
-
},
|
|
1306
|
+
}, Lr = {
|
|
1235
1307
|
en: z,
|
|
1236
1308
|
ja: {
|
|
1237
1309
|
"footer.text": z["footer.text"],
|
|
@@ -1260,1560 +1332,122 @@ const z = {
|
|
|
1260
1332
|
"error.title": z["error.title"],
|
|
1261
1333
|
"error.detail": "再度ログインをしてください。"
|
|
1262
1334
|
}
|
|
1263
|
-
},
|
|
1264
|
-
logo: /* @__PURE__ */
|
|
1335
|
+
}, Ir = (a) => (r) => Lr[a][r], Fr = {
|
|
1336
|
+
logo: /* @__PURE__ */ s.jsx(ur, {}),
|
|
1265
1337
|
language: "en",
|
|
1266
1338
|
state: "initial",
|
|
1267
|
-
sdk: void 0
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
variant: {
|
|
1282
|
-
size: "xs",
|
|
1283
|
-
weight: "semibold",
|
|
1284
|
-
color: "placeholder"
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
);
|
|
1288
|
-
}
|
|
1289
|
-
function yn({ children: t, className: e, header: s = /* @__PURE__ */ o.jsx(wr, {}), footer: r = /* @__PURE__ */ o.jsx(yr, {}), style: a }) {
|
|
1290
|
-
return /* @__PURE__ */ o.jsxs("article", { style: a, className: N(xr, e), children: [
|
|
1291
|
-
s && /* @__PURE__ */ o.jsx("header", { className: vr, children: s }),
|
|
1292
|
-
/* @__PURE__ */ o.jsx("div", { children: t }),
|
|
1293
|
-
r && /* @__PURE__ */ o.jsx("footer", { className: mr, children: r })
|
|
1294
|
-
] });
|
|
1295
|
-
}
|
|
1296
|
-
function Dt() {
|
|
1297
|
-
return /* @__PURE__ */ o.jsx(Ye, { variant: "primary", children: /* @__PURE__ */ o.jsx(Ot, {}) });
|
|
1298
|
-
}
|
|
1299
|
-
function zn() {
|
|
1300
|
-
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1301
|
-
/* @__PURE__ */ o.jsxs(we, { space: "2", children: [
|
|
1302
|
-
/* @__PURE__ */ o.jsx(vt, { width: "75%", height: 24 }),
|
|
1303
|
-
/* @__PURE__ */ o.jsx(vt, { width: "50%", height: 16 })
|
|
1304
|
-
] }),
|
|
1305
|
-
/* @__PURE__ */ o.jsx(Dt, {})
|
|
1306
|
-
] });
|
|
1307
|
-
}
|
|
1308
|
-
function zr({ type: t }) {
|
|
1309
|
-
return /* @__PURE__ */ o.jsx(Ye, { variant: t === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ o.jsx(Vs, {}) });
|
|
1310
|
-
}
|
|
1311
|
-
function En({ type: t, redirectUri: e }) {
|
|
1312
|
-
return e && window.location.replace(e), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1313
|
-
/* @__PURE__ */ o.jsxs(we, { space: "0.25", children: [
|
|
1314
|
-
/* @__PURE__ */ o.jsx(
|
|
1315
|
-
J,
|
|
1316
|
-
{
|
|
1317
|
-
as: "h1",
|
|
1318
|
-
variant: { size: "2xl-title", weight: "bold" },
|
|
1319
|
-
t: "error.title"
|
|
1320
|
-
}
|
|
1321
|
-
),
|
|
1322
|
-
/* @__PURE__ */ o.jsx(
|
|
1323
|
-
J,
|
|
1324
|
-
{
|
|
1325
|
-
as: "h2",
|
|
1326
|
-
t: "error.detail",
|
|
1327
|
-
variant: { color: "contrast", weight: "semibold" }
|
|
1328
|
-
}
|
|
1329
|
-
)
|
|
1330
|
-
] }),
|
|
1331
|
-
/* @__PURE__ */ o.jsx(zr, { type: t })
|
|
1332
|
-
] });
|
|
1333
|
-
}
|
|
1334
|
-
const Er = () => /* @__PURE__ */ o.jsx(Ye, { children: /* @__PURE__ */ o.jsx(
|
|
1335
|
-
"svg",
|
|
1336
|
-
{
|
|
1337
|
-
width: "21",
|
|
1338
|
-
height: "18",
|
|
1339
|
-
viewBox: "0 0 21 18",
|
|
1340
|
-
fill: "none",
|
|
1341
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1342
|
-
children: /* @__PURE__ */ o.jsx(
|
|
1343
|
-
"path",
|
|
1344
|
-
{
|
|
1345
|
-
fillRule: "evenodd",
|
|
1346
|
-
clipRule: "evenodd",
|
|
1347
|
-
d: "M19.8505 0.705985C20.6342 1.38283 20.7209 2.56684 20.044 3.35055L8.16908 17.1005C7.80192 17.5256 7.2635 17.7637 6.70195 17.7493C6.1404 17.7349 5.61489 17.4695 5.27002 17.0261L0.895049 11.4011C0.259296 10.5837 0.406547 9.4057 1.22394 8.76995C2.04134 8.13419 3.21935 8.28145 3.8551 9.09884L6.82592 12.9185L17.2059 0.89949C17.8828 0.115778 19.0668 0.0291434 19.8505 0.705985Z",
|
|
1348
|
-
fill: "white"
|
|
1349
|
-
}
|
|
1350
|
-
)
|
|
1351
|
-
}
|
|
1352
|
-
) });
|
|
1353
|
-
function Sn({ redirectUri: t } = {}) {
|
|
1354
|
-
return t && window.location.replace(t), /* @__PURE__ */ o.jsxs("article", { "data-testid": "sid-form-success-state", children: [
|
|
1355
|
-
/* @__PURE__ */ o.jsx(
|
|
1356
|
-
J,
|
|
1357
|
-
{
|
|
1358
|
-
as: "h1",
|
|
1359
|
-
t: "success.title",
|
|
1360
|
-
variant: { size: "2xl-title", weight: "bold" }
|
|
1361
|
-
}
|
|
1362
|
-
),
|
|
1363
|
-
/* @__PURE__ */ o.jsx(
|
|
1364
|
-
J,
|
|
1365
|
-
{
|
|
1366
|
-
as: "h2",
|
|
1367
|
-
t: "success.details",
|
|
1368
|
-
variant: { color: "contrast", weight: "semibold" }
|
|
1369
|
-
}
|
|
1370
|
-
),
|
|
1371
|
-
/* @__PURE__ */ o.jsx(Er, {})
|
|
1372
|
-
] });
|
|
1373
|
-
}
|
|
1374
|
-
var Sr = "_8vopmj0", jr = "_8vopmj2";
|
|
1375
|
-
function Rr() {
|
|
1376
|
-
const { language: t } = ye();
|
|
1377
|
-
return Et(() => pr(t), [t]);
|
|
1378
|
-
}
|
|
1379
|
-
function Tr(t) {
|
|
1380
|
-
return `recover.password.validation.${t.failedRules[0].name}`;
|
|
1381
|
-
}
|
|
1382
|
-
function Or({
|
|
1383
|
-
errorEvent: t,
|
|
1384
|
-
password: e
|
|
1339
|
+
sdk: void 0
|
|
1340
|
+
}, qr = ea(
|
|
1341
|
+
Fr
|
|
1342
|
+
), ua = () => Ia(qr);
|
|
1343
|
+
function Vr() {
|
|
1344
|
+
const { language: a } = ua();
|
|
1345
|
+
return aa(() => Ir(a), [a]);
|
|
1346
|
+
}
|
|
1347
|
+
function $r(a) {
|
|
1348
|
+
return `recover.password.validation.${a.failedRules[0].name}`;
|
|
1349
|
+
}
|
|
1350
|
+
function Wr({
|
|
1351
|
+
errorEvent: a,
|
|
1352
|
+
password: r
|
|
1385
1353
|
}) {
|
|
1386
|
-
const
|
|
1387
|
-
let
|
|
1388
|
-
if (
|
|
1389
|
-
const
|
|
1390
|
-
|
|
1391
|
-
}
|
|
1392
|
-
return
|
|
1393
|
-
ILLEGAL_SEQUENCE:
|
|
1354
|
+
const o = a.failedRules[0];
|
|
1355
|
+
let n = "";
|
|
1356
|
+
if (o.matchType === "must_not_match") {
|
|
1357
|
+
const i = o.regexp.exec(r);
|
|
1358
|
+
n = i !== null ? i[0] : "";
|
|
1359
|
+
}
|
|
1360
|
+
return n ? {
|
|
1361
|
+
ILLEGAL_SEQUENCE: n
|
|
1394
1362
|
} : {};
|
|
1395
1363
|
}
|
|
1396
|
-
function
|
|
1397
|
-
return /* @__PURE__ */
|
|
1398
|
-
}
|
|
1399
|
-
function
|
|
1400
|
-
const
|
|
1401
|
-
|
|
1402
|
-
const
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1364
|
+
function Yr({ message: a }) {
|
|
1365
|
+
return /* @__PURE__ */ s.jsx("span", { className: Dr, children: a });
|
|
1366
|
+
}
|
|
1367
|
+
function Jr() {
|
|
1368
|
+
const a = Vr(), { sdk: r } = ua(), [o, n] = ae(""), [i, C] = ae(""), [v, b] = ae(null), [f, g] = ae("initial");
|
|
1369
|
+
Fa(() => {
|
|
1370
|
+
const E = (F) => {
|
|
1371
|
+
b(
|
|
1372
|
+
da(
|
|
1373
|
+
a($r(F)),
|
|
1374
|
+
Wr({ errorEvent: F, password: o })
|
|
1407
1375
|
)
|
|
1408
|
-
),
|
|
1376
|
+
), g("initial");
|
|
1409
1377
|
};
|
|
1410
|
-
return
|
|
1411
|
-
|
|
1378
|
+
return r == null || r.subscribe("invalidPasswordSubmitted", E), () => {
|
|
1379
|
+
r == null || r.unsubscribe("invalidPasswordSubmitted", E);
|
|
1412
1380
|
};
|
|
1413
|
-
}, [
|
|
1414
|
-
const
|
|
1415
|
-
if (
|
|
1416
|
-
if (!
|
|
1417
|
-
|
|
1381
|
+
}, [a, r, o, b]);
|
|
1382
|
+
const w = (E) => {
|
|
1383
|
+
if (E.preventDefault(), !!r) {
|
|
1384
|
+
if (!o || o !== i) {
|
|
1385
|
+
b(a("recover.password.validation.passwordsDoNotMatch"));
|
|
1418
1386
|
return;
|
|
1419
1387
|
}
|
|
1420
|
-
|
|
1388
|
+
r.publish("passwordSubmitted", o), g("submitting");
|
|
1421
1389
|
}
|
|
1422
|
-
},
|
|
1423
|
-
|
|
1424
|
-
},
|
|
1425
|
-
|
|
1390
|
+
}, M = (E) => {
|
|
1391
|
+
n(E.target.value), b(null);
|
|
1392
|
+
}, S = (E) => {
|
|
1393
|
+
C(E.target.value), b(null);
|
|
1426
1394
|
};
|
|
1427
|
-
return /* @__PURE__ */
|
|
1428
|
-
/* @__PURE__ */
|
|
1429
|
-
/* @__PURE__ */
|
|
1430
|
-
/* @__PURE__ */
|
|
1395
|
+
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1396
|
+
/* @__PURE__ */ s.jsxs(Re, { space: "0.25", children: [
|
|
1397
|
+
/* @__PURE__ */ s.jsx(je, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
|
|
1398
|
+
/* @__PURE__ */ s.jsx(je, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
|
|
1431
1399
|
] }),
|
|
1432
|
-
/* @__PURE__ */
|
|
1433
|
-
/* @__PURE__ */
|
|
1434
|
-
/* @__PURE__ */
|
|
1435
|
-
|
|
1400
|
+
/* @__PURE__ */ s.jsxs("form", { onSubmit: w, children: [
|
|
1401
|
+
/* @__PURE__ */ s.jsxs("div", { className: Ar, children: [
|
|
1402
|
+
/* @__PURE__ */ s.jsx(
|
|
1403
|
+
Ge,
|
|
1436
1404
|
{
|
|
1437
1405
|
id: "password-input",
|
|
1438
|
-
label:
|
|
1439
|
-
placeholder:
|
|
1406
|
+
label: a("recover.password.input.password.label"),
|
|
1407
|
+
placeholder: a("recover.password.input.placeholder"),
|
|
1440
1408
|
name: "password",
|
|
1441
|
-
value:
|
|
1442
|
-
onChange:
|
|
1443
|
-
error: !!
|
|
1409
|
+
value: o ?? "",
|
|
1410
|
+
onChange: M,
|
|
1411
|
+
error: !!v,
|
|
1444
1412
|
autoComplete: "new-password"
|
|
1445
1413
|
}
|
|
1446
1414
|
),
|
|
1447
|
-
/* @__PURE__ */
|
|
1448
|
-
|
|
1415
|
+
/* @__PURE__ */ s.jsx(
|
|
1416
|
+
Ge,
|
|
1449
1417
|
{
|
|
1450
1418
|
id: "password-input-confirm",
|
|
1451
|
-
label:
|
|
1452
|
-
placeholder:
|
|
1419
|
+
label: a("recover.password.input.confirmPassword.label"),
|
|
1420
|
+
placeholder: a("recover.password.input.placeholder"),
|
|
1453
1421
|
name: "passwordConfirm",
|
|
1454
|
-
value:
|
|
1455
|
-
onChange:
|
|
1456
|
-
className:
|
|
1457
|
-
error: !!
|
|
1422
|
+
value: i ?? "",
|
|
1423
|
+
onChange: S,
|
|
1424
|
+
className: ia({ marginTop: "4" }),
|
|
1425
|
+
error: !!v,
|
|
1458
1426
|
autoComplete: "new-password"
|
|
1459
1427
|
}
|
|
1460
1428
|
),
|
|
1461
|
-
|
|
1429
|
+
v && /* @__PURE__ */ s.jsx(Yr, { message: v })
|
|
1462
1430
|
] }),
|
|
1463
|
-
/* @__PURE__ */
|
|
1464
|
-
|
|
1431
|
+
/* @__PURE__ */ s.jsx(
|
|
1432
|
+
na,
|
|
1465
1433
|
{
|
|
1466
1434
|
type: "submit",
|
|
1467
1435
|
variant: "primary",
|
|
1468
1436
|
testId: "sid-form-initial-submit-button",
|
|
1469
|
-
disabled:
|
|
1470
|
-
loading:
|
|
1471
|
-
children:
|
|
1437
|
+
disabled: f === "submitting",
|
|
1438
|
+
loading: f === "submitting",
|
|
1439
|
+
children: a("recover.password.submit")
|
|
1472
1440
|
}
|
|
1473
1441
|
)
|
|
1474
1442
|
] })
|
|
1475
1443
|
] });
|
|
1476
1444
|
}
|
|
1477
|
-
const Pr = Object.prototype.toString;
|
|
1478
|
-
function Nr(t, e) {
|
|
1479
|
-
return Pr.call(t) === `[object ${e}]`;
|
|
1480
|
-
}
|
|
1481
|
-
function It(t) {
|
|
1482
|
-
return Nr(t, "Object");
|
|
1483
|
-
}
|
|
1484
|
-
function He(t) {
|
|
1485
|
-
return !!(t && t.then && typeof t.then == "function");
|
|
1486
|
-
}
|
|
1487
|
-
function xe(t) {
|
|
1488
|
-
return t && t.Math == Math ? t : void 0;
|
|
1489
|
-
}
|
|
1490
|
-
const D = typeof globalThis == "object" && xe(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
1491
|
-
typeof window == "object" && xe(window) || typeof self == "object" && xe(self) || typeof global == "object" && xe(global) || /* @__PURE__ */ function() {
|
|
1492
|
-
return this;
|
|
1493
|
-
}() || {};
|
|
1494
|
-
function Lt(t, e, s) {
|
|
1495
|
-
const r = s || D, a = r.__SENTRY__ = r.__SENTRY__ || {};
|
|
1496
|
-
return a[t] || (a[t] = e());
|
|
1497
|
-
}
|
|
1498
|
-
const Dr = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Ir = "Sentry Logger ", mt = [
|
|
1499
|
-
"debug",
|
|
1500
|
-
"info",
|
|
1501
|
-
"warn",
|
|
1502
|
-
"error",
|
|
1503
|
-
"log",
|
|
1504
|
-
"assert",
|
|
1505
|
-
"trace"
|
|
1506
|
-
], Ct = {};
|
|
1507
|
-
function At(t) {
|
|
1508
|
-
if (!("console" in D))
|
|
1509
|
-
return t();
|
|
1510
|
-
const e = D.console, s = {}, r = Object.keys(Ct);
|
|
1511
|
-
r.forEach((a) => {
|
|
1512
|
-
const l = Ct[a];
|
|
1513
|
-
s[a] = e[a], e[a] = l;
|
|
1514
|
-
});
|
|
1515
|
-
try {
|
|
1516
|
-
return t();
|
|
1517
|
-
} finally {
|
|
1518
|
-
r.forEach((a) => {
|
|
1519
|
-
e[a] = s[a];
|
|
1520
|
-
});
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
function Lr() {
|
|
1524
|
-
let t = !1;
|
|
1525
|
-
const e = {
|
|
1526
|
-
enable: () => {
|
|
1527
|
-
t = !0;
|
|
1528
|
-
},
|
|
1529
|
-
disable: () => {
|
|
1530
|
-
t = !1;
|
|
1531
|
-
},
|
|
1532
|
-
isEnabled: () => t
|
|
1533
|
-
};
|
|
1534
|
-
return Dr ? mt.forEach((s) => {
|
|
1535
|
-
e[s] = (...r) => {
|
|
1536
|
-
t && At(() => {
|
|
1537
|
-
D.console[s](`${Ir}[${s}]:`, ...r);
|
|
1538
|
-
});
|
|
1539
|
-
};
|
|
1540
|
-
}) : mt.forEach((s) => {
|
|
1541
|
-
e[s] = () => {
|
|
1542
|
-
};
|
|
1543
|
-
}), e;
|
|
1544
|
-
}
|
|
1545
|
-
const H = Lr();
|
|
1546
|
-
function G(t) {
|
|
1547
|
-
return Ue(t, /* @__PURE__ */ new Map());
|
|
1548
|
-
}
|
|
1549
|
-
function Ue(t, e) {
|
|
1550
|
-
if (Ar(t)) {
|
|
1551
|
-
const s = e.get(t);
|
|
1552
|
-
if (s !== void 0)
|
|
1553
|
-
return s;
|
|
1554
|
-
const r = {};
|
|
1555
|
-
e.set(t, r);
|
|
1556
|
-
for (const a of Object.keys(t))
|
|
1557
|
-
typeof t[a] < "u" && (r[a] = Ue(t[a], e));
|
|
1558
|
-
return r;
|
|
1559
|
-
}
|
|
1560
|
-
if (Array.isArray(t)) {
|
|
1561
|
-
const s = e.get(t);
|
|
1562
|
-
if (s !== void 0)
|
|
1563
|
-
return s;
|
|
1564
|
-
const r = [];
|
|
1565
|
-
return e.set(t, r), t.forEach((a) => {
|
|
1566
|
-
r.push(Ue(a, e));
|
|
1567
|
-
}), r;
|
|
1568
|
-
}
|
|
1569
|
-
return t;
|
|
1570
|
-
}
|
|
1571
|
-
function Ar(t) {
|
|
1572
|
-
if (!It(t))
|
|
1573
|
-
return !1;
|
|
1574
|
-
try {
|
|
1575
|
-
const e = Object.getPrototypeOf(t).constructor.name;
|
|
1576
|
-
return !e || e === "Object";
|
|
1577
|
-
} catch {
|
|
1578
|
-
return !0;
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
function L() {
|
|
1582
|
-
const t = D, e = t.crypto || t.msCrypto;
|
|
1583
|
-
let s = () => Math.random() * 16;
|
|
1584
|
-
try {
|
|
1585
|
-
if (e && e.randomUUID)
|
|
1586
|
-
return e.randomUUID().replace(/-/g, "");
|
|
1587
|
-
e && e.getRandomValues && (s = () => {
|
|
1588
|
-
const r = new Uint8Array(1);
|
|
1589
|
-
return e.getRandomValues(r), r[0];
|
|
1590
|
-
});
|
|
1591
|
-
} catch {
|
|
1592
|
-
}
|
|
1593
|
-
return ("10000000100040008000" + 1e11).replace(
|
|
1594
|
-
/[018]/g,
|
|
1595
|
-
(r) => (
|
|
1596
|
-
// eslint-disable-next-line no-bitwise
|
|
1597
|
-
(r ^ (s() & 15) >> r / 4).toString(16)
|
|
1598
|
-
)
|
|
1599
|
-
);
|
|
1600
|
-
}
|
|
1601
|
-
function Fr(t) {
|
|
1602
|
-
return Array.isArray(t) ? t : [t];
|
|
1603
|
-
}
|
|
1604
|
-
var q;
|
|
1605
|
-
(function(t) {
|
|
1606
|
-
t[t.PENDING = 0] = "PENDING";
|
|
1607
|
-
const s = 1;
|
|
1608
|
-
t[t.RESOLVED = s] = "RESOLVED";
|
|
1609
|
-
const r = 2;
|
|
1610
|
-
t[t.REJECTED = r] = "REJECTED";
|
|
1611
|
-
})(q || (q = {}));
|
|
1612
|
-
class $ {
|
|
1613
|
-
constructor(e) {
|
|
1614
|
-
$.prototype.__init.call(this), $.prototype.__init2.call(this), $.prototype.__init3.call(this), $.prototype.__init4.call(this), this._state = q.PENDING, this._handlers = [];
|
|
1615
|
-
try {
|
|
1616
|
-
e(this._resolve, this._reject);
|
|
1617
|
-
} catch (s) {
|
|
1618
|
-
this._reject(s);
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
/** JSDoc */
|
|
1622
|
-
then(e, s) {
|
|
1623
|
-
return new $((r, a) => {
|
|
1624
|
-
this._handlers.push([
|
|
1625
|
-
!1,
|
|
1626
|
-
(l) => {
|
|
1627
|
-
if (!e)
|
|
1628
|
-
r(l);
|
|
1629
|
-
else
|
|
1630
|
-
try {
|
|
1631
|
-
r(e(l));
|
|
1632
|
-
} catch (c) {
|
|
1633
|
-
a(c);
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
|
-
(l) => {
|
|
1637
|
-
if (!s)
|
|
1638
|
-
a(l);
|
|
1639
|
-
else
|
|
1640
|
-
try {
|
|
1641
|
-
r(s(l));
|
|
1642
|
-
} catch (c) {
|
|
1643
|
-
a(c);
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
]), this._executeHandlers();
|
|
1647
|
-
});
|
|
1648
|
-
}
|
|
1649
|
-
/** JSDoc */
|
|
1650
|
-
catch(e) {
|
|
1651
|
-
return this.then((s) => s, e);
|
|
1652
|
-
}
|
|
1653
|
-
/** JSDoc */
|
|
1654
|
-
finally(e) {
|
|
1655
|
-
return new $((s, r) => {
|
|
1656
|
-
let a, l;
|
|
1657
|
-
return this.then(
|
|
1658
|
-
(c) => {
|
|
1659
|
-
l = !1, a = c, e && e();
|
|
1660
|
-
},
|
|
1661
|
-
(c) => {
|
|
1662
|
-
l = !0, a = c, e && e();
|
|
1663
|
-
}
|
|
1664
|
-
).then(() => {
|
|
1665
|
-
if (l) {
|
|
1666
|
-
r(a);
|
|
1667
|
-
return;
|
|
1668
|
-
}
|
|
1669
|
-
s(a);
|
|
1670
|
-
});
|
|
1671
|
-
});
|
|
1672
|
-
}
|
|
1673
|
-
/** JSDoc */
|
|
1674
|
-
__init() {
|
|
1675
|
-
this._resolve = (e) => {
|
|
1676
|
-
this._setResult(q.RESOLVED, e);
|
|
1677
|
-
};
|
|
1678
|
-
}
|
|
1679
|
-
/** JSDoc */
|
|
1680
|
-
__init2() {
|
|
1681
|
-
this._reject = (e) => {
|
|
1682
|
-
this._setResult(q.REJECTED, e);
|
|
1683
|
-
};
|
|
1684
|
-
}
|
|
1685
|
-
/** JSDoc */
|
|
1686
|
-
__init3() {
|
|
1687
|
-
this._setResult = (e, s) => {
|
|
1688
|
-
if (this._state === q.PENDING) {
|
|
1689
|
-
if (He(s)) {
|
|
1690
|
-
s.then(this._resolve, this._reject);
|
|
1691
|
-
return;
|
|
1692
|
-
}
|
|
1693
|
-
this._state = e, this._value = s, this._executeHandlers();
|
|
1694
|
-
}
|
|
1695
|
-
};
|
|
1696
|
-
}
|
|
1697
|
-
/** JSDoc */
|
|
1698
|
-
__init4() {
|
|
1699
|
-
this._executeHandlers = () => {
|
|
1700
|
-
if (this._state === q.PENDING)
|
|
1701
|
-
return;
|
|
1702
|
-
const e = this._handlers.slice();
|
|
1703
|
-
this._handlers = [], e.forEach((s) => {
|
|
1704
|
-
s[0] || (this._state === q.RESOLVED && s[1](this._value), this._state === q.REJECTED && s[2](this._value), s[0] = !0);
|
|
1705
|
-
});
|
|
1706
|
-
};
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
const Ft = 1e3;
|
|
1710
|
-
function Ge() {
|
|
1711
|
-
return Date.now() / Ft;
|
|
1712
|
-
}
|
|
1713
|
-
function Ur() {
|
|
1714
|
-
const { performance: t } = D;
|
|
1715
|
-
if (!t || !t.now)
|
|
1716
|
-
return Ge;
|
|
1717
|
-
const e = Date.now() - t.now(), s = t.timeOrigin == null ? e : t.timeOrigin;
|
|
1718
|
-
return () => (s + t.now()) / Ft;
|
|
1719
|
-
}
|
|
1720
|
-
const Ut = Ur();
|
|
1721
|
-
(() => {
|
|
1722
|
-
const { performance: t } = D;
|
|
1723
|
-
if (!t || !t.now)
|
|
1724
|
-
return;
|
|
1725
|
-
const e = 3600 * 1e3, s = t.now(), r = Date.now(), a = t.timeOrigin ? Math.abs(t.timeOrigin + s - r) : e, l = a < e, c = t.timing && t.timing.navigationStart, d = typeof c == "number" ? Math.abs(c + s - r) : e, b = d < e;
|
|
1726
|
-
return l || b ? a <= d ? t.timeOrigin : c : r;
|
|
1727
|
-
})();
|
|
1728
|
-
const ve = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, qt = "production";
|
|
1729
|
-
function qr() {
|
|
1730
|
-
return Lt("globalEventProcessors", () => []);
|
|
1731
|
-
}
|
|
1732
|
-
function qe(t, e, s, r = 0) {
|
|
1733
|
-
return new $((a, l) => {
|
|
1734
|
-
const c = t[r];
|
|
1735
|
-
if (e === null || typeof c != "function")
|
|
1736
|
-
a(e);
|
|
1737
|
-
else {
|
|
1738
|
-
const f = c({ ...e }, s);
|
|
1739
|
-
ve && c.id && f === null && H.log(`Event processor "${c.id}" dropped event`), He(f) ? f.then((d) => qe(t, d, s, r + 1).then(a)).then(null, l) : qe(t, f, s, r + 1).then(a).then(null, l);
|
|
1740
|
-
}
|
|
1741
|
-
});
|
|
1742
|
-
}
|
|
1743
|
-
function Br(t) {
|
|
1744
|
-
const e = Ut(), s = {
|
|
1745
|
-
sid: L(),
|
|
1746
|
-
init: !0,
|
|
1747
|
-
timestamp: e,
|
|
1748
|
-
started: e,
|
|
1749
|
-
duration: 0,
|
|
1750
|
-
status: "ok",
|
|
1751
|
-
errors: 0,
|
|
1752
|
-
ignoreDuration: !1,
|
|
1753
|
-
toJSON: () => Yr(s)
|
|
1754
|
-
};
|
|
1755
|
-
return t && ze(s, t), s;
|
|
1756
|
-
}
|
|
1757
|
-
function ze(t, e = {}) {
|
|
1758
|
-
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || Ut(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : L()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
|
|
1759
|
-
t.duration = void 0;
|
|
1760
|
-
else if (typeof e.duration == "number")
|
|
1761
|
-
t.duration = e.duration;
|
|
1762
|
-
else {
|
|
1763
|
-
const s = t.timestamp - t.started;
|
|
1764
|
-
t.duration = s >= 0 ? s : 0;
|
|
1765
|
-
}
|
|
1766
|
-
e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
|
|
1767
|
-
}
|
|
1768
|
-
function Vr(t, e) {
|
|
1769
|
-
let s = {};
|
|
1770
|
-
e ? s = { status: e } : t.status === "ok" && (s = { status: "exited" }), ze(t, s);
|
|
1771
|
-
}
|
|
1772
|
-
function Yr(t) {
|
|
1773
|
-
return G({
|
|
1774
|
-
sid: `${t.sid}`,
|
|
1775
|
-
init: t.init,
|
|
1776
|
-
// Make sure that sec is converted to ms for date constructor
|
|
1777
|
-
started: new Date(t.started * 1e3).toISOString(),
|
|
1778
|
-
timestamp: new Date(t.timestamp * 1e3).toISOString(),
|
|
1779
|
-
status: t.status,
|
|
1780
|
-
errors: t.errors,
|
|
1781
|
-
did: typeof t.did == "number" || typeof t.did == "string" ? `${t.did}` : void 0,
|
|
1782
|
-
duration: t.duration,
|
|
1783
|
-
abnormal_mechanism: t.abnormal_mechanism,
|
|
1784
|
-
attrs: {
|
|
1785
|
-
release: t.release,
|
|
1786
|
-
environment: t.environment,
|
|
1787
|
-
ip_address: t.ipAddress,
|
|
1788
|
-
user_agent: t.userAgent
|
|
1789
|
-
}
|
|
1790
|
-
});
|
|
1791
|
-
}
|
|
1792
|
-
const $r = 1;
|
|
1793
|
-
function Hr(t) {
|
|
1794
|
-
const { spanId: e, traceId: s } = t.spanContext(), { data: r, op: a, parent_span_id: l, status: c, tags: f, origin: d } = me(t);
|
|
1795
|
-
return G({
|
|
1796
|
-
data: r,
|
|
1797
|
-
op: a,
|
|
1798
|
-
parent_span_id: l,
|
|
1799
|
-
span_id: e,
|
|
1800
|
-
status: c,
|
|
1801
|
-
tags: f,
|
|
1802
|
-
trace_id: s,
|
|
1803
|
-
origin: d
|
|
1804
|
-
});
|
|
1805
|
-
}
|
|
1806
|
-
function me(t) {
|
|
1807
|
-
return Gr(t) ? t.getSpanJSON() : typeof t.toJSON == "function" ? t.toJSON() : {};
|
|
1808
|
-
}
|
|
1809
|
-
function Gr(t) {
|
|
1810
|
-
return typeof t.getSpanJSON == "function";
|
|
1811
|
-
}
|
|
1812
|
-
function Wr(t) {
|
|
1813
|
-
const { traceFlags: e } = t.spanContext();
|
|
1814
|
-
return !!(e & $r);
|
|
1815
|
-
}
|
|
1816
|
-
function Jr(t) {
|
|
1817
|
-
if (t)
|
|
1818
|
-
return Kr(t) ? { captureContext: t } : Qr(t) ? {
|
|
1819
|
-
captureContext: t
|
|
1820
|
-
} : t;
|
|
1821
|
-
}
|
|
1822
|
-
function Kr(t) {
|
|
1823
|
-
return t instanceof W || typeof t == "function";
|
|
1824
|
-
}
|
|
1825
|
-
const Zr = [
|
|
1826
|
-
"user",
|
|
1827
|
-
"level",
|
|
1828
|
-
"extra",
|
|
1829
|
-
"contexts",
|
|
1830
|
-
"tags",
|
|
1831
|
-
"fingerprint",
|
|
1832
|
-
"requestSession",
|
|
1833
|
-
"propagationContext"
|
|
1834
|
-
];
|
|
1835
|
-
function Qr(t) {
|
|
1836
|
-
return Object.keys(t).some((e) => Zr.includes(e));
|
|
1837
|
-
}
|
|
1838
|
-
function Xr(t, e) {
|
|
1839
|
-
return We().captureException(t, Jr(e));
|
|
1840
|
-
}
|
|
1841
|
-
function en() {
|
|
1842
|
-
return We().getClient();
|
|
1843
|
-
}
|
|
1844
|
-
function tn() {
|
|
1845
|
-
return We().getScope();
|
|
1846
|
-
}
|
|
1847
|
-
function Bt(t) {
|
|
1848
|
-
return t.transaction;
|
|
1849
|
-
}
|
|
1850
|
-
function sn(t, e, s) {
|
|
1851
|
-
const r = e.getOptions(), { publicKey: a } = e.getDsn() || {}, { segment: l } = s && s.getUser() || {}, c = G({
|
|
1852
|
-
environment: r.environment || qt,
|
|
1853
|
-
release: r.release,
|
|
1854
|
-
user_segment: l,
|
|
1855
|
-
public_key: a,
|
|
1856
|
-
trace_id: t
|
|
1857
|
-
});
|
|
1858
|
-
return e.emit && e.emit("createDsc", c), c;
|
|
1859
|
-
}
|
|
1860
|
-
function rn(t) {
|
|
1861
|
-
const e = en();
|
|
1862
|
-
if (!e)
|
|
1863
|
-
return {};
|
|
1864
|
-
const s = sn(me(t).trace_id || "", e, tn()), r = Bt(t);
|
|
1865
|
-
if (!r)
|
|
1866
|
-
return s;
|
|
1867
|
-
const a = r && r._frozenDynamicSamplingContext;
|
|
1868
|
-
if (a)
|
|
1869
|
-
return a;
|
|
1870
|
-
const { sampleRate: l, source: c } = r.metadata;
|
|
1871
|
-
l != null && (s.sample_rate = `${l}`);
|
|
1872
|
-
const f = me(r);
|
|
1873
|
-
return c && c !== "url" && (s.transaction = f.description), s.sampled = String(Wr(r)), e.emit && e.emit("createDsc", s), s;
|
|
1874
|
-
}
|
|
1875
|
-
function nn(t, e) {
|
|
1876
|
-
const { fingerprint: s, span: r, breadcrumbs: a, sdkProcessingMetadata: l } = e;
|
|
1877
|
-
an(t, e), r && un(t, r), cn(t, s), on(t, a), ln(t, l);
|
|
1878
|
-
}
|
|
1879
|
-
function an(t, e) {
|
|
1880
|
-
const {
|
|
1881
|
-
extra: s,
|
|
1882
|
-
tags: r,
|
|
1883
|
-
user: a,
|
|
1884
|
-
contexts: l,
|
|
1885
|
-
level: c,
|
|
1886
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1887
|
-
transactionName: f
|
|
1888
|
-
} = e, d = G(s);
|
|
1889
|
-
d && Object.keys(d).length && (t.extra = { ...d, ...t.extra });
|
|
1890
|
-
const b = G(r);
|
|
1891
|
-
b && Object.keys(b).length && (t.tags = { ...b, ...t.tags });
|
|
1892
|
-
const x = G(a);
|
|
1893
|
-
x && Object.keys(x).length && (t.user = { ...x, ...t.user });
|
|
1894
|
-
const w = G(l);
|
|
1895
|
-
w && Object.keys(w).length && (t.contexts = { ...w, ...t.contexts }), c && (t.level = c), f && (t.transaction = f);
|
|
1896
|
-
}
|
|
1897
|
-
function on(t, e) {
|
|
1898
|
-
const s = [...t.breadcrumbs || [], ...e];
|
|
1899
|
-
t.breadcrumbs = s.length ? s : void 0;
|
|
1900
|
-
}
|
|
1901
|
-
function ln(t, e) {
|
|
1902
|
-
t.sdkProcessingMetadata = {
|
|
1903
|
-
...t.sdkProcessingMetadata,
|
|
1904
|
-
...e
|
|
1905
|
-
};
|
|
1906
|
-
}
|
|
1907
|
-
function un(t, e) {
|
|
1908
|
-
t.contexts = { trace: Hr(e), ...t.contexts };
|
|
1909
|
-
const s = Bt(e);
|
|
1910
|
-
if (s) {
|
|
1911
|
-
t.sdkProcessingMetadata = {
|
|
1912
|
-
dynamicSamplingContext: rn(e),
|
|
1913
|
-
...t.sdkProcessingMetadata
|
|
1914
|
-
};
|
|
1915
|
-
const r = me(s).description;
|
|
1916
|
-
r && (t.tags = { transaction: r, ...t.tags });
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
function cn(t, e) {
|
|
1920
|
-
t.fingerprint = t.fingerprint ? Fr(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
|
|
1921
|
-
}
|
|
1922
|
-
const dn = 100;
|
|
1923
|
-
class W {
|
|
1924
|
-
/** Flag if notifying is happening. */
|
|
1925
|
-
/** Callback for client to receive scope changes. */
|
|
1926
|
-
/** Callback list that will be called after {@link applyToEvent}. */
|
|
1927
|
-
/** Array of breadcrumbs. */
|
|
1928
|
-
/** User */
|
|
1929
|
-
/** Tags */
|
|
1930
|
-
/** Extra */
|
|
1931
|
-
/** Contexts */
|
|
1932
|
-
/** Attachments */
|
|
1933
|
-
/** Propagation Context for distributed tracing */
|
|
1934
|
-
/**
|
|
1935
|
-
* A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get
|
|
1936
|
-
* sent to Sentry
|
|
1937
|
-
*/
|
|
1938
|
-
/** Fingerprint */
|
|
1939
|
-
/** Severity */
|
|
1940
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
1941
|
-
/**
|
|
1942
|
-
* Transaction Name
|
|
1943
|
-
*/
|
|
1944
|
-
/** Span */
|
|
1945
|
-
/** Session */
|
|
1946
|
-
/** Request Mode Session Status */
|
|
1947
|
-
/** The client on this scope */
|
|
1948
|
-
// NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
|
|
1949
|
-
constructor() {
|
|
1950
|
-
this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = wt();
|
|
1951
|
-
}
|
|
1952
|
-
/**
|
|
1953
|
-
* Inherit values from the parent scope.
|
|
1954
|
-
* @deprecated Use `scope.clone()` and `new Scope()` instead.
|
|
1955
|
-
*/
|
|
1956
|
-
static clone(e) {
|
|
1957
|
-
return e ? e.clone() : new W();
|
|
1958
|
-
}
|
|
1959
|
-
/**
|
|
1960
|
-
* Clone this scope instance.
|
|
1961
|
-
*/
|
|
1962
|
-
clone() {
|
|
1963
|
-
const e = new W();
|
|
1964
|
-
return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, e._user = this._user, e._level = this._level, e._span = this._span, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._requestSession = this._requestSession, e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e;
|
|
1965
|
-
}
|
|
1966
|
-
/** Update the client on the scope. */
|
|
1967
|
-
setClient(e) {
|
|
1968
|
-
this._client = e;
|
|
1969
|
-
}
|
|
1970
|
-
/**
|
|
1971
|
-
* Get the client assigned to this scope.
|
|
1972
|
-
*
|
|
1973
|
-
* It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.
|
|
1974
|
-
*/
|
|
1975
|
-
getClient() {
|
|
1976
|
-
return this._client;
|
|
1977
|
-
}
|
|
1978
|
-
/**
|
|
1979
|
-
* Add internal on change listener. Used for sub SDKs that need to store the scope.
|
|
1980
|
-
* @hidden
|
|
1981
|
-
*/
|
|
1982
|
-
addScopeListener(e) {
|
|
1983
|
-
this._scopeListeners.push(e);
|
|
1984
|
-
}
|
|
1985
|
-
/**
|
|
1986
|
-
* @inheritDoc
|
|
1987
|
-
*/
|
|
1988
|
-
addEventProcessor(e) {
|
|
1989
|
-
return this._eventProcessors.push(e), this;
|
|
1990
|
-
}
|
|
1991
|
-
/**
|
|
1992
|
-
* @inheritDoc
|
|
1993
|
-
*/
|
|
1994
|
-
setUser(e) {
|
|
1995
|
-
return this._user = e || {
|
|
1996
|
-
email: void 0,
|
|
1997
|
-
id: void 0,
|
|
1998
|
-
ip_address: void 0,
|
|
1999
|
-
segment: void 0,
|
|
2000
|
-
username: void 0
|
|
2001
|
-
}, this._session && ze(this._session, { user: e }), this._notifyScopeListeners(), this;
|
|
2002
|
-
}
|
|
2003
|
-
/**
|
|
2004
|
-
* @inheritDoc
|
|
2005
|
-
*/
|
|
2006
|
-
getUser() {
|
|
2007
|
-
return this._user;
|
|
2008
|
-
}
|
|
2009
|
-
/**
|
|
2010
|
-
* @inheritDoc
|
|
2011
|
-
*/
|
|
2012
|
-
getRequestSession() {
|
|
2013
|
-
return this._requestSession;
|
|
2014
|
-
}
|
|
2015
|
-
/**
|
|
2016
|
-
* @inheritDoc
|
|
2017
|
-
*/
|
|
2018
|
-
setRequestSession(e) {
|
|
2019
|
-
return this._requestSession = e, this;
|
|
2020
|
-
}
|
|
2021
|
-
/**
|
|
2022
|
-
* @inheritDoc
|
|
2023
|
-
*/
|
|
2024
|
-
setTags(e) {
|
|
2025
|
-
return this._tags = {
|
|
2026
|
-
...this._tags,
|
|
2027
|
-
...e
|
|
2028
|
-
}, this._notifyScopeListeners(), this;
|
|
2029
|
-
}
|
|
2030
|
-
/**
|
|
2031
|
-
* @inheritDoc
|
|
2032
|
-
*/
|
|
2033
|
-
setTag(e, s) {
|
|
2034
|
-
return this._tags = { ...this._tags, [e]: s }, this._notifyScopeListeners(), this;
|
|
2035
|
-
}
|
|
2036
|
-
/**
|
|
2037
|
-
* @inheritDoc
|
|
2038
|
-
*/
|
|
2039
|
-
setExtras(e) {
|
|
2040
|
-
return this._extra = {
|
|
2041
|
-
...this._extra,
|
|
2042
|
-
...e
|
|
2043
|
-
}, this._notifyScopeListeners(), this;
|
|
2044
|
-
}
|
|
2045
|
-
/**
|
|
2046
|
-
* @inheritDoc
|
|
2047
|
-
*/
|
|
2048
|
-
setExtra(e, s) {
|
|
2049
|
-
return this._extra = { ...this._extra, [e]: s }, this._notifyScopeListeners(), this;
|
|
2050
|
-
}
|
|
2051
|
-
/**
|
|
2052
|
-
* @inheritDoc
|
|
2053
|
-
*/
|
|
2054
|
-
setFingerprint(e) {
|
|
2055
|
-
return this._fingerprint = e, this._notifyScopeListeners(), this;
|
|
2056
|
-
}
|
|
2057
|
-
/**
|
|
2058
|
-
* @inheritDoc
|
|
2059
|
-
*/
|
|
2060
|
-
setLevel(e) {
|
|
2061
|
-
return this._level = e, this._notifyScopeListeners(), this;
|
|
2062
|
-
}
|
|
2063
|
-
/**
|
|
2064
|
-
* Sets the transaction name on the scope for future events.
|
|
2065
|
-
*/
|
|
2066
|
-
setTransactionName(e) {
|
|
2067
|
-
return this._transactionName = e, this._notifyScopeListeners(), this;
|
|
2068
|
-
}
|
|
2069
|
-
/**
|
|
2070
|
-
* @inheritDoc
|
|
2071
|
-
*/
|
|
2072
|
-
setContext(e, s) {
|
|
2073
|
-
return s === null ? delete this._contexts[e] : this._contexts[e] = s, this._notifyScopeListeners(), this;
|
|
2074
|
-
}
|
|
2075
|
-
/**
|
|
2076
|
-
* Sets the Span on the scope.
|
|
2077
|
-
* @param span Span
|
|
2078
|
-
* @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.
|
|
2079
|
-
*/
|
|
2080
|
-
setSpan(e) {
|
|
2081
|
-
return this._span = e, this._notifyScopeListeners(), this;
|
|
2082
|
-
}
|
|
2083
|
-
/**
|
|
2084
|
-
* Returns the `Span` if there is one.
|
|
2085
|
-
* @deprecated Use `getActiveSpan()` instead.
|
|
2086
|
-
*/
|
|
2087
|
-
getSpan() {
|
|
2088
|
-
return this._span;
|
|
2089
|
-
}
|
|
2090
|
-
/**
|
|
2091
|
-
* Returns the `Transaction` attached to the scope (if there is one).
|
|
2092
|
-
* @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.
|
|
2093
|
-
*/
|
|
2094
|
-
getTransaction() {
|
|
2095
|
-
const e = this._span;
|
|
2096
|
-
return e && e.transaction;
|
|
2097
|
-
}
|
|
2098
|
-
/**
|
|
2099
|
-
* @inheritDoc
|
|
2100
|
-
*/
|
|
2101
|
-
setSession(e) {
|
|
2102
|
-
return e ? this._session = e : delete this._session, this._notifyScopeListeners(), this;
|
|
2103
|
-
}
|
|
2104
|
-
/**
|
|
2105
|
-
* @inheritDoc
|
|
2106
|
-
*/
|
|
2107
|
-
getSession() {
|
|
2108
|
-
return this._session;
|
|
2109
|
-
}
|
|
2110
|
-
/**
|
|
2111
|
-
* @inheritDoc
|
|
2112
|
-
*/
|
|
2113
|
-
update(e) {
|
|
2114
|
-
if (!e)
|
|
2115
|
-
return this;
|
|
2116
|
-
const s = typeof e == "function" ? e(this) : e;
|
|
2117
|
-
if (s instanceof W) {
|
|
2118
|
-
const r = s.getScopeData();
|
|
2119
|
-
this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && Object.keys(r.user).length && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint.length && (this._fingerprint = r.fingerprint), s.getRequestSession() && (this._requestSession = s.getRequestSession()), r.propagationContext && (this._propagationContext = r.propagationContext);
|
|
2120
|
-
} else if (It(s)) {
|
|
2121
|
-
const r = e;
|
|
2122
|
-
this._tags = { ...this._tags, ...r.tags }, this._extra = { ...this._extra, ...r.extra }, this._contexts = { ...this._contexts, ...r.contexts }, r.user && (this._user = r.user), r.level && (this._level = r.level), r.fingerprint && (this._fingerprint = r.fingerprint), r.requestSession && (this._requestSession = r.requestSession), r.propagationContext && (this._propagationContext = r.propagationContext);
|
|
2123
|
-
}
|
|
2124
|
-
return this;
|
|
2125
|
-
}
|
|
2126
|
-
/**
|
|
2127
|
-
* @inheritDoc
|
|
2128
|
-
*/
|
|
2129
|
-
clear() {
|
|
2130
|
-
return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext = wt(), this;
|
|
2131
|
-
}
|
|
2132
|
-
/**
|
|
2133
|
-
* @inheritDoc
|
|
2134
|
-
*/
|
|
2135
|
-
addBreadcrumb(e, s) {
|
|
2136
|
-
const r = typeof s == "number" ? s : dn;
|
|
2137
|
-
if (r <= 0)
|
|
2138
|
-
return this;
|
|
2139
|
-
const a = {
|
|
2140
|
-
timestamp: Ge(),
|
|
2141
|
-
...e
|
|
2142
|
-
}, l = this._breadcrumbs;
|
|
2143
|
-
return l.push(a), this._breadcrumbs = l.length > r ? l.slice(-r) : l, this._notifyScopeListeners(), this;
|
|
2144
|
-
}
|
|
2145
|
-
/**
|
|
2146
|
-
* @inheritDoc
|
|
2147
|
-
*/
|
|
2148
|
-
getLastBreadcrumb() {
|
|
2149
|
-
return this._breadcrumbs[this._breadcrumbs.length - 1];
|
|
2150
|
-
}
|
|
2151
|
-
/**
|
|
2152
|
-
* @inheritDoc
|
|
2153
|
-
*/
|
|
2154
|
-
clearBreadcrumbs() {
|
|
2155
|
-
return this._breadcrumbs = [], this._notifyScopeListeners(), this;
|
|
2156
|
-
}
|
|
2157
|
-
/**
|
|
2158
|
-
* @inheritDoc
|
|
2159
|
-
*/
|
|
2160
|
-
addAttachment(e) {
|
|
2161
|
-
return this._attachments.push(e), this;
|
|
2162
|
-
}
|
|
2163
|
-
/**
|
|
2164
|
-
* @inheritDoc
|
|
2165
|
-
* @deprecated Use `getScopeData()` instead.
|
|
2166
|
-
*/
|
|
2167
|
-
getAttachments() {
|
|
2168
|
-
return this.getScopeData().attachments;
|
|
2169
|
-
}
|
|
2170
|
-
/**
|
|
2171
|
-
* @inheritDoc
|
|
2172
|
-
*/
|
|
2173
|
-
clearAttachments() {
|
|
2174
|
-
return this._attachments = [], this;
|
|
2175
|
-
}
|
|
2176
|
-
/** @inheritDoc */
|
|
2177
|
-
getScopeData() {
|
|
2178
|
-
const {
|
|
2179
|
-
_breadcrumbs: e,
|
|
2180
|
-
_attachments: s,
|
|
2181
|
-
_contexts: r,
|
|
2182
|
-
_tags: a,
|
|
2183
|
-
_extra: l,
|
|
2184
|
-
_user: c,
|
|
2185
|
-
_level: f,
|
|
2186
|
-
_fingerprint: d,
|
|
2187
|
-
_eventProcessors: b,
|
|
2188
|
-
_propagationContext: x,
|
|
2189
|
-
_sdkProcessingMetadata: w,
|
|
2190
|
-
_transactionName: O,
|
|
2191
|
-
_span: S
|
|
2192
|
-
} = this;
|
|
2193
|
-
return {
|
|
2194
|
-
breadcrumbs: e,
|
|
2195
|
-
attachments: s,
|
|
2196
|
-
contexts: r,
|
|
2197
|
-
tags: a,
|
|
2198
|
-
extra: l,
|
|
2199
|
-
user: c,
|
|
2200
|
-
level: f,
|
|
2201
|
-
fingerprint: d || [],
|
|
2202
|
-
eventProcessors: b,
|
|
2203
|
-
propagationContext: x,
|
|
2204
|
-
sdkProcessingMetadata: w,
|
|
2205
|
-
transactionName: O,
|
|
2206
|
-
span: S
|
|
2207
|
-
};
|
|
2208
|
-
}
|
|
2209
|
-
/**
|
|
2210
|
-
* Applies data from the scope to the event and runs all event processors on it.
|
|
2211
|
-
*
|
|
2212
|
-
* @param event Event
|
|
2213
|
-
* @param hint Object containing additional information about the original exception, for use by the event processors.
|
|
2214
|
-
* @hidden
|
|
2215
|
-
* @deprecated Use `applyScopeDataToEvent()` directly
|
|
2216
|
-
*/
|
|
2217
|
-
applyToEvent(e, s = {}, r = []) {
|
|
2218
|
-
nn(e, this.getScopeData());
|
|
2219
|
-
const a = [
|
|
2220
|
-
...r,
|
|
2221
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
2222
|
-
...qr(),
|
|
2223
|
-
...this._eventProcessors
|
|
2224
|
-
];
|
|
2225
|
-
return qe(a, e, s);
|
|
2226
|
-
}
|
|
2227
|
-
/**
|
|
2228
|
-
* Add data which will be accessible during event processing but won't get sent to Sentry
|
|
2229
|
-
*/
|
|
2230
|
-
setSDKProcessingMetadata(e) {
|
|
2231
|
-
return this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...e }, this;
|
|
2232
|
-
}
|
|
2233
|
-
/**
|
|
2234
|
-
* @inheritDoc
|
|
2235
|
-
*/
|
|
2236
|
-
setPropagationContext(e) {
|
|
2237
|
-
return this._propagationContext = e, this;
|
|
2238
|
-
}
|
|
2239
|
-
/**
|
|
2240
|
-
* @inheritDoc
|
|
2241
|
-
*/
|
|
2242
|
-
getPropagationContext() {
|
|
2243
|
-
return this._propagationContext;
|
|
2244
|
-
}
|
|
2245
|
-
/**
|
|
2246
|
-
* Capture an exception for this scope.
|
|
2247
|
-
*
|
|
2248
|
-
* @param exception The exception to capture.
|
|
2249
|
-
* @param hint Optinal additional data to attach to the Sentry event.
|
|
2250
|
-
* @returns the id of the captured Sentry event.
|
|
2251
|
-
*/
|
|
2252
|
-
captureException(e, s) {
|
|
2253
|
-
const r = s && s.event_id ? s.event_id : L();
|
|
2254
|
-
if (!this._client)
|
|
2255
|
-
return H.warn("No client configured on scope - will not capture exception!"), r;
|
|
2256
|
-
const a = new Error("Sentry syntheticException");
|
|
2257
|
-
return this._client.captureException(
|
|
2258
|
-
e,
|
|
2259
|
-
{
|
|
2260
|
-
originalException: e,
|
|
2261
|
-
syntheticException: a,
|
|
2262
|
-
...s,
|
|
2263
|
-
event_id: r
|
|
2264
|
-
},
|
|
2265
|
-
this
|
|
2266
|
-
), r;
|
|
2267
|
-
}
|
|
2268
|
-
/**
|
|
2269
|
-
* Capture a message for this scope.
|
|
2270
|
-
*
|
|
2271
|
-
* @param message The message to capture.
|
|
2272
|
-
* @param level An optional severity level to report the message with.
|
|
2273
|
-
* @param hint Optional additional data to attach to the Sentry event.
|
|
2274
|
-
* @returns the id of the captured message.
|
|
2275
|
-
*/
|
|
2276
|
-
captureMessage(e, s, r) {
|
|
2277
|
-
const a = r && r.event_id ? r.event_id : L();
|
|
2278
|
-
if (!this._client)
|
|
2279
|
-
return H.warn("No client configured on scope - will not capture message!"), a;
|
|
2280
|
-
const l = new Error(e);
|
|
2281
|
-
return this._client.captureMessage(
|
|
2282
|
-
e,
|
|
2283
|
-
s,
|
|
2284
|
-
{
|
|
2285
|
-
originalException: e,
|
|
2286
|
-
syntheticException: l,
|
|
2287
|
-
...r,
|
|
2288
|
-
event_id: a
|
|
2289
|
-
},
|
|
2290
|
-
this
|
|
2291
|
-
), a;
|
|
2292
|
-
}
|
|
2293
|
-
/**
|
|
2294
|
-
* Captures a manually created event for this scope and sends it to Sentry.
|
|
2295
|
-
*
|
|
2296
|
-
* @param exception The event to capture.
|
|
2297
|
-
* @param hint Optional additional data to attach to the Sentry event.
|
|
2298
|
-
* @returns the id of the captured event.
|
|
2299
|
-
*/
|
|
2300
|
-
captureEvent(e, s) {
|
|
2301
|
-
const r = s && s.event_id ? s.event_id : L();
|
|
2302
|
-
return this._client ? (this._client.captureEvent(e, { ...s, event_id: r }, this), r) : (H.warn("No client configured on scope - will not capture event!"), r);
|
|
2303
|
-
}
|
|
2304
|
-
/**
|
|
2305
|
-
* This will be called on every set call.
|
|
2306
|
-
*/
|
|
2307
|
-
_notifyScopeListeners() {
|
|
2308
|
-
this._notifyingListeners || (this._notifyingListeners = !0, this._scopeListeners.forEach((e) => {
|
|
2309
|
-
e(this);
|
|
2310
|
-
}), this._notifyingListeners = !1);
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
function wt() {
|
|
2314
|
-
return {
|
|
2315
|
-
traceId: L(),
|
|
2316
|
-
spanId: L().substring(16)
|
|
2317
|
-
};
|
|
2318
|
-
}
|
|
2319
|
-
const fn = "7.108.0", Vt = parseFloat(fn), hn = 100;
|
|
2320
|
-
class Yt {
|
|
2321
|
-
/** Is a {@link Layer}[] containing the client and scope */
|
|
2322
|
-
/** Contains the last event id of a captured event. */
|
|
2323
|
-
/**
|
|
2324
|
-
* Creates a new instance of the hub, will push one {@link Layer} into the
|
|
2325
|
-
* internal stack on creation.
|
|
2326
|
-
*
|
|
2327
|
-
* @param client bound to the hub.
|
|
2328
|
-
* @param scope bound to the hub.
|
|
2329
|
-
* @param version number, higher number means higher priority.
|
|
2330
|
-
*
|
|
2331
|
-
* @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.
|
|
2332
|
-
*
|
|
2333
|
-
* If you are currently using the Hub for multi-client use like so:
|
|
2334
|
-
*
|
|
2335
|
-
* ```
|
|
2336
|
-
* // OLD
|
|
2337
|
-
* const hub = new Hub();
|
|
2338
|
-
* hub.bindClient(client);
|
|
2339
|
-
* makeMain(hub)
|
|
2340
|
-
* ```
|
|
2341
|
-
*
|
|
2342
|
-
* instead initialize the client as follows:
|
|
2343
|
-
*
|
|
2344
|
-
* ```
|
|
2345
|
-
* // NEW
|
|
2346
|
-
* Sentry.withIsolationScope(() => {
|
|
2347
|
-
* Sentry.setCurrentClient(client);
|
|
2348
|
-
* client.init();
|
|
2349
|
-
* });
|
|
2350
|
-
* ```
|
|
2351
|
-
*
|
|
2352
|
-
* If you are using the Hub to capture events like so:
|
|
2353
|
-
*
|
|
2354
|
-
* ```
|
|
2355
|
-
* // OLD
|
|
2356
|
-
* const client = new Client();
|
|
2357
|
-
* const hub = new Hub(client);
|
|
2358
|
-
* hub.captureException()
|
|
2359
|
-
* ```
|
|
2360
|
-
*
|
|
2361
|
-
* instead capture isolated events as follows:
|
|
2362
|
-
*
|
|
2363
|
-
* ```
|
|
2364
|
-
* // NEW
|
|
2365
|
-
* const client = new Client();
|
|
2366
|
-
* const scope = new Scope();
|
|
2367
|
-
* scope.setClient(client);
|
|
2368
|
-
* scope.captureException();
|
|
2369
|
-
* ```
|
|
2370
|
-
*/
|
|
2371
|
-
constructor(e, s, r, a = Vt) {
|
|
2372
|
-
this._version = a;
|
|
2373
|
-
let l;
|
|
2374
|
-
s ? l = s : (l = new W(), l.setClient(e));
|
|
2375
|
-
let c;
|
|
2376
|
-
r ? c = r : (c = new W(), c.setClient(e)), this._stack = [{ scope: l }], e && this.bindClient(e), this._isolationScope = c;
|
|
2377
|
-
}
|
|
2378
|
-
/**
|
|
2379
|
-
* Checks if this hub's version is older than the given version.
|
|
2380
|
-
*
|
|
2381
|
-
* @param version A version number to compare to.
|
|
2382
|
-
* @return True if the given version is newer; otherwise false.
|
|
2383
|
-
*
|
|
2384
|
-
* @deprecated This will be removed in v8.
|
|
2385
|
-
*/
|
|
2386
|
-
isOlderThan(e) {
|
|
2387
|
-
return this._version < e;
|
|
2388
|
-
}
|
|
2389
|
-
/**
|
|
2390
|
-
* This binds the given client to the current scope.
|
|
2391
|
-
* @param client An SDK client (client) instance.
|
|
2392
|
-
*
|
|
2393
|
-
* @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.
|
|
2394
|
-
*/
|
|
2395
|
-
bindClient(e) {
|
|
2396
|
-
const s = this.getStackTop();
|
|
2397
|
-
s.client = e, s.scope.setClient(e), e && e.setupIntegrations && e.setupIntegrations();
|
|
2398
|
-
}
|
|
2399
|
-
/**
|
|
2400
|
-
* @inheritDoc
|
|
2401
|
-
*
|
|
2402
|
-
* @deprecated Use `withScope` instead.
|
|
2403
|
-
*/
|
|
2404
|
-
pushScope() {
|
|
2405
|
-
const e = this.getScope().clone();
|
|
2406
|
-
return this.getStack().push({
|
|
2407
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
2408
|
-
client: this.getClient(),
|
|
2409
|
-
scope: e
|
|
2410
|
-
}), e;
|
|
2411
|
-
}
|
|
2412
|
-
/**
|
|
2413
|
-
* @inheritDoc
|
|
2414
|
-
*
|
|
2415
|
-
* @deprecated Use `withScope` instead.
|
|
2416
|
-
*/
|
|
2417
|
-
popScope() {
|
|
2418
|
-
return this.getStack().length <= 1 ? !1 : !!this.getStack().pop();
|
|
2419
|
-
}
|
|
2420
|
-
/**
|
|
2421
|
-
* @inheritDoc
|
|
2422
|
-
*
|
|
2423
|
-
* @deprecated Use `Sentry.withScope()` instead.
|
|
2424
|
-
*/
|
|
2425
|
-
withScope(e) {
|
|
2426
|
-
const s = this.pushScope();
|
|
2427
|
-
let r;
|
|
2428
|
-
try {
|
|
2429
|
-
r = e(s);
|
|
2430
|
-
} catch (a) {
|
|
2431
|
-
throw this.popScope(), a;
|
|
2432
|
-
}
|
|
2433
|
-
return He(r) ? r.then(
|
|
2434
|
-
(a) => (this.popScope(), a),
|
|
2435
|
-
(a) => {
|
|
2436
|
-
throw this.popScope(), a;
|
|
2437
|
-
}
|
|
2438
|
-
) : (this.popScope(), r);
|
|
2439
|
-
}
|
|
2440
|
-
/**
|
|
2441
|
-
* @inheritDoc
|
|
2442
|
-
*
|
|
2443
|
-
* @deprecated Use `Sentry.getClient()` instead.
|
|
2444
|
-
*/
|
|
2445
|
-
getClient() {
|
|
2446
|
-
return this.getStackTop().client;
|
|
2447
|
-
}
|
|
2448
|
-
/**
|
|
2449
|
-
* Returns the scope of the top stack.
|
|
2450
|
-
*
|
|
2451
|
-
* @deprecated Use `Sentry.getCurrentScope()` instead.
|
|
2452
|
-
*/
|
|
2453
|
-
getScope() {
|
|
2454
|
-
return this.getStackTop().scope;
|
|
2455
|
-
}
|
|
2456
|
-
/**
|
|
2457
|
-
* @deprecated Use `Sentry.getIsolationScope()` instead.
|
|
2458
|
-
*/
|
|
2459
|
-
getIsolationScope() {
|
|
2460
|
-
return this._isolationScope;
|
|
2461
|
-
}
|
|
2462
|
-
/**
|
|
2463
|
-
* Returns the scope stack for domains or the process.
|
|
2464
|
-
* @deprecated This will be removed in v8.
|
|
2465
|
-
*/
|
|
2466
|
-
getStack() {
|
|
2467
|
-
return this._stack;
|
|
2468
|
-
}
|
|
2469
|
-
/**
|
|
2470
|
-
* Returns the topmost scope layer in the order domain > local > process.
|
|
2471
|
-
* @deprecated This will be removed in v8.
|
|
2472
|
-
*/
|
|
2473
|
-
getStackTop() {
|
|
2474
|
-
return this._stack[this._stack.length - 1];
|
|
2475
|
-
}
|
|
2476
|
-
/**
|
|
2477
|
-
* @inheritDoc
|
|
2478
|
-
*
|
|
2479
|
-
* @deprecated Use `Sentry.captureException()` instead.
|
|
2480
|
-
*/
|
|
2481
|
-
captureException(e, s) {
|
|
2482
|
-
const r = this._lastEventId = s && s.event_id ? s.event_id : L(), a = new Error("Sentry syntheticException");
|
|
2483
|
-
return this.getScope().captureException(e, {
|
|
2484
|
-
originalException: e,
|
|
2485
|
-
syntheticException: a,
|
|
2486
|
-
...s,
|
|
2487
|
-
event_id: r
|
|
2488
|
-
}), r;
|
|
2489
|
-
}
|
|
2490
|
-
/**
|
|
2491
|
-
* @inheritDoc
|
|
2492
|
-
*
|
|
2493
|
-
* @deprecated Use `Sentry.captureMessage()` instead.
|
|
2494
|
-
*/
|
|
2495
|
-
captureMessage(e, s, r) {
|
|
2496
|
-
const a = this._lastEventId = r && r.event_id ? r.event_id : L(), l = new Error(e);
|
|
2497
|
-
return this.getScope().captureMessage(e, s, {
|
|
2498
|
-
originalException: e,
|
|
2499
|
-
syntheticException: l,
|
|
2500
|
-
...r,
|
|
2501
|
-
event_id: a
|
|
2502
|
-
}), a;
|
|
2503
|
-
}
|
|
2504
|
-
/**
|
|
2505
|
-
* @inheritDoc
|
|
2506
|
-
*
|
|
2507
|
-
* @deprecated Use `Sentry.captureEvent()` instead.
|
|
2508
|
-
*/
|
|
2509
|
-
captureEvent(e, s) {
|
|
2510
|
-
const r = s && s.event_id ? s.event_id : L();
|
|
2511
|
-
return e.type || (this._lastEventId = r), this.getScope().captureEvent(e, { ...s, event_id: r }), r;
|
|
2512
|
-
}
|
|
2513
|
-
/**
|
|
2514
|
-
* @inheritDoc
|
|
2515
|
-
*
|
|
2516
|
-
* @deprecated This will be removed in v8.
|
|
2517
|
-
*/
|
|
2518
|
-
lastEventId() {
|
|
2519
|
-
return this._lastEventId;
|
|
2520
|
-
}
|
|
2521
|
-
/**
|
|
2522
|
-
* @inheritDoc
|
|
2523
|
-
*
|
|
2524
|
-
* @deprecated Use `Sentry.addBreadcrumb()` instead.
|
|
2525
|
-
*/
|
|
2526
|
-
addBreadcrumb(e, s) {
|
|
2527
|
-
const { scope: r, client: a } = this.getStackTop();
|
|
2528
|
-
if (!a)
|
|
2529
|
-
return;
|
|
2530
|
-
const { beforeBreadcrumb: l = null, maxBreadcrumbs: c = hn } = a.getOptions && a.getOptions() || {};
|
|
2531
|
-
if (c <= 0)
|
|
2532
|
-
return;
|
|
2533
|
-
const d = { timestamp: Ge(), ...e }, b = l ? At(() => l(d, s)) : d;
|
|
2534
|
-
b !== null && (a.emit && a.emit("beforeAddBreadcrumb", b, s), r.addBreadcrumb(b, c));
|
|
2535
|
-
}
|
|
2536
|
-
/**
|
|
2537
|
-
* @inheritDoc
|
|
2538
|
-
* @deprecated Use `Sentry.setUser()` instead.
|
|
2539
|
-
*/
|
|
2540
|
-
setUser(e) {
|
|
2541
|
-
this.getScope().setUser(e), this.getIsolationScope().setUser(e);
|
|
2542
|
-
}
|
|
2543
|
-
/**
|
|
2544
|
-
* @inheritDoc
|
|
2545
|
-
* @deprecated Use `Sentry.setTags()` instead.
|
|
2546
|
-
*/
|
|
2547
|
-
setTags(e) {
|
|
2548
|
-
this.getScope().setTags(e), this.getIsolationScope().setTags(e);
|
|
2549
|
-
}
|
|
2550
|
-
/**
|
|
2551
|
-
* @inheritDoc
|
|
2552
|
-
* @deprecated Use `Sentry.setExtras()` instead.
|
|
2553
|
-
*/
|
|
2554
|
-
setExtras(e) {
|
|
2555
|
-
this.getScope().setExtras(e), this.getIsolationScope().setExtras(e);
|
|
2556
|
-
}
|
|
2557
|
-
/**
|
|
2558
|
-
* @inheritDoc
|
|
2559
|
-
* @deprecated Use `Sentry.setTag()` instead.
|
|
2560
|
-
*/
|
|
2561
|
-
setTag(e, s) {
|
|
2562
|
-
this.getScope().setTag(e, s), this.getIsolationScope().setTag(e, s);
|
|
2563
|
-
}
|
|
2564
|
-
/**
|
|
2565
|
-
* @inheritDoc
|
|
2566
|
-
* @deprecated Use `Sentry.setExtra()` instead.
|
|
2567
|
-
*/
|
|
2568
|
-
setExtra(e, s) {
|
|
2569
|
-
this.getScope().setExtra(e, s), this.getIsolationScope().setExtra(e, s);
|
|
2570
|
-
}
|
|
2571
|
-
/**
|
|
2572
|
-
* @inheritDoc
|
|
2573
|
-
* @deprecated Use `Sentry.setContext()` instead.
|
|
2574
|
-
*/
|
|
2575
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2576
|
-
setContext(e, s) {
|
|
2577
|
-
this.getScope().setContext(e, s), this.getIsolationScope().setContext(e, s);
|
|
2578
|
-
}
|
|
2579
|
-
/**
|
|
2580
|
-
* @inheritDoc
|
|
2581
|
-
*
|
|
2582
|
-
* @deprecated Use `getScope()` directly.
|
|
2583
|
-
*/
|
|
2584
|
-
configureScope(e) {
|
|
2585
|
-
const { scope: s, client: r } = this.getStackTop();
|
|
2586
|
-
r && e(s);
|
|
2587
|
-
}
|
|
2588
|
-
/**
|
|
2589
|
-
* @inheritDoc
|
|
2590
|
-
*/
|
|
2591
|
-
run(e) {
|
|
2592
|
-
const s = yt(this);
|
|
2593
|
-
try {
|
|
2594
|
-
e(this);
|
|
2595
|
-
} finally {
|
|
2596
|
-
yt(s);
|
|
2597
|
-
}
|
|
2598
|
-
}
|
|
2599
|
-
/**
|
|
2600
|
-
* @inheritDoc
|
|
2601
|
-
* @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.
|
|
2602
|
-
*/
|
|
2603
|
-
getIntegration(e) {
|
|
2604
|
-
const s = this.getClient();
|
|
2605
|
-
if (!s)
|
|
2606
|
-
return null;
|
|
2607
|
-
try {
|
|
2608
|
-
return s.getIntegration(e);
|
|
2609
|
-
} catch {
|
|
2610
|
-
return ve && H.warn(`Cannot retrieve integration ${e.id} from the current Hub`), null;
|
|
2611
|
-
}
|
|
2612
|
-
}
|
|
2613
|
-
/**
|
|
2614
|
-
* Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.
|
|
2615
|
-
*
|
|
2616
|
-
* A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a
|
|
2617
|
-
* new child span within the transaction or any span, call the respective `.startChild()` method.
|
|
2618
|
-
*
|
|
2619
|
-
* Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.
|
|
2620
|
-
*
|
|
2621
|
-
* The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its
|
|
2622
|
-
* finished child spans will be sent to Sentry.
|
|
2623
|
-
*
|
|
2624
|
-
* @param context Properties of the new `Transaction`.
|
|
2625
|
-
* @param customSamplingContext Information given to the transaction sampling function (along with context-dependent
|
|
2626
|
-
* default values). See {@link Options.tracesSampler}.
|
|
2627
|
-
*
|
|
2628
|
-
* @returns The transaction which was just started
|
|
2629
|
-
*
|
|
2630
|
-
* @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.
|
|
2631
|
-
*/
|
|
2632
|
-
startTransaction(e, s) {
|
|
2633
|
-
const r = this._callExtensionMethod("startTransaction", e, s);
|
|
2634
|
-
return ve && !r && (this.getClient() ? H.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
2635
|
-
Sentry.addTracingExtensions();
|
|
2636
|
-
Sentry.init({...});
|
|
2637
|
-
`) : H.warn(
|
|
2638
|
-
"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'"
|
|
2639
|
-
)), r;
|
|
2640
|
-
}
|
|
2641
|
-
/**
|
|
2642
|
-
* @inheritDoc
|
|
2643
|
-
* @deprecated Use `spanToTraceHeader()` instead.
|
|
2644
|
-
*/
|
|
2645
|
-
traceHeaders() {
|
|
2646
|
-
return this._callExtensionMethod("traceHeaders");
|
|
2647
|
-
}
|
|
2648
|
-
/**
|
|
2649
|
-
* @inheritDoc
|
|
2650
|
-
*
|
|
2651
|
-
* @deprecated Use top level `captureSession` instead.
|
|
2652
|
-
*/
|
|
2653
|
-
captureSession(e = !1) {
|
|
2654
|
-
if (e)
|
|
2655
|
-
return this.endSession();
|
|
2656
|
-
this._sendSessionUpdate();
|
|
2657
|
-
}
|
|
2658
|
-
/**
|
|
2659
|
-
* @inheritDoc
|
|
2660
|
-
* @deprecated Use top level `endSession` instead.
|
|
2661
|
-
*/
|
|
2662
|
-
endSession() {
|
|
2663
|
-
const s = this.getStackTop().scope, r = s.getSession();
|
|
2664
|
-
r && Vr(r), this._sendSessionUpdate(), s.setSession();
|
|
2665
|
-
}
|
|
2666
|
-
/**
|
|
2667
|
-
* @inheritDoc
|
|
2668
|
-
* @deprecated Use top level `startSession` instead.
|
|
2669
|
-
*/
|
|
2670
|
-
startSession(e) {
|
|
2671
|
-
const { scope: s, client: r } = this.getStackTop(), { release: a, environment: l = qt } = r && r.getOptions() || {}, { userAgent: c } = D.navigator || {}, f = Br({
|
|
2672
|
-
release: a,
|
|
2673
|
-
environment: l,
|
|
2674
|
-
user: s.getUser(),
|
|
2675
|
-
...c && { userAgent: c },
|
|
2676
|
-
...e
|
|
2677
|
-
}), d = s.getSession && s.getSession();
|
|
2678
|
-
return d && d.status === "ok" && ze(d, { status: "exited" }), this.endSession(), s.setSession(f), f;
|
|
2679
|
-
}
|
|
2680
|
-
/**
|
|
2681
|
-
* Returns if default PII should be sent to Sentry and propagated in ourgoing requests
|
|
2682
|
-
* when Tracing is used.
|
|
2683
|
-
*
|
|
2684
|
-
* @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function
|
|
2685
|
-
* only unnecessarily increased API surface but only wrapped accessing the option.
|
|
2686
|
-
*/
|
|
2687
|
-
shouldSendDefaultPii() {
|
|
2688
|
-
const e = this.getClient(), s = e && e.getOptions();
|
|
2689
|
-
return !!(s && s.sendDefaultPii);
|
|
2690
|
-
}
|
|
2691
|
-
/**
|
|
2692
|
-
* Sends the current Session on the scope
|
|
2693
|
-
*/
|
|
2694
|
-
_sendSessionUpdate() {
|
|
2695
|
-
const { scope: e, client: s } = this.getStackTop(), r = e.getSession();
|
|
2696
|
-
r && s && s.captureSession && s.captureSession(r);
|
|
2697
|
-
}
|
|
2698
|
-
/**
|
|
2699
|
-
* Calls global extension method and binding current instance to the function call
|
|
2700
|
-
*/
|
|
2701
|
-
// @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)
|
|
2702
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2703
|
-
_callExtensionMethod(e, ...s) {
|
|
2704
|
-
const a = Ee().__SENTRY__;
|
|
2705
|
-
if (a && a.extensions && typeof a.extensions[e] == "function")
|
|
2706
|
-
return a.extensions[e].apply(this, s);
|
|
2707
|
-
ve && H.warn(`Extension method ${e} couldn't be found, doing nothing.`);
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
|
-
function Ee() {
|
|
2711
|
-
return D.__SENTRY__ = D.__SENTRY__ || {
|
|
2712
|
-
extensions: {},
|
|
2713
|
-
hub: void 0
|
|
2714
|
-
}, D;
|
|
2715
|
-
}
|
|
2716
|
-
function yt(t) {
|
|
2717
|
-
const e = Ee(), s = Be(e);
|
|
2718
|
-
return $t(e, t), s;
|
|
2719
|
-
}
|
|
2720
|
-
function We() {
|
|
2721
|
-
const t = Ee();
|
|
2722
|
-
if (t.__SENTRY__ && t.__SENTRY__.acs) {
|
|
2723
|
-
const e = t.__SENTRY__.acs.getCurrentHub();
|
|
2724
|
-
if (e)
|
|
2725
|
-
return e;
|
|
2726
|
-
}
|
|
2727
|
-
return _n(t);
|
|
2728
|
-
}
|
|
2729
|
-
function _n(t = Ee()) {
|
|
2730
|
-
return (!pn(t) || // eslint-disable-next-line deprecation/deprecation
|
|
2731
|
-
Be(t).isOlderThan(Vt)) && $t(t, new Yt()), Be(t);
|
|
2732
|
-
}
|
|
2733
|
-
function pn(t) {
|
|
2734
|
-
return !!(t && t.__SENTRY__ && t.__SENTRY__.hub);
|
|
2735
|
-
}
|
|
2736
|
-
function Be(t) {
|
|
2737
|
-
return Lt("hub", () => new Yt(), t);
|
|
2738
|
-
}
|
|
2739
|
-
function $t(t, e) {
|
|
2740
|
-
if (!t)
|
|
2741
|
-
return !1;
|
|
2742
|
-
const s = t.__SENTRY__ = t.__SENTRY__ || {};
|
|
2743
|
-
return s.hub = e, !0;
|
|
2744
|
-
}
|
|
2745
|
-
class bn extends Error {
|
|
2746
|
-
constructor(s) {
|
|
2747
|
-
super(s.length > 0 ? s[0].message : "Unknown SlashID error");
|
|
2748
|
-
ct(this, "errors");
|
|
2749
|
-
this.errors = s;
|
|
2750
|
-
}
|
|
2751
|
-
}
|
|
2752
|
-
function gn(t) {
|
|
2753
|
-
return !!(typeof t == "object" && t !== null && "errors" in t && Array.isArray(t.errors));
|
|
2754
|
-
}
|
|
2755
|
-
function xn(t) {
|
|
2756
|
-
if (t instanceof Error)
|
|
2757
|
-
return t;
|
|
2758
|
-
if (gn(t))
|
|
2759
|
-
return new bn(t.errors);
|
|
2760
|
-
let e = "[Unable to stringify the thrown value]";
|
|
2761
|
-
try {
|
|
2762
|
-
e = JSON.stringify(t);
|
|
2763
|
-
} catch {
|
|
2764
|
-
}
|
|
2765
|
-
return new Error(
|
|
2766
|
-
`This value was thrown as is, not through an Error: ${e}`
|
|
2767
|
-
);
|
|
2768
|
-
}
|
|
2769
|
-
function jn({ onSuccess: t, onError: e, flowType: s, onRedirectDiscovered: r }) {
|
|
2770
|
-
const { sdk: a } = ye();
|
|
2771
|
-
return St(() => {
|
|
2772
|
-
if (!a)
|
|
2773
|
-
return;
|
|
2774
|
-
r && (a == null || a.subscribe("redirectUriDiscovered", r));
|
|
2775
|
-
async function l() {
|
|
2776
|
-
try {
|
|
2777
|
-
await (a == null ? void 0 : a.getUserFromURL()), t();
|
|
2778
|
-
} catch (c) {
|
|
2779
|
-
const f = xn(c);
|
|
2780
|
-
Xr(f), e({ error: f });
|
|
2781
|
-
}
|
|
2782
|
-
}
|
|
2783
|
-
return l(), () => {
|
|
2784
|
-
r && a.unsubscribe("redirectUriDiscovered", r);
|
|
2785
|
-
};
|
|
2786
|
-
}, [s, e, t, a]), s === "password-recovery" ? /* @__PURE__ */ o.jsx(kr, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2787
|
-
/* @__PURE__ */ o.jsxs(we, { space: "0.25", children: [
|
|
2788
|
-
/* @__PURE__ */ o.jsx(
|
|
2789
|
-
J,
|
|
2790
|
-
{
|
|
2791
|
-
as: "h1",
|
|
2792
|
-
variant: { size: "2xl-title", weight: "bold" },
|
|
2793
|
-
t: "initial.title"
|
|
2794
|
-
}
|
|
2795
|
-
),
|
|
2796
|
-
/* @__PURE__ */ o.jsx(
|
|
2797
|
-
J,
|
|
2798
|
-
{
|
|
2799
|
-
variant: { color: "contrast", weight: "semibold" },
|
|
2800
|
-
as: "h2",
|
|
2801
|
-
t: "initial.details"
|
|
2802
|
-
}
|
|
2803
|
-
)
|
|
2804
|
-
] }),
|
|
2805
|
-
/* @__PURE__ */ o.jsx(Dt, {})
|
|
2806
|
-
] });
|
|
2807
|
-
}
|
|
2808
1445
|
export {
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
Sn as Success,
|
|
2816
|
-
wn as TextProvider,
|
|
2817
|
-
Cn as ThemeRoot
|
|
1446
|
+
Gr as Error,
|
|
1447
|
+
Zr as Initial,
|
|
1448
|
+
Jr as Recover,
|
|
1449
|
+
Kr as Success,
|
|
1450
|
+
Hr as TextProvider,
|
|
1451
|
+
Br as ThemeRoot
|
|
2818
1452
|
};
|
|
2819
1453
|
//# sourceMappingURL=main.js.map
|