@slashid/jump-page 0.0.7-beta.5 → 0.0.8-package.1

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.
Files changed (44) hide show
  1. package/astro.config.mjs +11 -8
  2. package/dist/_astro/{app.545e4cdc.js → app.18b98bb6.js} +15 -15
  3. package/dist/_astro/sdk.080ae68e.css +1 -0
  4. package/dist/_astro/sdk.35b1e93e.css +1 -0
  5. package/dist/sdk.html +7 -0
  6. package/package/astro.config.d.mts +2 -0
  7. package/package/dist/_astro/app.18b98bb6.d.ts +2 -0
  8. package/package/dist/_astro/client.a5ffbec0.d.ts +7 -0
  9. package/package/dist/_astro/index.03be2d59.d.ts +3 -0
  10. package/package/favicon.png +0 -0
  11. package/package/main.js +2955 -0
  12. package/package/main.js.map +1 -0
  13. package/package/src/components/app/app.component.d.ts +1 -0
  14. package/package/src/components/app/app.context.d.ts +21 -0
  15. package/package/src/components/app/app.css.d.ts +1 -0
  16. package/package/src/components/app/index.d.ts +1 -0
  17. package/package/src/components/card/card.component.d.ts +7 -0
  18. package/package/src/components/card/card.css.d.ts +4 -0
  19. package/package/src/components/card/index.d.ts +1 -0
  20. package/package/src/components/flow/flow.component.d.ts +1 -0
  21. package/package/src/components/flow/flow.css.d.ts +3 -0
  22. package/package/src/components/flow/flow.error.d.ts +4 -0
  23. package/package/src/components/flow/flow.initial.d.ts +1 -0
  24. package/package/src/components/flow/flow.loader.d.ts +1 -0
  25. package/package/src/components/flow/flow.progress.d.ts +9 -0
  26. package/package/src/components/flow/flow.recover.d.ts +1 -0
  27. package/package/src/components/flow/flow.success.d.ts +1 -0
  28. package/package/src/components/flow/flow.types.d.ts +31 -0
  29. package/package/src/components/flow/index.d.ts +3 -0
  30. package/package/src/components/text/index.d.ts +1 -0
  31. package/package/src/components/text/text.component.d.ts +6 -0
  32. package/package/src/components/text/use-i18n.d.ts +1 -0
  33. package/package/src/config.d.ts +4 -0
  34. package/package/src/domain/errors.d.ts +1 -0
  35. package/package/src/domain/i18n.d.ts +43 -0
  36. package/package/src/main.d.ts +6 -0
  37. package/package/style.css +1 -0
  38. package/package/vite.config.d.ts +2 -0
  39. package/package.json +30 -10
  40. package/tsconfig.json +5 -1
  41. package/cli.js +0 -53
  42. package/dist/_astro/index.0344e4be.css +0 -1
  43. package/dist/_astro/index.2f22a71e.css +0 -1
  44. package/dist/index.html +0 -7
@@ -0,0 +1,2955 @@
1
+ function da(a) {
2
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
3
+ }
4
+ var qr = { exports: {} }, Qe = {}, Yr = { exports: {} }, E = {};
5
+ /**
6
+ * @license React
7
+ * react.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var xt;
15
+ function ha() {
16
+ if (xt)
17
+ return E;
18
+ xt = 1;
19
+ var a = Symbol.for("react.element"), s = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), M = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), F = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), H = Symbol.iterator;
20
+ function ne(n) {
21
+ return n === null || typeof n != "object" ? null : (n = H && n[H] || n["@@iterator"], typeof n == "function" ? n : null);
22
+ }
23
+ var V = { isMounted: function() {
24
+ return !1;
25
+ }, enqueueForceUpdate: function() {
26
+ }, enqueueReplaceState: function() {
27
+ }, enqueueSetState: function() {
28
+ } }, le = Object.assign, Re = {};
29
+ function fe(n, f, x) {
30
+ this.props = n, this.context = f, this.refs = Re, this.updater = x || V;
31
+ }
32
+ fe.prototype.isReactComponent = {}, fe.prototype.setState = function(n, f) {
33
+ if (typeof n != "object" && typeof n != "function" && n != null)
34
+ throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
35
+ this.updater.enqueueSetState(this, n, f, "setState");
36
+ }, fe.prototype.forceUpdate = function(n) {
37
+ this.updater.enqueueForceUpdate(this, n, "forceUpdate");
38
+ };
39
+ function de() {
40
+ }
41
+ de.prototype = fe.prototype;
42
+ function q(n, f, x) {
43
+ this.props = n, this.context = f, this.refs = Re, this.updater = x || V;
44
+ }
45
+ var ee = q.prototype = new de();
46
+ ee.constructor = q, le(ee, fe.prototype), ee.isPureReactComponent = !0;
47
+ var _e = Array.isArray, Q = Object.prototype.hasOwnProperty, w = { current: null }, k = { key: !0, ref: !0, __self: !0, __source: !0 };
48
+ function he(n, f, x) {
49
+ var O, R = {}, U = null, W = null;
50
+ if (f != null)
51
+ for (O in f.ref !== void 0 && (W = f.ref), f.key !== void 0 && (U = "" + f.key), f)
52
+ Q.call(f, O) && !k.hasOwnProperty(O) && (R[O] = f[O]);
53
+ var L = arguments.length - 2;
54
+ if (L === 1)
55
+ R.children = x;
56
+ else if (1 < L) {
57
+ for (var D = Array(L), ae = 0; ae < L; ae++)
58
+ D[ae] = arguments[ae + 2];
59
+ R.children = D;
60
+ }
61
+ if (n && n.defaultProps)
62
+ for (O in L = n.defaultProps, L)
63
+ R[O] === void 0 && (R[O] = L[O]);
64
+ return { $$typeof: a, type: n, key: U, ref: W, props: R, _owner: w.current };
65
+ }
66
+ function be(n, f) {
67
+ return { $$typeof: a, type: n.type, key: f, ref: n.ref, props: n.props, _owner: n._owner };
68
+ }
69
+ function xe(n) {
70
+ return typeof n == "object" && n !== null && n.$$typeof === a;
71
+ }
72
+ function we(n) {
73
+ var f = { "=": "=0", ":": "=2" };
74
+ return "$" + n.replace(/[=:]/g, function(x) {
75
+ return f[x];
76
+ });
77
+ }
78
+ var me = /\/+/g;
79
+ function J(n, f) {
80
+ return typeof n == "object" && n !== null && n.key != null ? we("" + n.key) : f.toString(36);
81
+ }
82
+ function oe(n, f, x, O, R) {
83
+ var U = typeof n;
84
+ (U === "undefined" || U === "boolean") && (n = null);
85
+ var W = !1;
86
+ if (n === null)
87
+ W = !0;
88
+ else
89
+ switch (U) {
90
+ case "string":
91
+ case "number":
92
+ W = !0;
93
+ break;
94
+ case "object":
95
+ switch (n.$$typeof) {
96
+ case a:
97
+ case s:
98
+ W = !0;
99
+ }
100
+ }
101
+ if (W)
102
+ return W = n, R = R(W), n = O === "" ? "." + J(W, 0) : O, _e(R) ? (x = "", n != null && (x = n.replace(me, "$&/") + "/"), oe(R, f, x, "", function(ae) {
103
+ return ae;
104
+ })) : R != null && (xe(R) && (R = be(R, x + (!R.key || W && W.key === R.key ? "" : ("" + R.key).replace(me, "$&/") + "/") + n)), f.push(R)), 1;
105
+ if (W = 0, O = O === "" ? "." : O + ":", _e(n))
106
+ for (var L = 0; L < n.length; L++) {
107
+ U = n[L];
108
+ var D = O + J(U, L);
109
+ W += oe(U, f, x, D, R);
110
+ }
111
+ else if (D = ne(n), typeof D == "function")
112
+ for (n = D.call(n), L = 0; !(U = n.next()).done; )
113
+ U = U.value, D = O + J(U, L++), W += oe(U, f, x, D, R);
114
+ else if (U === "object")
115
+ throw f = String(n), Error("Objects are not valid as a React child (found: " + (f === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : f) + "). If you meant to render a collection of children, use an array instead.");
116
+ return W;
117
+ }
118
+ function re(n, f, x) {
119
+ if (n == null)
120
+ return n;
121
+ var O = [], R = 0;
122
+ return oe(n, O, "", "", function(U) {
123
+ return f.call(x, U, R++);
124
+ }), O;
125
+ }
126
+ function pe(n) {
127
+ if (n._status === -1) {
128
+ var f = n._result;
129
+ f = f(), f.then(function(x) {
130
+ (n._status === 0 || n._status === -1) && (n._status = 1, n._result = x);
131
+ }, function(x) {
132
+ (n._status === 0 || n._status === -1) && (n._status = 2, n._result = x);
133
+ }), n._status === -1 && (n._status = 0, n._result = f);
134
+ }
135
+ if (n._status === 1)
136
+ return n._result.default;
137
+ throw n._result;
138
+ }
139
+ var b = { current: null }, ce = { transition: null }, ze = { ReactCurrentDispatcher: b, ReactCurrentBatchConfig: ce, ReactCurrentOwner: w };
140
+ return E.Children = { map: re, forEach: function(n, f, x) {
141
+ re(n, function() {
142
+ f.apply(this, arguments);
143
+ }, x);
144
+ }, count: function(n) {
145
+ var f = 0;
146
+ return re(n, function() {
147
+ f++;
148
+ }), f;
149
+ }, toArray: function(n) {
150
+ return re(n, function(f) {
151
+ return f;
152
+ }) || [];
153
+ }, only: function(n) {
154
+ if (!xe(n))
155
+ throw Error("React.Children.only expected to receive a single React element child.");
156
+ return n;
157
+ } }, E.Component = fe, E.Fragment = l, E.Profiler = m, E.PureComponent = q, E.StrictMode = c, E.Suspense = C, E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ze, E.cloneElement = function(n, f, x) {
158
+ if (n == null)
159
+ throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
160
+ var O = le({}, n.props), R = n.key, U = n.ref, W = n._owner;
161
+ if (f != null) {
162
+ if (f.ref !== void 0 && (U = f.ref, W = w.current), f.key !== void 0 && (R = "" + f.key), n.type && n.type.defaultProps)
163
+ var L = n.type.defaultProps;
164
+ for (D in f)
165
+ Q.call(f, D) && !k.hasOwnProperty(D) && (O[D] = f[D] === void 0 && L !== void 0 ? L[D] : f[D]);
166
+ }
167
+ var D = arguments.length - 2;
168
+ if (D === 1)
169
+ O.children = x;
170
+ else if (1 < D) {
171
+ L = Array(D);
172
+ for (var ae = 0; ae < D; ae++)
173
+ L[ae] = arguments[ae + 2];
174
+ O.children = L;
175
+ }
176
+ return { $$typeof: a, type: n.type, key: R, ref: U, props: O, _owner: W };
177
+ }, E.createContext = function(n) {
178
+ return n = { $$typeof: M, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: A, _context: n }, n.Consumer = n;
179
+ }, E.createElement = he, E.createFactory = function(n) {
180
+ var f = he.bind(null, n);
181
+ return f.type = n, f;
182
+ }, E.createRef = function() {
183
+ return { current: null };
184
+ }, E.forwardRef = function(n) {
185
+ return { $$typeof: S, render: n };
186
+ }, E.isValidElement = xe, E.lazy = function(n) {
187
+ return { $$typeof: N, _payload: { _status: -1, _result: n }, _init: pe };
188
+ }, E.memo = function(n, f) {
189
+ return { $$typeof: F, type: n, compare: f === void 0 ? null : f };
190
+ }, E.startTransition = function(n) {
191
+ var f = ce.transition;
192
+ ce.transition = {};
193
+ try {
194
+ n();
195
+ } finally {
196
+ ce.transition = f;
197
+ }
198
+ }, E.unstable_act = function() {
199
+ throw Error("act(...) is not supported in production builds of React.");
200
+ }, E.useCallback = function(n, f) {
201
+ return b.current.useCallback(n, f);
202
+ }, E.useContext = function(n) {
203
+ return b.current.useContext(n);
204
+ }, E.useDebugValue = function() {
205
+ }, E.useDeferredValue = function(n) {
206
+ return b.current.useDeferredValue(n);
207
+ }, E.useEffect = function(n, f) {
208
+ return b.current.useEffect(n, f);
209
+ }, E.useId = function() {
210
+ return b.current.useId();
211
+ }, E.useImperativeHandle = function(n, f, x) {
212
+ return b.current.useImperativeHandle(n, f, x);
213
+ }, E.useInsertionEffect = function(n, f) {
214
+ return b.current.useInsertionEffect(n, f);
215
+ }, E.useLayoutEffect = function(n, f) {
216
+ return b.current.useLayoutEffect(n, f);
217
+ }, E.useMemo = function(n, f) {
218
+ return b.current.useMemo(n, f);
219
+ }, E.useReducer = function(n, f, x) {
220
+ return b.current.useReducer(n, f, x);
221
+ }, E.useRef = function(n) {
222
+ return b.current.useRef(n);
223
+ }, E.useState = function(n) {
224
+ return b.current.useState(n);
225
+ }, E.useSyncExternalStore = function(n, f, x) {
226
+ return b.current.useSyncExternalStore(n, f, x);
227
+ }, E.useTransition = function() {
228
+ return b.current.useTransition();
229
+ }, E.version = "18.2.0", E;
230
+ }
231
+ var Xe = { exports: {} };
232
+ /**
233
+ * @license React
234
+ * react.development.js
235
+ *
236
+ * Copyright (c) Facebook, Inc. and its affiliates.
237
+ *
238
+ * This source code is licensed under the MIT license found in the
239
+ * LICENSE file in the root directory of this source tree.
240
+ */
241
+ Xe.exports;
242
+ var gt;
243
+ function pa() {
244
+ return gt || (gt = 1, function(a, s) {
245
+ process.env.NODE_ENV !== "production" && function() {
246
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
247
+ var l = "18.2.0", c = Symbol.for("react.element"), m = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), F = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), H = Symbol.for("react.suspense"), ne = Symbol.for("react.suspense_list"), V = Symbol.for("react.memo"), le = Symbol.for("react.lazy"), Re = Symbol.for("react.offscreen"), fe = Symbol.iterator, de = "@@iterator";
248
+ function q(e) {
249
+ if (e === null || typeof e != "object")
250
+ return null;
251
+ var r = fe && e[fe] || e[de];
252
+ return typeof r == "function" ? r : null;
253
+ }
254
+ var ee = {
255
+ /**
256
+ * @internal
257
+ * @type {ReactComponent}
258
+ */
259
+ current: null
260
+ }, _e = {
261
+ transition: null
262
+ }, Q = {
263
+ current: null,
264
+ // Used to reproduce behavior of `batchedUpdates` in legacy mode.
265
+ isBatchingLegacy: !1,
266
+ didScheduleLegacyUpdate: !1
267
+ }, w = {
268
+ /**
269
+ * @internal
270
+ * @type {ReactComponent}
271
+ */
272
+ current: null
273
+ }, k = {}, he = null;
274
+ function be(e) {
275
+ he = e;
276
+ }
277
+ k.setExtraStackFrame = function(e) {
278
+ he = e;
279
+ }, k.getCurrentStack = null, k.getStackAddendum = function() {
280
+ var e = "";
281
+ he && (e += he);
282
+ var r = k.getCurrentStack;
283
+ return r && (e += r() || ""), e;
284
+ };
285
+ var xe = !1, we = !1, me = !1, J = !1, oe = !1, re = {
286
+ ReactCurrentDispatcher: ee,
287
+ ReactCurrentBatchConfig: _e,
288
+ ReactCurrentOwner: w
289
+ };
290
+ re.ReactDebugCurrentFrame = k, re.ReactCurrentActQueue = Q;
291
+ function pe(e) {
292
+ {
293
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
294
+ o[i - 1] = arguments[i];
295
+ ce("warn", e, o);
296
+ }
297
+ }
298
+ function b(e) {
299
+ {
300
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
301
+ o[i - 1] = arguments[i];
302
+ ce("error", e, o);
303
+ }
304
+ }
305
+ function ce(e, r, o) {
306
+ {
307
+ var i = re.ReactDebugCurrentFrame, h = i.getStackAddendum();
308
+ h !== "" && (r += "%s", o = o.concat([h]));
309
+ var y = o.map(function(_) {
310
+ return String(_);
311
+ });
312
+ y.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, y);
313
+ }
314
+ }
315
+ var ze = {};
316
+ function n(e, r) {
317
+ {
318
+ var o = e.constructor, i = o && (o.displayName || o.name) || "ReactClass", h = i + "." + r;
319
+ if (ze[h])
320
+ return;
321
+ b("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, i), ze[h] = !0;
322
+ }
323
+ }
324
+ var f = {
325
+ /**
326
+ * Checks whether or not this composite component is mounted.
327
+ * @param {ReactClass} publicInstance The instance we want to test.
328
+ * @return {boolean} True if mounted, false otherwise.
329
+ * @protected
330
+ * @final
331
+ */
332
+ isMounted: function(e) {
333
+ return !1;
334
+ },
335
+ /**
336
+ * Forces an update. This should only be invoked when it is known with
337
+ * certainty that we are **not** in a DOM transaction.
338
+ *
339
+ * You may want to call this when you know that some deeper aspect of the
340
+ * component's state has changed but `setState` was not called.
341
+ *
342
+ * This will not invoke `shouldComponentUpdate`, but it will invoke
343
+ * `componentWillUpdate` and `componentDidUpdate`.
344
+ *
345
+ * @param {ReactClass} publicInstance The instance that should rerender.
346
+ * @param {?function} callback Called after component is updated.
347
+ * @param {?string} callerName name of the calling function in the public API.
348
+ * @internal
349
+ */
350
+ enqueueForceUpdate: function(e, r, o) {
351
+ n(e, "forceUpdate");
352
+ },
353
+ /**
354
+ * Replaces all of the state. Always use this or `setState` to mutate state.
355
+ * You should treat `this.state` as immutable.
356
+ *
357
+ * There is no guarantee that `this.state` will be immediately updated, so
358
+ * accessing `this.state` after calling this method may return the old value.
359
+ *
360
+ * @param {ReactClass} publicInstance The instance that should rerender.
361
+ * @param {object} completeState Next state.
362
+ * @param {?function} callback Called after component is updated.
363
+ * @param {?string} callerName name of the calling function in the public API.
364
+ * @internal
365
+ */
366
+ enqueueReplaceState: function(e, r, o, i) {
367
+ n(e, "replaceState");
368
+ },
369
+ /**
370
+ * Sets a subset of the state. This only exists because _pendingState is
371
+ * internal. This provides a merging strategy that is not available to deep
372
+ * properties which is confusing. TODO: Expose pendingState or don't use it
373
+ * during the merge.
374
+ *
375
+ * @param {ReactClass} publicInstance The instance that should rerender.
376
+ * @param {object} partialState Next partial state to be merged with state.
377
+ * @param {?function} callback Called after component is updated.
378
+ * @param {?string} Name of the calling function in the public API.
379
+ * @internal
380
+ */
381
+ enqueueSetState: function(e, r, o, i) {
382
+ n(e, "setState");
383
+ }
384
+ }, x = Object.assign, O = {};
385
+ Object.freeze(O);
386
+ function R(e, r, o) {
387
+ this.props = e, this.context = r, this.refs = O, this.updater = o || f;
388
+ }
389
+ R.prototype.isReactComponent = {}, R.prototype.setState = function(e, r) {
390
+ if (typeof e != "object" && typeof e != "function" && e != null)
391
+ throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
392
+ this.updater.enqueueSetState(this, e, r, "setState");
393
+ }, R.prototype.forceUpdate = function(e) {
394
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
395
+ };
396
+ {
397
+ var U = {
398
+ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
399
+ replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
400
+ }, W = function(e, r) {
401
+ Object.defineProperty(R.prototype, e, {
402
+ get: function() {
403
+ pe("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
404
+ }
405
+ });
406
+ };
407
+ for (var L in U)
408
+ U.hasOwnProperty(L) && W(L, U[L]);
409
+ }
410
+ function D() {
411
+ }
412
+ D.prototype = R.prototype;
413
+ function ae(e, r, o) {
414
+ this.props = e, this.context = r, this.refs = O, this.updater = o || f;
415
+ }
416
+ var je = ae.prototype = new D();
417
+ je.constructor = ae, x(je, R.prototype), je.isPureReactComponent = !0;
418
+ function xr() {
419
+ var e = {
420
+ current: null
421
+ };
422
+ return Object.seal(e), e;
423
+ }
424
+ var er = Array.isArray;
425
+ function $e(e) {
426
+ return er(e);
427
+ }
428
+ function gr(e) {
429
+ {
430
+ var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
431
+ return o;
432
+ }
433
+ }
434
+ function Ve(e) {
435
+ try {
436
+ return Pe(e), !1;
437
+ } catch {
438
+ return !0;
439
+ }
440
+ }
441
+ function Pe(e) {
442
+ return "" + e;
443
+ }
444
+ function Me(e) {
445
+ if (Ve(e))
446
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Pe(e);
447
+ }
448
+ function rr(e, r, o) {
449
+ var i = e.displayName;
450
+ if (i)
451
+ return i;
452
+ var h = r.displayName || r.name || "";
453
+ return h !== "" ? o + "(" + h + ")" : o;
454
+ }
455
+ function Ae(e) {
456
+ return e.displayName || "Context";
457
+ }
458
+ function ge(e) {
459
+ if (e == null)
460
+ return null;
461
+ if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
462
+ return e.displayName || e.name || null;
463
+ if (typeof e == "string")
464
+ return e;
465
+ switch (e) {
466
+ case A:
467
+ return "Fragment";
468
+ case m:
469
+ return "Portal";
470
+ case S:
471
+ return "Profiler";
472
+ case M:
473
+ return "StrictMode";
474
+ case H:
475
+ return "Suspense";
476
+ case ne:
477
+ return "SuspenseList";
478
+ }
479
+ if (typeof e == "object")
480
+ switch (e.$$typeof) {
481
+ case F:
482
+ var r = e;
483
+ return Ae(r) + ".Consumer";
484
+ case C:
485
+ var o = e;
486
+ return Ae(o._context) + ".Provider";
487
+ case N:
488
+ return rr(e, e.render, "ForwardRef");
489
+ case V:
490
+ var i = e.displayName || null;
491
+ return i !== null ? i : ge(e.type) || "Memo";
492
+ case le: {
493
+ var h = e, y = h._payload, _ = h._init;
494
+ try {
495
+ return ge(_(y));
496
+ } catch {
497
+ return null;
498
+ }
499
+ }
500
+ }
501
+ return null;
502
+ }
503
+ var De = Object.prototype.hasOwnProperty, Ue = {
504
+ key: !0,
505
+ ref: !0,
506
+ __self: !0,
507
+ __source: !0
508
+ }, tr, ar, We;
509
+ We = {};
510
+ function He(e) {
511
+ if (De.call(e, "ref")) {
512
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
513
+ if (r && r.isReactWarning)
514
+ return !1;
515
+ }
516
+ return e.ref !== void 0;
517
+ }
518
+ function Se(e) {
519
+ if (De.call(e, "key")) {
520
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
521
+ if (r && r.isReactWarning)
522
+ return !1;
523
+ }
524
+ return e.key !== void 0;
525
+ }
526
+ function Cr(e, r) {
527
+ var o = function() {
528
+ tr || (tr = !0, b("%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)", r));
529
+ };
530
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
531
+ get: o,
532
+ configurable: !0
533
+ });
534
+ }
535
+ function nr(e, r) {
536
+ var o = function() {
537
+ ar || (ar = !0, b("%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)", r));
538
+ };
539
+ o.isReactWarning = !0, Object.defineProperty(e, "ref", {
540
+ get: o,
541
+ configurable: !0
542
+ });
543
+ }
544
+ function or(e) {
545
+ if (typeof e.ref == "string" && w.current && e.__self && w.current.stateNode !== e.__self) {
546
+ var r = ge(w.current.type);
547
+ We[r] || (b('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, e.ref), We[r] = !0);
548
+ }
549
+ }
550
+ var Ie = function(e, r, o, i, h, y, _) {
551
+ var g = {
552
+ // This tag allows us to uniquely identify this as a React Element
553
+ $$typeof: c,
554
+ // Built-in properties that belong on the element
555
+ type: e,
556
+ key: r,
557
+ ref: o,
558
+ props: _,
559
+ // Record the component responsible for creating this element.
560
+ _owner: y
561
+ };
562
+ return g._store = {}, Object.defineProperty(g._store, "validated", {
563
+ configurable: !1,
564
+ enumerable: !1,
565
+ writable: !0,
566
+ value: !1
567
+ }), Object.defineProperty(g, "_self", {
568
+ configurable: !1,
569
+ enumerable: !1,
570
+ writable: !1,
571
+ value: i
572
+ }), Object.defineProperty(g, "_source", {
573
+ configurable: !1,
574
+ enumerable: !1,
575
+ writable: !1,
576
+ value: h
577
+ }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
578
+ };
579
+ function wr(e, r, o) {
580
+ var i, h = {}, y = null, _ = null, g = null, T = null;
581
+ if (r != null) {
582
+ He(r) && (_ = r.ref, or(r)), Se(r) && (Me(r.key), y = "" + r.key), g = r.__self === void 0 ? null : r.__self, T = r.__source === void 0 ? null : r.__source;
583
+ for (i in r)
584
+ De.call(r, i) && !Ue.hasOwnProperty(i) && (h[i] = r[i]);
585
+ }
586
+ var $ = arguments.length - 2;
587
+ if ($ === 1)
588
+ h.children = o;
589
+ else if ($ > 1) {
590
+ for (var Y = Array($), B = 0; B < $; B++)
591
+ Y[B] = arguments[B + 2];
592
+ Object.freeze && Object.freeze(Y), h.children = Y;
593
+ }
594
+ if (e && e.defaultProps) {
595
+ var G = e.defaultProps;
596
+ for (i in G)
597
+ h[i] === void 0 && (h[i] = G[i]);
598
+ }
599
+ if (y || _) {
600
+ var te = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
601
+ y && Cr(h, te), _ && nr(h, te);
602
+ }
603
+ return Ie(e, y, _, g, T, w.current, h);
604
+ }
605
+ function zr(e, r) {
606
+ var o = Ie(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
607
+ return o;
608
+ }
609
+ function Er(e, r, o) {
610
+ if (e == null)
611
+ throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
612
+ var i, h = x({}, e.props), y = e.key, _ = e.ref, g = e._self, T = e._source, $ = e._owner;
613
+ if (r != null) {
614
+ He(r) && (_ = r.ref, $ = w.current), Se(r) && (Me(r.key), y = "" + r.key);
615
+ var Y;
616
+ e.type && e.type.defaultProps && (Y = e.type.defaultProps);
617
+ for (i in r)
618
+ De.call(r, i) && !Ue.hasOwnProperty(i) && (r[i] === void 0 && Y !== void 0 ? h[i] = Y[i] : h[i] = r[i]);
619
+ }
620
+ var B = arguments.length - 2;
621
+ if (B === 1)
622
+ h.children = o;
623
+ else if (B > 1) {
624
+ for (var G = Array(B), te = 0; te < B; te++)
625
+ G[te] = arguments[te + 2];
626
+ h.children = G;
627
+ }
628
+ return Ie(e.type, y, _, g, T, $, h);
629
+ }
630
+ function ke(e) {
631
+ return typeof e == "object" && e !== null && e.$$typeof === c;
632
+ }
633
+ var sr = ".", Rr = ":";
634
+ function jr(e) {
635
+ var r = /[=:]/g, o = {
636
+ "=": "=0",
637
+ ":": "=2"
638
+ }, i = e.replace(r, function(h) {
639
+ return o[h];
640
+ });
641
+ return "$" + i;
642
+ }
643
+ var qe = !1, ir = /\/+/g;
644
+ function Ee(e) {
645
+ return e.replace(ir, "$&/");
646
+ }
647
+ function Ne(e, r) {
648
+ return typeof e == "object" && e !== null && e.key != null ? (Me(e.key), jr("" + e.key)) : r.toString(36);
649
+ }
650
+ function Oe(e, r, o, i, h) {
651
+ var y = typeof e;
652
+ (y === "undefined" || y === "boolean") && (e = null);
653
+ var _ = !1;
654
+ if (e === null)
655
+ _ = !0;
656
+ else
657
+ switch (y) {
658
+ case "string":
659
+ case "number":
660
+ _ = !0;
661
+ break;
662
+ case "object":
663
+ switch (e.$$typeof) {
664
+ case c:
665
+ case m:
666
+ _ = !0;
667
+ }
668
+ }
669
+ if (_) {
670
+ var g = e, T = h(g), $ = i === "" ? sr + Ne(g, 0) : i;
671
+ if ($e(T)) {
672
+ var Y = "";
673
+ $ != null && (Y = Ee($) + "/"), Oe(T, r, Y, "", function(fa) {
674
+ return fa;
675
+ });
676
+ } else
677
+ T != null && (ke(T) && (T.key && (!g || g.key !== T.key) && Me(T.key), T = zr(
678
+ T,
679
+ // Keep both the (mapped) and old keys if they differ, just as
680
+ // traverseAllChildren used to do for objects as children
681
+ o + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
682
+ (T.key && (!g || g.key !== T.key) ? (
683
+ // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
684
+ // eslint-disable-next-line react-internal/safe-string-coercion
685
+ Ee("" + T.key) + "/"
686
+ ) : "") + $
687
+ )), r.push(T));
688
+ return 1;
689
+ }
690
+ var B, G, te = 0, ue = i === "" ? sr : i + Rr;
691
+ if ($e(e))
692
+ for (var mr = 0; mr < e.length; mr++)
693
+ B = e[mr], G = ue + Ne(B, mr), te += Oe(B, r, o, G, h);
694
+ else {
695
+ var Vr = q(e);
696
+ if (typeof Vr == "function") {
697
+ var bt = e;
698
+ Vr === bt.entries && (qe || pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), qe = !0);
699
+ for (var la = Vr.call(bt), mt, ca = 0; !(mt = la.next()).done; )
700
+ B = mt.value, G = ue + Ne(B, ca++), te += Oe(B, r, o, G, h);
701
+ } else if (y === "object") {
702
+ var yt = String(e);
703
+ throw new Error("Objects are not valid as a React child (found: " + (yt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : yt) + "). If you meant to render a collection of children, use an array instead.");
704
+ }
705
+ }
706
+ return te;
707
+ }
708
+ function Le(e, r, o) {
709
+ if (e == null)
710
+ return e;
711
+ var i = [], h = 0;
712
+ return Oe(e, i, "", "", function(y) {
713
+ return r.call(o, y, h++);
714
+ }), i;
715
+ }
716
+ function Sr(e) {
717
+ var r = 0;
718
+ return Le(e, function() {
719
+ r++;
720
+ }), r;
721
+ }
722
+ function ur(e, r, o) {
723
+ Le(e, function() {
724
+ r.apply(this, arguments);
725
+ }, o);
726
+ }
727
+ function kr(e) {
728
+ return Le(e, function(r) {
729
+ return r;
730
+ }) || [];
731
+ }
732
+ function lr(e) {
733
+ if (!ke(e))
734
+ throw new Error("React.Children.only expected to receive a single React element child.");
735
+ return e;
736
+ }
737
+ function cr(e) {
738
+ var r = {
739
+ $$typeof: F,
740
+ // As a workaround to support multiple concurrent renderers, we categorize
741
+ // some renderers as primary and others as secondary. We only expect
742
+ // there to be two concurrent renderers at most: React Native (primary) and
743
+ // Fabric (secondary); React DOM (primary) and React ART (secondary).
744
+ // Secondary renderers store their context values on separate fields.
745
+ _currentValue: e,
746
+ _currentValue2: e,
747
+ // Used to track how many concurrent renderers this context currently
748
+ // supports within in a single renderer. Such as parallel server rendering.
749
+ _threadCount: 0,
750
+ // These are circular
751
+ Provider: null,
752
+ Consumer: null,
753
+ // Add these to use same hidden class in VM as ServerContext
754
+ _defaultValue: null,
755
+ _globalName: null
756
+ };
757
+ r.Provider = {
758
+ $$typeof: C,
759
+ _context: r
760
+ };
761
+ var o = !1, i = !1, h = !1;
762
+ {
763
+ var y = {
764
+ $$typeof: F,
765
+ _context: r
766
+ };
767
+ Object.defineProperties(y, {
768
+ Provider: {
769
+ get: function() {
770
+ return i || (i = !0, b("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
771
+ },
772
+ set: function(_) {
773
+ r.Provider = _;
774
+ }
775
+ },
776
+ _currentValue: {
777
+ get: function() {
778
+ return r._currentValue;
779
+ },
780
+ set: function(_) {
781
+ r._currentValue = _;
782
+ }
783
+ },
784
+ _currentValue2: {
785
+ get: function() {
786
+ return r._currentValue2;
787
+ },
788
+ set: function(_) {
789
+ r._currentValue2 = _;
790
+ }
791
+ },
792
+ _threadCount: {
793
+ get: function() {
794
+ return r._threadCount;
795
+ },
796
+ set: function(_) {
797
+ r._threadCount = _;
798
+ }
799
+ },
800
+ Consumer: {
801
+ get: function() {
802
+ return o || (o = !0, b("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
803
+ }
804
+ },
805
+ displayName: {
806
+ get: function() {
807
+ return r.displayName;
808
+ },
809
+ set: function(_) {
810
+ h || (pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", _), h = !0);
811
+ }
812
+ }
813
+ }), r.Consumer = y;
814
+ }
815
+ return r._currentRenderer = null, r._currentRenderer2 = null, r;
816
+ }
817
+ var Fe = -1, Ke = 0, Ge = 1, Or = 2;
818
+ function Tr(e) {
819
+ if (e._status === Fe) {
820
+ var r = e._result, o = r();
821
+ if (o.then(function(y) {
822
+ if (e._status === Ke || e._status === Fe) {
823
+ var _ = e;
824
+ _._status = Ge, _._result = y;
825
+ }
826
+ }, function(y) {
827
+ if (e._status === Ke || e._status === Fe) {
828
+ var _ = e;
829
+ _._status = Or, _._result = y;
830
+ }
831
+ }), e._status === Fe) {
832
+ var i = e;
833
+ i._status = Ke, i._result = o;
834
+ }
835
+ }
836
+ if (e._status === Ge) {
837
+ var h = e._result;
838
+ return h === void 0 && b(`lazy: Expected the result of a dynamic import() call. Instead received: %s
839
+
840
+ Your code should look like:
841
+ const MyComponent = lazy(() => import('./MyComponent'))
842
+
843
+ Did you accidentally put curly braces around the import?`, h), "default" in h || b(`lazy: Expected the result of a dynamic import() call. Instead received: %s
844
+
845
+ Your code should look like:
846
+ const MyComponent = lazy(() => import('./MyComponent'))`, h), h.default;
847
+ } else
848
+ throw e._result;
849
+ }
850
+ function Pr(e) {
851
+ var r = {
852
+ // We use these fields to store the result.
853
+ _status: Fe,
854
+ _result: e
855
+ }, o = {
856
+ $$typeof: le,
857
+ _payload: r,
858
+ _init: Tr
859
+ };
860
+ {
861
+ var i, h;
862
+ Object.defineProperties(o, {
863
+ defaultProps: {
864
+ configurable: !0,
865
+ get: function() {
866
+ return i;
867
+ },
868
+ set: function(y) {
869
+ b("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), i = y, Object.defineProperty(o, "defaultProps", {
870
+ enumerable: !0
871
+ });
872
+ }
873
+ },
874
+ propTypes: {
875
+ configurable: !0,
876
+ get: function() {
877
+ return h;
878
+ },
879
+ set: function(y) {
880
+ b("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), h = y, Object.defineProperty(o, "propTypes", {
881
+ enumerable: !0
882
+ });
883
+ }
884
+ }
885
+ });
886
+ }
887
+ return o;
888
+ }
889
+ function Mr(e) {
890
+ e != null && e.$$typeof === V ? b("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? b("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && b("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && b("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
891
+ var r = {
892
+ $$typeof: N,
893
+ render: e
894
+ };
895
+ {
896
+ var o;
897
+ Object.defineProperty(r, "displayName", {
898
+ enumerable: !1,
899
+ configurable: !0,
900
+ get: function() {
901
+ return o;
902
+ },
903
+ set: function(i) {
904
+ o = i, !e.name && !e.displayName && (e.displayName = i);
905
+ }
906
+ });
907
+ }
908
+ return r;
909
+ }
910
+ var t;
911
+ t = Symbol.for("react.module.reference");
912
+ function u(e) {
913
+ return !!(typeof e == "string" || typeof e == "function" || e === A || e === S || oe || e === M || e === H || e === ne || J || e === Re || xe || we || me || typeof e == "object" && e !== null && (e.$$typeof === le || e.$$typeof === V || e.$$typeof === C || e.$$typeof === F || e.$$typeof === N || // This needs to include all possible module reference object
914
+ // types supported by any Flight configuration anywhere since
915
+ // we don't know which Flight build this will end up being used
916
+ // with.
917
+ e.$$typeof === t || e.getModuleId !== void 0));
918
+ }
919
+ function p(e, r) {
920
+ u(e) || b("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
921
+ var o = {
922
+ $$typeof: V,
923
+ type: e,
924
+ compare: r === void 0 ? null : r
925
+ };
926
+ {
927
+ var i;
928
+ Object.defineProperty(o, "displayName", {
929
+ enumerable: !1,
930
+ configurable: !0,
931
+ get: function() {
932
+ return i;
933
+ },
934
+ set: function(h) {
935
+ i = h, !e.name && !e.displayName && (e.displayName = h);
936
+ }
937
+ });
938
+ }
939
+ return o;
940
+ }
941
+ function v() {
942
+ var e = ee.current;
943
+ return e === null && b(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
944
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
945
+ 2. You might be breaking the Rules of Hooks
946
+ 3. You might have more than one copy of React in the same app
947
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
948
+ }
949
+ function P(e) {
950
+ var r = v();
951
+ if (e._context !== void 0) {
952
+ var o = e._context;
953
+ o.Consumer === e ? b("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : o.Provider === e && b("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
954
+ }
955
+ return r.useContext(e);
956
+ }
957
+ function I(e) {
958
+ var r = v();
959
+ return r.useState(e);
960
+ }
961
+ function j(e, r, o) {
962
+ var i = v();
963
+ return i.useReducer(e, r, o);
964
+ }
965
+ function z(e) {
966
+ var r = v();
967
+ return r.useRef(e);
968
+ }
969
+ function ie(e, r) {
970
+ var o = v();
971
+ return o.useEffect(e, r);
972
+ }
973
+ function K(e, r) {
974
+ var o = v();
975
+ return o.useInsertionEffect(e, r);
976
+ }
977
+ function Z(e, r) {
978
+ var o = v();
979
+ return o.useLayoutEffect(e, r);
980
+ }
981
+ function ve(e, r) {
982
+ var o = v();
983
+ return o.useCallback(e, r);
984
+ }
985
+ function Te(e, r) {
986
+ var o = v();
987
+ return o.useMemo(e, r);
988
+ }
989
+ function fr(e, r, o) {
990
+ var i = v();
991
+ return i.useImperativeHandle(e, r, o);
992
+ }
993
+ function ye(e, r) {
994
+ {
995
+ var o = v();
996
+ return o.useDebugValue(e, r);
997
+ }
998
+ }
999
+ function $t() {
1000
+ var e = v();
1001
+ return e.useTransition();
1002
+ }
1003
+ function Vt(e) {
1004
+ var r = v();
1005
+ return r.useDeferredValue(e);
1006
+ }
1007
+ function Ut() {
1008
+ var e = v();
1009
+ return e.useId();
1010
+ }
1011
+ function Wt(e, r, o) {
1012
+ var i = v();
1013
+ return i.useSyncExternalStore(e, r, o);
1014
+ }
1015
+ var Ze = 0, Qr, Jr, Xr, et, rt, tt, at;
1016
+ function nt() {
1017
+ }
1018
+ nt.__reactDisabledLog = !0;
1019
+ function qt() {
1020
+ {
1021
+ if (Ze === 0) {
1022
+ Qr = console.log, Jr = console.info, Xr = console.warn, et = console.error, rt = console.group, tt = console.groupCollapsed, at = console.groupEnd;
1023
+ var e = {
1024
+ configurable: !0,
1025
+ enumerable: !0,
1026
+ value: nt,
1027
+ writable: !0
1028
+ };
1029
+ Object.defineProperties(console, {
1030
+ info: e,
1031
+ log: e,
1032
+ warn: e,
1033
+ error: e,
1034
+ group: e,
1035
+ groupCollapsed: e,
1036
+ groupEnd: e
1037
+ });
1038
+ }
1039
+ Ze++;
1040
+ }
1041
+ }
1042
+ function Yt() {
1043
+ {
1044
+ if (Ze--, Ze === 0) {
1045
+ var e = {
1046
+ configurable: !0,
1047
+ enumerable: !0,
1048
+ writable: !0
1049
+ };
1050
+ Object.defineProperties(console, {
1051
+ log: x({}, e, {
1052
+ value: Qr
1053
+ }),
1054
+ info: x({}, e, {
1055
+ value: Jr
1056
+ }),
1057
+ warn: x({}, e, {
1058
+ value: Xr
1059
+ }),
1060
+ error: x({}, e, {
1061
+ value: et
1062
+ }),
1063
+ group: x({}, e, {
1064
+ value: rt
1065
+ }),
1066
+ groupCollapsed: x({}, e, {
1067
+ value: tt
1068
+ }),
1069
+ groupEnd: x({}, e, {
1070
+ value: at
1071
+ })
1072
+ });
1073
+ }
1074
+ Ze < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1075
+ }
1076
+ }
1077
+ var Ar = re.ReactCurrentDispatcher, Dr;
1078
+ function dr(e, r, o) {
1079
+ {
1080
+ if (Dr === void 0)
1081
+ try {
1082
+ throw Error();
1083
+ } catch (h) {
1084
+ var i = h.stack.trim().match(/\n( *(at )?)/);
1085
+ Dr = i && i[1] || "";
1086
+ }
1087
+ return `
1088
+ ` + Dr + e;
1089
+ }
1090
+ }
1091
+ var Ir = !1, hr;
1092
+ {
1093
+ var Bt = typeof WeakMap == "function" ? WeakMap : Map;
1094
+ hr = new Bt();
1095
+ }
1096
+ function ot(e, r) {
1097
+ if (!e || Ir)
1098
+ return "";
1099
+ {
1100
+ var o = hr.get(e);
1101
+ if (o !== void 0)
1102
+ return o;
1103
+ }
1104
+ var i;
1105
+ Ir = !0;
1106
+ var h = Error.prepareStackTrace;
1107
+ Error.prepareStackTrace = void 0;
1108
+ var y;
1109
+ y = Ar.current, Ar.current = null, qt();
1110
+ try {
1111
+ if (r) {
1112
+ var _ = function() {
1113
+ throw Error();
1114
+ };
1115
+ if (Object.defineProperty(_.prototype, "props", {
1116
+ set: function() {
1117
+ throw Error();
1118
+ }
1119
+ }), typeof Reflect == "object" && Reflect.construct) {
1120
+ try {
1121
+ Reflect.construct(_, []);
1122
+ } catch (ue) {
1123
+ i = ue;
1124
+ }
1125
+ Reflect.construct(e, [], _);
1126
+ } else {
1127
+ try {
1128
+ _.call();
1129
+ } catch (ue) {
1130
+ i = ue;
1131
+ }
1132
+ e.call(_.prototype);
1133
+ }
1134
+ } else {
1135
+ try {
1136
+ throw Error();
1137
+ } catch (ue) {
1138
+ i = ue;
1139
+ }
1140
+ e();
1141
+ }
1142
+ } catch (ue) {
1143
+ if (ue && i && typeof ue.stack == "string") {
1144
+ for (var g = ue.stack.split(`
1145
+ `), T = i.stack.split(`
1146
+ `), $ = g.length - 1, Y = T.length - 1; $ >= 1 && Y >= 0 && g[$] !== T[Y]; )
1147
+ Y--;
1148
+ for (; $ >= 1 && Y >= 0; $--, Y--)
1149
+ if (g[$] !== T[Y]) {
1150
+ if ($ !== 1 || Y !== 1)
1151
+ do
1152
+ if ($--, Y--, Y < 0 || g[$] !== T[Y]) {
1153
+ var B = `
1154
+ ` + g[$].replace(" at new ", " at ");
1155
+ return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && hr.set(e, B), B;
1156
+ }
1157
+ while ($ >= 1 && Y >= 0);
1158
+ break;
1159
+ }
1160
+ }
1161
+ } finally {
1162
+ Ir = !1, Ar.current = y, Yt(), Error.prepareStackTrace = h;
1163
+ }
1164
+ var G = e ? e.displayName || e.name : "", te = G ? dr(G) : "";
1165
+ return typeof e == "function" && hr.set(e, te), te;
1166
+ }
1167
+ function Ht(e, r, o) {
1168
+ return ot(e, !1);
1169
+ }
1170
+ function Kt(e) {
1171
+ var r = e.prototype;
1172
+ return !!(r && r.isReactComponent);
1173
+ }
1174
+ function pr(e, r, o) {
1175
+ if (e == null)
1176
+ return "";
1177
+ if (typeof e == "function")
1178
+ return ot(e, Kt(e));
1179
+ if (typeof e == "string")
1180
+ return dr(e);
1181
+ switch (e) {
1182
+ case H:
1183
+ return dr("Suspense");
1184
+ case ne:
1185
+ return dr("SuspenseList");
1186
+ }
1187
+ if (typeof e == "object")
1188
+ switch (e.$$typeof) {
1189
+ case N:
1190
+ return Ht(e.render);
1191
+ case V:
1192
+ return pr(e.type, r, o);
1193
+ case le: {
1194
+ var i = e, h = i._payload, y = i._init;
1195
+ try {
1196
+ return pr(y(h), r, o);
1197
+ } catch {
1198
+ }
1199
+ }
1200
+ }
1201
+ return "";
1202
+ }
1203
+ var st = {}, it = re.ReactDebugCurrentFrame;
1204
+ function vr(e) {
1205
+ if (e) {
1206
+ var r = e._owner, o = pr(e.type, e._source, r ? r.type : null);
1207
+ it.setExtraStackFrame(o);
1208
+ } else
1209
+ it.setExtraStackFrame(null);
1210
+ }
1211
+ function Gt(e, r, o, i, h) {
1212
+ {
1213
+ var y = Function.call.bind(De);
1214
+ for (var _ in e)
1215
+ if (y(e, _)) {
1216
+ var g = void 0;
1217
+ try {
1218
+ if (typeof e[_] != "function") {
1219
+ var T = Error((i || "React class") + ": " + o + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1220
+ throw T.name = "Invariant Violation", T;
1221
+ }
1222
+ g = e[_](r, _, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1223
+ } catch ($) {
1224
+ g = $;
1225
+ }
1226
+ g && !(g instanceof Error) && (vr(h), b("%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).", i || "React class", o, _, typeof g), vr(null)), g instanceof Error && !(g.message in st) && (st[g.message] = !0, vr(h), b("Failed %s type: %s", o, g.message), vr(null));
1227
+ }
1228
+ }
1229
+ }
1230
+ function Ye(e) {
1231
+ if (e) {
1232
+ var r = e._owner, o = pr(e.type, e._source, r ? r.type : null);
1233
+ be(o);
1234
+ } else
1235
+ be(null);
1236
+ }
1237
+ var Nr;
1238
+ Nr = !1;
1239
+ function ut() {
1240
+ if (w.current) {
1241
+ var e = ge(w.current.type);
1242
+ if (e)
1243
+ return `
1244
+
1245
+ Check the render method of \`` + e + "`.";
1246
+ }
1247
+ return "";
1248
+ }
1249
+ function Zt(e) {
1250
+ if (e !== void 0) {
1251
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
1252
+ return `
1253
+
1254
+ Check your code at ` + r + ":" + o + ".";
1255
+ }
1256
+ return "";
1257
+ }
1258
+ function Qt(e) {
1259
+ return e != null ? Zt(e.__source) : "";
1260
+ }
1261
+ var lt = {};
1262
+ function Jt(e) {
1263
+ var r = ut();
1264
+ if (!r) {
1265
+ var o = typeof e == "string" ? e : e.displayName || e.name;
1266
+ o && (r = `
1267
+
1268
+ Check the top-level render call using <` + o + ">.");
1269
+ }
1270
+ return r;
1271
+ }
1272
+ function ct(e, r) {
1273
+ if (!(!e._store || e._store.validated || e.key != null)) {
1274
+ e._store.validated = !0;
1275
+ var o = Jt(r);
1276
+ if (!lt[o]) {
1277
+ lt[o] = !0;
1278
+ var i = "";
1279
+ e && e._owner && e._owner !== w.current && (i = " It was passed a child from " + ge(e._owner.type) + "."), Ye(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), Ye(null);
1280
+ }
1281
+ }
1282
+ }
1283
+ function ft(e, r) {
1284
+ if (typeof e == "object") {
1285
+ if ($e(e))
1286
+ for (var o = 0; o < e.length; o++) {
1287
+ var i = e[o];
1288
+ ke(i) && ct(i, r);
1289
+ }
1290
+ else if (ke(e))
1291
+ e._store && (e._store.validated = !0);
1292
+ else if (e) {
1293
+ var h = q(e);
1294
+ if (typeof h == "function" && h !== e.entries)
1295
+ for (var y = h.call(e), _; !(_ = y.next()).done; )
1296
+ ke(_.value) && ct(_.value, r);
1297
+ }
1298
+ }
1299
+ }
1300
+ function dt(e) {
1301
+ {
1302
+ var r = e.type;
1303
+ if (r == null || typeof r == "string")
1304
+ return;
1305
+ var o;
1306
+ if (typeof r == "function")
1307
+ o = r.propTypes;
1308
+ else if (typeof r == "object" && (r.$$typeof === N || // Note: Memo only checks outer props here.
1309
+ // Inner props are checked in the reconciler.
1310
+ r.$$typeof === V))
1311
+ o = r.propTypes;
1312
+ else
1313
+ return;
1314
+ if (o) {
1315
+ var i = ge(r);
1316
+ Gt(o, e.props, "prop", i, e);
1317
+ } else if (r.PropTypes !== void 0 && !Nr) {
1318
+ Nr = !0;
1319
+ var h = ge(r);
1320
+ b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
1321
+ }
1322
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1323
+ }
1324
+ }
1325
+ function Xt(e) {
1326
+ {
1327
+ for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
1328
+ var i = r[o];
1329
+ if (i !== "children" && i !== "key") {
1330
+ Ye(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), Ye(null);
1331
+ break;
1332
+ }
1333
+ }
1334
+ e.ref !== null && (Ye(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
1335
+ }
1336
+ }
1337
+ function ht(e, r, o) {
1338
+ var i = u(e);
1339
+ if (!i) {
1340
+ var h = "";
1341
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1342
+ var y = Qt(r);
1343
+ y ? h += y : h += ut();
1344
+ var _;
1345
+ e === null ? _ = "null" : $e(e) ? _ = "array" : e !== void 0 && e.$$typeof === c ? (_ = "<" + (ge(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, b("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, h);
1346
+ }
1347
+ var g = wr.apply(this, arguments);
1348
+ if (g == null)
1349
+ return g;
1350
+ if (i)
1351
+ for (var T = 2; T < arguments.length; T++)
1352
+ ft(arguments[T], e);
1353
+ return e === A ? Xt(g) : dt(g), g;
1354
+ }
1355
+ var pt = !1;
1356
+ function ea(e) {
1357
+ var r = ht.bind(null, e);
1358
+ return r.type = e, pt || (pt = !0, pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
1359
+ enumerable: !1,
1360
+ get: function() {
1361
+ return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
1362
+ value: e
1363
+ }), e;
1364
+ }
1365
+ }), r;
1366
+ }
1367
+ function ra(e, r, o) {
1368
+ for (var i = Er.apply(this, arguments), h = 2; h < arguments.length; h++)
1369
+ ft(arguments[h], i.type);
1370
+ return dt(i), i;
1371
+ }
1372
+ function ta(e, r) {
1373
+ var o = _e.transition;
1374
+ _e.transition = {};
1375
+ var i = _e.transition;
1376
+ _e.transition._updatedFibers = /* @__PURE__ */ new Set();
1377
+ try {
1378
+ e();
1379
+ } finally {
1380
+ if (_e.transition = o, o === null && i._updatedFibers) {
1381
+ var h = i._updatedFibers.size;
1382
+ h > 10 && pe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), i._updatedFibers.clear();
1383
+ }
1384
+ }
1385
+ }
1386
+ var vt = !1, _r = null;
1387
+ function aa(e) {
1388
+ if (_r === null)
1389
+ try {
1390
+ var r = ("require" + Math.random()).slice(0, 7), o = a && a[r];
1391
+ _r = o.call(a, "timers").setImmediate;
1392
+ } catch {
1393
+ _r = function(h) {
1394
+ vt === !1 && (vt = !0, typeof MessageChannel > "u" && b("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
1395
+ var y = new MessageChannel();
1396
+ y.port1.onmessage = h, y.port2.postMessage(void 0);
1397
+ };
1398
+ }
1399
+ return _r(e);
1400
+ }
1401
+ var Be = 0, _t = !1;
1402
+ function na(e) {
1403
+ {
1404
+ var r = Be;
1405
+ Be++, Q.current === null && (Q.current = []);
1406
+ var o = Q.isBatchingLegacy, i;
1407
+ try {
1408
+ if (Q.isBatchingLegacy = !0, i = e(), !o && Q.didScheduleLegacyUpdate) {
1409
+ var h = Q.current;
1410
+ h !== null && (Q.didScheduleLegacyUpdate = !1, $r(h));
1411
+ }
1412
+ } catch (G) {
1413
+ throw br(r), G;
1414
+ } finally {
1415
+ Q.isBatchingLegacy = o;
1416
+ }
1417
+ if (i !== null && typeof i == "object" && typeof i.then == "function") {
1418
+ var y = i, _ = !1, g = {
1419
+ then: function(G, te) {
1420
+ _ = !0, y.then(function(ue) {
1421
+ br(r), Be === 0 ? Lr(ue, G, te) : G(ue);
1422
+ }, function(ue) {
1423
+ br(r), te(ue);
1424
+ });
1425
+ }
1426
+ };
1427
+ return !_t && typeof Promise < "u" && Promise.resolve().then(function() {
1428
+ }).then(function() {
1429
+ _ || (_t = !0, b("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1430
+ }), g;
1431
+ } else {
1432
+ var T = i;
1433
+ if (br(r), Be === 0) {
1434
+ var $ = Q.current;
1435
+ $ !== null && ($r($), Q.current = null);
1436
+ var Y = {
1437
+ then: function(G, te) {
1438
+ Q.current === null ? (Q.current = [], Lr(T, G, te)) : G(T);
1439
+ }
1440
+ };
1441
+ return Y;
1442
+ } else {
1443
+ var B = {
1444
+ then: function(G, te) {
1445
+ G(T);
1446
+ }
1447
+ };
1448
+ return B;
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ function br(e) {
1454
+ e !== Be - 1 && b("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Be = e;
1455
+ }
1456
+ function Lr(e, r, o) {
1457
+ {
1458
+ var i = Q.current;
1459
+ if (i !== null)
1460
+ try {
1461
+ $r(i), aa(function() {
1462
+ i.length === 0 ? (Q.current = null, r(e)) : Lr(e, r, o);
1463
+ });
1464
+ } catch (h) {
1465
+ o(h);
1466
+ }
1467
+ else
1468
+ r(e);
1469
+ }
1470
+ }
1471
+ var Fr = !1;
1472
+ function $r(e) {
1473
+ if (!Fr) {
1474
+ Fr = !0;
1475
+ var r = 0;
1476
+ try {
1477
+ for (; r < e.length; r++) {
1478
+ var o = e[r];
1479
+ do
1480
+ o = o(!0);
1481
+ while (o !== null);
1482
+ }
1483
+ e.length = 0;
1484
+ } catch (i) {
1485
+ throw e = e.slice(r + 1), i;
1486
+ } finally {
1487
+ Fr = !1;
1488
+ }
1489
+ }
1490
+ }
1491
+ var oa = ht, sa = ra, ia = ea, ua = {
1492
+ map: Le,
1493
+ forEach: ur,
1494
+ count: Sr,
1495
+ toArray: kr,
1496
+ only: lr
1497
+ };
1498
+ s.Children = ua, s.Component = R, s.Fragment = A, s.Profiler = S, s.PureComponent = ae, s.StrictMode = M, s.Suspense = H, s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, s.cloneElement = sa, s.createContext = cr, s.createElement = oa, s.createFactory = ia, s.createRef = xr, s.forwardRef = Mr, s.isValidElement = ke, s.lazy = Pr, s.memo = p, s.startTransition = ta, s.unstable_act = na, s.useCallback = ve, s.useContext = P, s.useDebugValue = ye, s.useDeferredValue = Vt, s.useEffect = ie, s.useId = Ut, s.useImperativeHandle = fr, s.useInsertionEffect = K, s.useLayoutEffect = Z, s.useMemo = Te, s.useReducer = j, s.useRef = z, s.useState = I, s.useSyncExternalStore = Wt, s.useTransition = $t, s.version = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1499
+ }();
1500
+ }(Xe, Xe.exports)), Xe.exports;
1501
+ }
1502
+ process.env.NODE_ENV === "production" ? Yr.exports = ha() : Yr.exports = pa();
1503
+ var se = Yr.exports;
1504
+ const Ot = /* @__PURE__ */ da(se);
1505
+ /**
1506
+ * @license React
1507
+ * react-jsx-runtime.production.min.js
1508
+ *
1509
+ * Copyright (c) Facebook, Inc. and its affiliates.
1510
+ *
1511
+ * This source code is licensed under the MIT license found in the
1512
+ * LICENSE file in the root directory of this source tree.
1513
+ */
1514
+ var Ct;
1515
+ function va() {
1516
+ if (Ct)
1517
+ return Qe;
1518
+ Ct = 1;
1519
+ var a = se, s = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, m = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
1520
+ function M(S, C, F) {
1521
+ var N, H = {}, ne = null, V = null;
1522
+ F !== void 0 && (ne = "" + F), C.key !== void 0 && (ne = "" + C.key), C.ref !== void 0 && (V = C.ref);
1523
+ for (N in C)
1524
+ c.call(C, N) && !A.hasOwnProperty(N) && (H[N] = C[N]);
1525
+ if (S && S.defaultProps)
1526
+ for (N in C = S.defaultProps, C)
1527
+ H[N] === void 0 && (H[N] = C[N]);
1528
+ return { $$typeof: s, type: S, key: ne, ref: V, props: H, _owner: m.current };
1529
+ }
1530
+ return Qe.Fragment = l, Qe.jsx = M, Qe.jsxs = M, Qe;
1531
+ }
1532
+ var Je = {};
1533
+ /**
1534
+ * @license React
1535
+ * react-jsx-runtime.development.js
1536
+ *
1537
+ * Copyright (c) Facebook, Inc. and its affiliates.
1538
+ *
1539
+ * This source code is licensed under the MIT license found in the
1540
+ * LICENSE file in the root directory of this source tree.
1541
+ */
1542
+ var wt;
1543
+ function _a() {
1544
+ return wt || (wt = 1, process.env.NODE_ENV !== "production" && function() {
1545
+ var a = se, s = Symbol.for("react.element"), l = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), M = Symbol.for("react.provider"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), le = Symbol.iterator, Re = "@@iterator";
1546
+ function fe(t) {
1547
+ if (t === null || typeof t != "object")
1548
+ return null;
1549
+ var u = le && t[le] || t[Re];
1550
+ return typeof u == "function" ? u : null;
1551
+ }
1552
+ var de = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1553
+ function q(t) {
1554
+ {
1555
+ for (var u = arguments.length, p = new Array(u > 1 ? u - 1 : 0), v = 1; v < u; v++)
1556
+ p[v - 1] = arguments[v];
1557
+ ee("error", t, p);
1558
+ }
1559
+ }
1560
+ function ee(t, u, p) {
1561
+ {
1562
+ var v = de.ReactDebugCurrentFrame, P = v.getStackAddendum();
1563
+ P !== "" && (u += "%s", p = p.concat([P]));
1564
+ var I = p.map(function(j) {
1565
+ return String(j);
1566
+ });
1567
+ I.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, I);
1568
+ }
1569
+ }
1570
+ var _e = !1, Q = !1, w = !1, k = !1, he = !1, be;
1571
+ be = Symbol.for("react.module.reference");
1572
+ function xe(t) {
1573
+ return !!(typeof t == "string" || typeof t == "function" || t === c || t === A || he || t === m || t === F || t === N || k || t === V || _e || Q || w || typeof t == "object" && t !== null && (t.$$typeof === ne || t.$$typeof === H || t.$$typeof === M || t.$$typeof === S || t.$$typeof === C || // This needs to include all possible module reference object
1574
+ // types supported by any Flight configuration anywhere since
1575
+ // we don't know which Flight build this will end up being used
1576
+ // with.
1577
+ t.$$typeof === be || t.getModuleId !== void 0));
1578
+ }
1579
+ function we(t, u, p) {
1580
+ var v = t.displayName;
1581
+ if (v)
1582
+ return v;
1583
+ var P = u.displayName || u.name || "";
1584
+ return P !== "" ? p + "(" + P + ")" : p;
1585
+ }
1586
+ function me(t) {
1587
+ return t.displayName || "Context";
1588
+ }
1589
+ function J(t) {
1590
+ if (t == null)
1591
+ return null;
1592
+ if (typeof t.tag == "number" && q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
1593
+ return t.displayName || t.name || null;
1594
+ if (typeof t == "string")
1595
+ return t;
1596
+ switch (t) {
1597
+ case c:
1598
+ return "Fragment";
1599
+ case l:
1600
+ return "Portal";
1601
+ case A:
1602
+ return "Profiler";
1603
+ case m:
1604
+ return "StrictMode";
1605
+ case F:
1606
+ return "Suspense";
1607
+ case N:
1608
+ return "SuspenseList";
1609
+ }
1610
+ if (typeof t == "object")
1611
+ switch (t.$$typeof) {
1612
+ case S:
1613
+ var u = t;
1614
+ return me(u) + ".Consumer";
1615
+ case M:
1616
+ var p = t;
1617
+ return me(p._context) + ".Provider";
1618
+ case C:
1619
+ return we(t, t.render, "ForwardRef");
1620
+ case H:
1621
+ var v = t.displayName || null;
1622
+ return v !== null ? v : J(t.type) || "Memo";
1623
+ case ne: {
1624
+ var P = t, I = P._payload, j = P._init;
1625
+ try {
1626
+ return J(j(I));
1627
+ } catch {
1628
+ return null;
1629
+ }
1630
+ }
1631
+ }
1632
+ return null;
1633
+ }
1634
+ var oe = Object.assign, re = 0, pe, b, ce, ze, n, f, x;
1635
+ function O() {
1636
+ }
1637
+ O.__reactDisabledLog = !0;
1638
+ function R() {
1639
+ {
1640
+ if (re === 0) {
1641
+ pe = console.log, b = console.info, ce = console.warn, ze = console.error, n = console.group, f = console.groupCollapsed, x = console.groupEnd;
1642
+ var t = {
1643
+ configurable: !0,
1644
+ enumerable: !0,
1645
+ value: O,
1646
+ writable: !0
1647
+ };
1648
+ Object.defineProperties(console, {
1649
+ info: t,
1650
+ log: t,
1651
+ warn: t,
1652
+ error: t,
1653
+ group: t,
1654
+ groupCollapsed: t,
1655
+ groupEnd: t
1656
+ });
1657
+ }
1658
+ re++;
1659
+ }
1660
+ }
1661
+ function U() {
1662
+ {
1663
+ if (re--, re === 0) {
1664
+ var t = {
1665
+ configurable: !0,
1666
+ enumerable: !0,
1667
+ writable: !0
1668
+ };
1669
+ Object.defineProperties(console, {
1670
+ log: oe({}, t, {
1671
+ value: pe
1672
+ }),
1673
+ info: oe({}, t, {
1674
+ value: b
1675
+ }),
1676
+ warn: oe({}, t, {
1677
+ value: ce
1678
+ }),
1679
+ error: oe({}, t, {
1680
+ value: ze
1681
+ }),
1682
+ group: oe({}, t, {
1683
+ value: n
1684
+ }),
1685
+ groupCollapsed: oe({}, t, {
1686
+ value: f
1687
+ }),
1688
+ groupEnd: oe({}, t, {
1689
+ value: x
1690
+ })
1691
+ });
1692
+ }
1693
+ re < 0 && q("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1694
+ }
1695
+ }
1696
+ var W = de.ReactCurrentDispatcher, L;
1697
+ function D(t, u, p) {
1698
+ {
1699
+ if (L === void 0)
1700
+ try {
1701
+ throw Error();
1702
+ } catch (P) {
1703
+ var v = P.stack.trim().match(/\n( *(at )?)/);
1704
+ L = v && v[1] || "";
1705
+ }
1706
+ return `
1707
+ ` + L + t;
1708
+ }
1709
+ }
1710
+ var ae = !1, je;
1711
+ {
1712
+ var xr = typeof WeakMap == "function" ? WeakMap : Map;
1713
+ je = new xr();
1714
+ }
1715
+ function er(t, u) {
1716
+ if (!t || ae)
1717
+ return "";
1718
+ {
1719
+ var p = je.get(t);
1720
+ if (p !== void 0)
1721
+ return p;
1722
+ }
1723
+ var v;
1724
+ ae = !0;
1725
+ var P = Error.prepareStackTrace;
1726
+ Error.prepareStackTrace = void 0;
1727
+ var I;
1728
+ I = W.current, W.current = null, R();
1729
+ try {
1730
+ if (u) {
1731
+ var j = function() {
1732
+ throw Error();
1733
+ };
1734
+ if (Object.defineProperty(j.prototype, "props", {
1735
+ set: function() {
1736
+ throw Error();
1737
+ }
1738
+ }), typeof Reflect == "object" && Reflect.construct) {
1739
+ try {
1740
+ Reflect.construct(j, []);
1741
+ } catch (ye) {
1742
+ v = ye;
1743
+ }
1744
+ Reflect.construct(t, [], j);
1745
+ } else {
1746
+ try {
1747
+ j.call();
1748
+ } catch (ye) {
1749
+ v = ye;
1750
+ }
1751
+ t.call(j.prototype);
1752
+ }
1753
+ } else {
1754
+ try {
1755
+ throw Error();
1756
+ } catch (ye) {
1757
+ v = ye;
1758
+ }
1759
+ t();
1760
+ }
1761
+ } catch (ye) {
1762
+ if (ye && v && typeof ye.stack == "string") {
1763
+ for (var z = ye.stack.split(`
1764
+ `), ie = v.stack.split(`
1765
+ `), K = z.length - 1, Z = ie.length - 1; K >= 1 && Z >= 0 && z[K] !== ie[Z]; )
1766
+ Z--;
1767
+ for (; K >= 1 && Z >= 0; K--, Z--)
1768
+ if (z[K] !== ie[Z]) {
1769
+ if (K !== 1 || Z !== 1)
1770
+ do
1771
+ if (K--, Z--, Z < 0 || z[K] !== ie[Z]) {
1772
+ var ve = `
1773
+ ` + z[K].replace(" at new ", " at ");
1774
+ return t.displayName && ve.includes("<anonymous>") && (ve = ve.replace("<anonymous>", t.displayName)), typeof t == "function" && je.set(t, ve), ve;
1775
+ }
1776
+ while (K >= 1 && Z >= 0);
1777
+ break;
1778
+ }
1779
+ }
1780
+ } finally {
1781
+ ae = !1, W.current = I, U(), Error.prepareStackTrace = P;
1782
+ }
1783
+ var Te = t ? t.displayName || t.name : "", fr = Te ? D(Te) : "";
1784
+ return typeof t == "function" && je.set(t, fr), fr;
1785
+ }
1786
+ function $e(t, u, p) {
1787
+ return er(t, !1);
1788
+ }
1789
+ function gr(t) {
1790
+ var u = t.prototype;
1791
+ return !!(u && u.isReactComponent);
1792
+ }
1793
+ function Ve(t, u, p) {
1794
+ if (t == null)
1795
+ return "";
1796
+ if (typeof t == "function")
1797
+ return er(t, gr(t));
1798
+ if (typeof t == "string")
1799
+ return D(t);
1800
+ switch (t) {
1801
+ case F:
1802
+ return D("Suspense");
1803
+ case N:
1804
+ return D("SuspenseList");
1805
+ }
1806
+ if (typeof t == "object")
1807
+ switch (t.$$typeof) {
1808
+ case C:
1809
+ return $e(t.render);
1810
+ case H:
1811
+ return Ve(t.type, u, p);
1812
+ case ne: {
1813
+ var v = t, P = v._payload, I = v._init;
1814
+ try {
1815
+ return Ve(I(P), u, p);
1816
+ } catch {
1817
+ }
1818
+ }
1819
+ }
1820
+ return "";
1821
+ }
1822
+ var Pe = Object.prototype.hasOwnProperty, Me = {}, rr = de.ReactDebugCurrentFrame;
1823
+ function Ae(t) {
1824
+ if (t) {
1825
+ var u = t._owner, p = Ve(t.type, t._source, u ? u.type : null);
1826
+ rr.setExtraStackFrame(p);
1827
+ } else
1828
+ rr.setExtraStackFrame(null);
1829
+ }
1830
+ function ge(t, u, p, v, P) {
1831
+ {
1832
+ var I = Function.call.bind(Pe);
1833
+ for (var j in t)
1834
+ if (I(t, j)) {
1835
+ var z = void 0;
1836
+ try {
1837
+ if (typeof t[j] != "function") {
1838
+ var ie = Error((v || "React class") + ": " + p + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1839
+ throw ie.name = "Invariant Violation", ie;
1840
+ }
1841
+ z = t[j](u, j, v, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1842
+ } catch (K) {
1843
+ z = K;
1844
+ }
1845
+ z && !(z instanceof Error) && (Ae(P), q("%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).", v || "React class", p, j, typeof z), Ae(null)), z instanceof Error && !(z.message in Me) && (Me[z.message] = !0, Ae(P), q("Failed %s type: %s", p, z.message), Ae(null));
1846
+ }
1847
+ }
1848
+ }
1849
+ var De = Array.isArray;
1850
+ function Ue(t) {
1851
+ return De(t);
1852
+ }
1853
+ function tr(t) {
1854
+ {
1855
+ var u = typeof Symbol == "function" && Symbol.toStringTag, p = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
1856
+ return p;
1857
+ }
1858
+ }
1859
+ function ar(t) {
1860
+ try {
1861
+ return We(t), !1;
1862
+ } catch {
1863
+ return !0;
1864
+ }
1865
+ }
1866
+ function We(t) {
1867
+ return "" + t;
1868
+ }
1869
+ function He(t) {
1870
+ if (ar(t))
1871
+ return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tr(t)), We(t);
1872
+ }
1873
+ var Se = de.ReactCurrentOwner, Cr = {
1874
+ key: !0,
1875
+ ref: !0,
1876
+ __self: !0,
1877
+ __source: !0
1878
+ }, nr, or, Ie;
1879
+ Ie = {};
1880
+ function wr(t) {
1881
+ if (Pe.call(t, "ref")) {
1882
+ var u = Object.getOwnPropertyDescriptor(t, "ref").get;
1883
+ if (u && u.isReactWarning)
1884
+ return !1;
1885
+ }
1886
+ return t.ref !== void 0;
1887
+ }
1888
+ function zr(t) {
1889
+ if (Pe.call(t, "key")) {
1890
+ var u = Object.getOwnPropertyDescriptor(t, "key").get;
1891
+ if (u && u.isReactWarning)
1892
+ return !1;
1893
+ }
1894
+ return t.key !== void 0;
1895
+ }
1896
+ function Er(t, u) {
1897
+ if (typeof t.ref == "string" && Se.current && u && Se.current.stateNode !== u) {
1898
+ var p = J(Se.current.type);
1899
+ Ie[p] || (q('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', J(Se.current.type), t.ref), Ie[p] = !0);
1900
+ }
1901
+ }
1902
+ function ke(t, u) {
1903
+ {
1904
+ var p = function() {
1905
+ nr || (nr = !0, q("%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)", u));
1906
+ };
1907
+ p.isReactWarning = !0, Object.defineProperty(t, "key", {
1908
+ get: p,
1909
+ configurable: !0
1910
+ });
1911
+ }
1912
+ }
1913
+ function sr(t, u) {
1914
+ {
1915
+ var p = function() {
1916
+ or || (or = !0, q("%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)", u));
1917
+ };
1918
+ p.isReactWarning = !0, Object.defineProperty(t, "ref", {
1919
+ get: p,
1920
+ configurable: !0
1921
+ });
1922
+ }
1923
+ }
1924
+ var Rr = function(t, u, p, v, P, I, j) {
1925
+ var z = {
1926
+ // This tag allows us to uniquely identify this as a React Element
1927
+ $$typeof: s,
1928
+ // Built-in properties that belong on the element
1929
+ type: t,
1930
+ key: u,
1931
+ ref: p,
1932
+ props: j,
1933
+ // Record the component responsible for creating this element.
1934
+ _owner: I
1935
+ };
1936
+ return z._store = {}, Object.defineProperty(z._store, "validated", {
1937
+ configurable: !1,
1938
+ enumerable: !1,
1939
+ writable: !0,
1940
+ value: !1
1941
+ }), Object.defineProperty(z, "_self", {
1942
+ configurable: !1,
1943
+ enumerable: !1,
1944
+ writable: !1,
1945
+ value: v
1946
+ }), Object.defineProperty(z, "_source", {
1947
+ configurable: !1,
1948
+ enumerable: !1,
1949
+ writable: !1,
1950
+ value: P
1951
+ }), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
1952
+ };
1953
+ function jr(t, u, p, v, P) {
1954
+ {
1955
+ var I, j = {}, z = null, ie = null;
1956
+ p !== void 0 && (He(p), z = "" + p), zr(u) && (He(u.key), z = "" + u.key), wr(u) && (ie = u.ref, Er(u, P));
1957
+ for (I in u)
1958
+ Pe.call(u, I) && !Cr.hasOwnProperty(I) && (j[I] = u[I]);
1959
+ if (t && t.defaultProps) {
1960
+ var K = t.defaultProps;
1961
+ for (I in K)
1962
+ j[I] === void 0 && (j[I] = K[I]);
1963
+ }
1964
+ if (z || ie) {
1965
+ var Z = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1966
+ z && ke(j, Z), ie && sr(j, Z);
1967
+ }
1968
+ return Rr(t, z, ie, P, v, Se.current, j);
1969
+ }
1970
+ }
1971
+ var qe = de.ReactCurrentOwner, ir = de.ReactDebugCurrentFrame;
1972
+ function Ee(t) {
1973
+ if (t) {
1974
+ var u = t._owner, p = Ve(t.type, t._source, u ? u.type : null);
1975
+ ir.setExtraStackFrame(p);
1976
+ } else
1977
+ ir.setExtraStackFrame(null);
1978
+ }
1979
+ var Ne;
1980
+ Ne = !1;
1981
+ function Oe(t) {
1982
+ return typeof t == "object" && t !== null && t.$$typeof === s;
1983
+ }
1984
+ function Le() {
1985
+ {
1986
+ if (qe.current) {
1987
+ var t = J(qe.current.type);
1988
+ if (t)
1989
+ return `
1990
+
1991
+ Check the render method of \`` + t + "`.";
1992
+ }
1993
+ return "";
1994
+ }
1995
+ }
1996
+ function Sr(t) {
1997
+ {
1998
+ if (t !== void 0) {
1999
+ var u = t.fileName.replace(/^.*[\\\/]/, ""), p = t.lineNumber;
2000
+ return `
2001
+
2002
+ Check your code at ` + u + ":" + p + ".";
2003
+ }
2004
+ return "";
2005
+ }
2006
+ }
2007
+ var ur = {};
2008
+ function kr(t) {
2009
+ {
2010
+ var u = Le();
2011
+ if (!u) {
2012
+ var p = typeof t == "string" ? t : t.displayName || t.name;
2013
+ p && (u = `
2014
+
2015
+ Check the top-level render call using <` + p + ">.");
2016
+ }
2017
+ return u;
2018
+ }
2019
+ }
2020
+ function lr(t, u) {
2021
+ {
2022
+ if (!t._store || t._store.validated || t.key != null)
2023
+ return;
2024
+ t._store.validated = !0;
2025
+ var p = kr(u);
2026
+ if (ur[p])
2027
+ return;
2028
+ ur[p] = !0;
2029
+ var v = "";
2030
+ t && t._owner && t._owner !== qe.current && (v = " It was passed a child from " + J(t._owner.type) + "."), Ee(t), q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, v), Ee(null);
2031
+ }
2032
+ }
2033
+ function cr(t, u) {
2034
+ {
2035
+ if (typeof t != "object")
2036
+ return;
2037
+ if (Ue(t))
2038
+ for (var p = 0; p < t.length; p++) {
2039
+ var v = t[p];
2040
+ Oe(v) && lr(v, u);
2041
+ }
2042
+ else if (Oe(t))
2043
+ t._store && (t._store.validated = !0);
2044
+ else if (t) {
2045
+ var P = fe(t);
2046
+ if (typeof P == "function" && P !== t.entries)
2047
+ for (var I = P.call(t), j; !(j = I.next()).done; )
2048
+ Oe(j.value) && lr(j.value, u);
2049
+ }
2050
+ }
2051
+ }
2052
+ function Fe(t) {
2053
+ {
2054
+ var u = t.type;
2055
+ if (u == null || typeof u == "string")
2056
+ return;
2057
+ var p;
2058
+ if (typeof u == "function")
2059
+ p = u.propTypes;
2060
+ else if (typeof u == "object" && (u.$$typeof === C || // Note: Memo only checks outer props here.
2061
+ // Inner props are checked in the reconciler.
2062
+ u.$$typeof === H))
2063
+ p = u.propTypes;
2064
+ else
2065
+ return;
2066
+ if (p) {
2067
+ var v = J(u);
2068
+ ge(p, t.props, "prop", v, t);
2069
+ } else if (u.PropTypes !== void 0 && !Ne) {
2070
+ Ne = !0;
2071
+ var P = J(u);
2072
+ q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
2073
+ }
2074
+ typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2075
+ }
2076
+ }
2077
+ function Ke(t) {
2078
+ {
2079
+ for (var u = Object.keys(t.props), p = 0; p < u.length; p++) {
2080
+ var v = u[p];
2081
+ if (v !== "children" && v !== "key") {
2082
+ Ee(t), q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Ee(null);
2083
+ break;
2084
+ }
2085
+ }
2086
+ t.ref !== null && (Ee(t), q("Invalid attribute `ref` supplied to `React.Fragment`."), Ee(null));
2087
+ }
2088
+ }
2089
+ function Ge(t, u, p, v, P, I) {
2090
+ {
2091
+ var j = xe(t);
2092
+ if (!j) {
2093
+ var z = "";
2094
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (z += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2095
+ var ie = Sr(P);
2096
+ ie ? z += ie : z += Le();
2097
+ var K;
2098
+ t === null ? K = "null" : Ue(t) ? K = "array" : t !== void 0 && t.$$typeof === s ? (K = "<" + (J(t.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : K = typeof t, q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, z);
2099
+ }
2100
+ var Z = jr(t, u, p, P, I);
2101
+ if (Z == null)
2102
+ return Z;
2103
+ if (j) {
2104
+ var ve = u.children;
2105
+ if (ve !== void 0)
2106
+ if (v)
2107
+ if (Ue(ve)) {
2108
+ for (var Te = 0; Te < ve.length; Te++)
2109
+ cr(ve[Te], t);
2110
+ Object.freeze && Object.freeze(ve);
2111
+ } else
2112
+ q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2113
+ else
2114
+ cr(ve, t);
2115
+ }
2116
+ return t === c ? Ke(Z) : Fe(Z), Z;
2117
+ }
2118
+ }
2119
+ function Or(t, u, p) {
2120
+ return Ge(t, u, p, !0);
2121
+ }
2122
+ function Tr(t, u, p) {
2123
+ return Ge(t, u, p, !1);
2124
+ }
2125
+ var Pr = Tr, Mr = Or;
2126
+ Je.Fragment = c, Je.jsx = Pr, Je.jsxs = Mr;
2127
+ }()), Je;
2128
+ }
2129
+ process.env.NODE_ENV === "production" ? qr.exports = va() : qr.exports = _a();
2130
+ var d = qr.exports;
2131
+ function Tt(a) {
2132
+ var s, l, c = "";
2133
+ if (typeof a == "string" || typeof a == "number")
2134
+ c += a;
2135
+ else if (typeof a == "object")
2136
+ if (Array.isArray(a)) {
2137
+ var m = a.length;
2138
+ for (s = 0; s < m; s++)
2139
+ a[s] && (l = Tt(a[s])) && (c && (c += " "), c += l);
2140
+ } else
2141
+ for (l in a)
2142
+ a[l] && (c && (c += " "), c += l);
2143
+ return c;
2144
+ }
2145
+ function Ce() {
2146
+ for (var a, s, l = 0, c = "", m = arguments.length; l < m; l++)
2147
+ (a = arguments[l]) && (s = Tt(a)) && (c && (c += " "), c += s);
2148
+ return c;
2149
+ }
2150
+ var ba = "y2413r0", ma = "y2413r1", ya = "y2413r2", xa = "y2413r3", zt = "sid-theme-root";
2151
+ function ga() {
2152
+ return typeof window < "u" && globalThis === window;
2153
+ }
2154
+ function Pt({ theme: a, className: s }) {
2155
+ return Ce(
2156
+ zt,
2157
+ `${zt}__${a}`,
2158
+ xa,
2159
+ {
2160
+ [ba]: a === "dark",
2161
+ [ya]: a === "auto",
2162
+ [ma]: a === "light"
2163
+ },
2164
+ s
2165
+ );
2166
+ }
2167
+ function Ca({ theme: a, className: s }) {
2168
+ const l = Pt({ theme: a, className: s });
2169
+ document.body.classList.add(...l.split(" "));
2170
+ }
2171
+ const Mt = ({ children: a }) => /* @__PURE__ */ d.jsx("div", { className: Pt({ theme: "light" }), children: a }), wa = ({ children: a, theme: s = "light", className: l }) => {
2172
+ const [c, m] = Ot.useState(!1);
2173
+ return se.useLayoutEffect(() => {
2174
+ c || m(!0);
2175
+ }, [l, c, s]), se.useLayoutEffect(() => {
2176
+ c && Ca({ theme: s, className: l });
2177
+ }, [l, c, s]), c ? /* @__PURE__ */ d.jsx(d.Fragment, { children: a }) : /* @__PURE__ */ d.jsx(Mt, { children: a });
2178
+ };
2179
+ function gn({ children: a, theme: s = "light", className: l }) {
2180
+ return ga() ? /* @__PURE__ */ d.jsx(wa, { theme: s, className: l, children: a }) : /* @__PURE__ */ d.jsx(Mt, { children: a });
2181
+ }
2182
+ var za = { default: "_92y0ua2 _92y0ua1", short: "_92y0ua3 _92y0ua1" };
2183
+ const At = ({ className: a, variant: s = "default" }) => /* @__PURE__ */ d.jsx("div", { className: Ce(za[s], a) });
2184
+ var Ea = { primary: "eccmw2 eccmw0", secondary: "eccmw3 eccmw0", secondaryMd: "eccmw4 eccmw0 eccmw1", neutral: "eccmw5 eccmw0", neutralMd: "eccmw6 eccmw0 eccmw1", ghost: "eccmw7 eccmw0", ghostMd: "eccmw8 eccmw0 eccmw1" }, Ra = "eccmw9", ja = "eccmwa", Sa = { primary: "eccmwb", secondary: "eccmwc", secondaryMd: "eccmwd", neutral: "eccmwe", neutralMd: "eccmwf", ghost: "eccmwg", ghostMd: "eccmwh" };
2185
+ const Dt = se.forwardRef(
2186
+ ({
2187
+ children: a,
2188
+ onClick: s,
2189
+ className: l,
2190
+ type: c = "button",
2191
+ variant: m = "primary",
2192
+ testId: A,
2193
+ icon: M,
2194
+ disabled: S,
2195
+ loading: C = !1
2196
+ }, F) => /* @__PURE__ */ d.jsx(
2197
+ "button",
2198
+ {
2199
+ ref: F,
2200
+ "data-testid": A,
2201
+ type: c,
2202
+ disabled: S,
2203
+ className: Ce(
2204
+ "sid-button",
2205
+ `sid-button--${m}`,
2206
+ Ea[m],
2207
+ { [Ra]: S },
2208
+ l
2209
+ ),
2210
+ onClick: s,
2211
+ children: C ? /* @__PURE__ */ d.jsx(At, { variant: "short", className: Sa[m] }) : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2212
+ M ? /* @__PURE__ */ d.jsx("i", { className: ja, children: M }) : null,
2213
+ a
2214
+ ] })
2215
+ }
2216
+ )
2217
+ );
2218
+ Dt.displayName = "Button";
2219
+ var ka = "_1doytsg0", Oa = "_1doytsg3", Ta = "_1doytsg4", Pa = { text: "_1doytsg6 _1doytsg5", email: "_1doytsg7 _1doytsg5", password: "_1doytsg8 _1doytsg5", tel: "_1doytsg9 _1doytsg5" }, Ma = "_1doytsga", Aa = "_1doytsgc";
2220
+ const Da = ({
2221
+ id: a,
2222
+ name: s,
2223
+ label: l,
2224
+ placeholder: c = "",
2225
+ autoComplete: m = "",
2226
+ value: A,
2227
+ onChange: M,
2228
+ type: S = "text"
2229
+ }) => {
2230
+ const C = se.useCallback(
2231
+ (F) => {
2232
+ M(F);
2233
+ },
2234
+ [M]
2235
+ );
2236
+ return /* @__PURE__ */ d.jsxs("div", { className: Pa[S], children: [
2237
+ /* @__PURE__ */ d.jsx("label", { htmlFor: a, className: Ma, children: l }),
2238
+ /* @__PURE__ */ d.jsx(
2239
+ "input",
2240
+ {
2241
+ type: S,
2242
+ id: a,
2243
+ name: s,
2244
+ className: ka,
2245
+ placeholder: c,
2246
+ value: A,
2247
+ onChange: C,
2248
+ autoComplete: m
2249
+ }
2250
+ )
2251
+ ] });
2252
+ }, Hr = `
2253
+ @media (prefers-color-scheme: dark) {
2254
+ .sid-theme-root__auto path { fill: white; }
2255
+ }
2256
+
2257
+ .sid-theme-root__dark path { fill: white; }
2258
+ `;
2259
+ function Ia() {
2260
+ return /* @__PURE__ */ d.jsxs(
2261
+ "svg",
2262
+ {
2263
+ width: "5",
2264
+ height: "20",
2265
+ viewBox: "0 0 5 20",
2266
+ fill: "none",
2267
+ xmlns: "http://www.w3.org/2000/svg",
2268
+ children: [
2269
+ /* @__PURE__ */ d.jsx(
2270
+ "path",
2271
+ {
2272
+ fillRule: "evenodd",
2273
+ clipRule: "evenodd",
2274
+ d: "M2.5 0C3.32843 1.19209e-07 4 0.671573 4 1.5L4 11.5C4 12.3284 3.32843 13 2.5 13C1.67157 13 1 12.3284 1 11.5L1 1.5C1 0.671573 1.67157 -1.19209e-07 2.5 0Z",
2275
+ fill: "white"
2276
+ }
2277
+ ),
2278
+ /* @__PURE__ */ d.jsx(
2279
+ "path",
2280
+ {
2281
+ 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",
2282
+ fill: "white"
2283
+ }
2284
+ )
2285
+ ]
2286
+ }
2287
+ );
2288
+ }
2289
+ const Na = () => /* @__PURE__ */ d.jsxs(
2290
+ "svg",
2291
+ {
2292
+ width: "16",
2293
+ height: "16",
2294
+ viewBox: "0 0 16 16",
2295
+ fill: "none",
2296
+ xmlns: "http://www.w3.org/2000/svg",
2297
+ children: [
2298
+ /* @__PURE__ */ d.jsx("style", { children: Hr }),
2299
+ /* @__PURE__ */ d.jsx("g", { clipPath: "url(#clip0_2610_9920)", children: /* @__PURE__ */ d.jsx(
2300
+ "path",
2301
+ {
2302
+ fillRule: "evenodd",
2303
+ clipRule: "evenodd",
2304
+ d: "M0.220551 7.4C1.00905 5.8258 3.50342 2 8.00001 2C12.4966 2 14.991 5.8258 15.7796 7.4C16.0733 7.98635 16.0737 8.0153 15.7796 8.60228C14.99 10.1778 12.4949 14 8.00001 14C3.50298 14 1.00762 10.1738 0.219399 8.6C-0.0739824 8.01422 -0.0726647 7.98539 0.220551 7.4ZM8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12ZM9.5 8C9.5 8.82843 8.82843 9.5 8 9.5C7.17157 9.5 6.5 8.82843 6.5 8C6.5 7.17157 7.17157 6.5 8 6.5C8.82843 6.5 9.5 7.17157 9.5 8Z",
2305
+ fill: "#142049"
2306
+ }
2307
+ ) }),
2308
+ /* @__PURE__ */ d.jsx("defs", { children: /* @__PURE__ */ d.jsx("clipPath", { id: "clip0_2610_9920", children: /* @__PURE__ */ d.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
2309
+ ]
2310
+ }
2311
+ ), La = () => /* @__PURE__ */ d.jsxs(
2312
+ "svg",
2313
+ {
2314
+ width: "16",
2315
+ height: "16",
2316
+ viewBox: "0 0 16 16",
2317
+ fill: "none",
2318
+ xmlns: "http://www.w3.org/2000/svg",
2319
+ children: [
2320
+ /* @__PURE__ */ d.jsx("style", { children: Hr }),
2321
+ /* @__PURE__ */ d.jsxs("g", { clipPath: "url(#clip0_2610_9933)", children: [
2322
+ /* @__PURE__ */ d.jsx(
2323
+ "path",
2324
+ {
2325
+ fillRule: "evenodd",
2326
+ clipRule: "evenodd",
2327
+ d: "M0.220551 7.4C1.00905 5.8258 3.50342 2 8.00001 2C12.4966 2 14.991 5.8258 15.7796 7.4C16.0733 7.98635 16.0737 8.0153 15.7796 8.60228C14.99 10.1778 12.4949 14 8.00001 14C3.50298 14 1.00762 10.1738 0.219399 8.6C-0.0739824 8.01422 -0.0726647 7.98539 0.220551 7.4ZM8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12ZM9.5 8C9.5 8.82843 8.82843 9.5 8 9.5C7.17157 9.5 6.5 8.82843 6.5 8C6.5 7.17157 7.17157 6.5 8 6.5C8.82843 6.5 9.5 7.17157 9.5 8Z",
2328
+ fill: "#142049"
2329
+ }
2330
+ ),
2331
+ /* @__PURE__ */ d.jsx(
2332
+ "path",
2333
+ {
2334
+ d: "M2.34314 2.34315L13.6568 13.6569",
2335
+ stroke: "#142049",
2336
+ strokeWidth: "1.5",
2337
+ strokeLinecap: "round"
2338
+ }
2339
+ )
2340
+ ] }),
2341
+ /* @__PURE__ */ d.jsx("defs", { children: /* @__PURE__ */ d.jsx("clipPath", { id: "clip0_2610_9933", children: /* @__PURE__ */ d.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
2342
+ ]
2343
+ }
2344
+ ), Fa = () => /* @__PURE__ */ d.jsxs(
2345
+ "svg",
2346
+ {
2347
+ width: "40",
2348
+ height: "40",
2349
+ viewBox: "0 0 40 40",
2350
+ fill: "none",
2351
+ xmlns: "http://www.w3.org/2000/svg",
2352
+ children: [
2353
+ /* @__PURE__ */ d.jsx("style", { children: Hr }),
2354
+ /* @__PURE__ */ d.jsx("path", { d: "M12.686 10L2 30.228H5.198L15.884 10H12.686Z", fill: "#2A6AFF" }),
2355
+ /* @__PURE__ */ d.jsx(
2356
+ "path",
2357
+ {
2358
+ 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",
2359
+ fill: "#142049"
2360
+ }
2361
+ )
2362
+ ]
2363
+ }
2364
+ ), Et = (a) => {
2365
+ const [s, l] = se.useState(!1);
2366
+ return /* @__PURE__ */ d.jsxs(
2367
+ "div",
2368
+ {
2369
+ className: Ce(
2370
+ "sid-input",
2371
+ "sid-input--password",
2372
+ Oa,
2373
+ a.error && Ta,
2374
+ a.className
2375
+ ),
2376
+ children: [
2377
+ /* @__PURE__ */ d.jsx(Da, { ...a, type: s ? "text" : "password" }),
2378
+ /* @__PURE__ */ d.jsx(
2379
+ "button",
2380
+ {
2381
+ tabIndex: -1,
2382
+ className: Aa,
2383
+ type: "button",
2384
+ onClick: () => l(!s),
2385
+ children: s ? /* @__PURE__ */ d.jsx(La, {}) : /* @__PURE__ */ d.jsx(Na, {})
2386
+ }
2387
+ )
2388
+ ]
2389
+ }
2390
+ );
2391
+ };
2392
+ var $a = "_1rf2mux3", Va = "_1rf2mux5", Ua = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4" }, Wa = "_1rf2mux9", qa = { blue: "_1rf2muxa _1rf2mux8", red: "_1rf2muxb _1rf2mux8" }, Ya = "_1rf2muxd", Ba = { blue: "_1rf2muxe _1rf2muxc", red: "_1rf2muxf _1rf2muxc" }, Ha = "_1rf2muxg";
2393
+ const Kr = ({
2394
+ children: a,
2395
+ className: s,
2396
+ variant: l = "blue",
2397
+ shouldAnimate: c = !0
2398
+ }) => /* @__PURE__ */ d.jsxs("div", { className: Ce($a, s), children: [
2399
+ /* @__PURE__ */ d.jsx(
2400
+ "div",
2401
+ {
2402
+ className: Ce(Ua[l], {
2403
+ [Va]: c
2404
+ })
2405
+ }
2406
+ ),
2407
+ /* @__PURE__ */ d.jsx(
2408
+ "div",
2409
+ {
2410
+ className: Ce(qa[l], {
2411
+ [Wa]: c
2412
+ })
2413
+ }
2414
+ ),
2415
+ /* @__PURE__ */ d.jsx(
2416
+ "div",
2417
+ {
2418
+ className: Ce(Ba[l], {
2419
+ [Ya]: c
2420
+ })
2421
+ }
2422
+ ),
2423
+ /* @__PURE__ */ d.jsx("div", { className: Ha, children: a })
2424
+ ] });
2425
+ function Ka(a, s, l) {
2426
+ return s in a ? Object.defineProperty(a, s, {
2427
+ value: l,
2428
+ enumerable: !0,
2429
+ configurable: !0,
2430
+ writable: !0
2431
+ }) : a[s] = l, a;
2432
+ }
2433
+ function Rt(a, s) {
2434
+ var l = Object.keys(a);
2435
+ if (Object.getOwnPropertySymbols) {
2436
+ var c = Object.getOwnPropertySymbols(a);
2437
+ s && (c = c.filter(function(m) {
2438
+ return Object.getOwnPropertyDescriptor(a, m).enumerable;
2439
+ })), l.push.apply(l, c);
2440
+ }
2441
+ return l;
2442
+ }
2443
+ function jt(a) {
2444
+ for (var s = 1; s < arguments.length; s++) {
2445
+ var l = arguments[s] != null ? arguments[s] : {};
2446
+ s % 2 ? Rt(Object(l), !0).forEach(function(c) {
2447
+ Ka(a, c, l[c]);
2448
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(l)) : Rt(Object(l)).forEach(function(c) {
2449
+ Object.defineProperty(a, c, Object.getOwnPropertyDescriptor(l, c));
2450
+ });
2451
+ }
2452
+ return a;
2453
+ }
2454
+ var Ga = (a, s, l) => {
2455
+ for (var c of Object.keys(a)) {
2456
+ var m;
2457
+ if (a[c] !== ((m = s[c]) !== null && m !== void 0 ? m : l[c]))
2458
+ return !1;
2459
+ }
2460
+ return !0;
2461
+ }, It = (a) => (s) => {
2462
+ var l = a.defaultClassName, c = jt(jt({}, a.defaultVariants), s);
2463
+ for (var m in c) {
2464
+ var A, M = (A = c[m]) !== null && A !== void 0 ? A : a.defaultVariants[m];
2465
+ if (M != null) {
2466
+ var S = M;
2467
+ typeof S == "boolean" && (S = S === !0 ? "true" : "false");
2468
+ var C = (
2469
+ // @ts-expect-error
2470
+ a.variantClassNames[m][S]
2471
+ );
2472
+ C && (l += " " + C);
2473
+ }
2474
+ }
2475
+ for (var [F, N] of a.compoundVariants)
2476
+ Ga(F, c, a.defaultVariants) && (l += " " + N);
2477
+ return l;
2478
+ }, Za = It({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
2479
+ function Qa(a, s) {
2480
+ if (typeof a != "object" || a === null)
2481
+ return a;
2482
+ var l = a[Symbol.toPrimitive];
2483
+ if (l !== void 0) {
2484
+ var c = l.call(a, s || "default");
2485
+ if (typeof c != "object")
2486
+ return c;
2487
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2488
+ }
2489
+ return (s === "string" ? String : Number)(a);
2490
+ }
2491
+ function Ja(a) {
2492
+ var s = Qa(a, "string");
2493
+ return typeof s == "symbol" ? s : String(s);
2494
+ }
2495
+ function Xa(a, s, l) {
2496
+ return s = Ja(s), s in a ? Object.defineProperty(a, s, {
2497
+ value: l,
2498
+ enumerable: !0,
2499
+ configurable: !0,
2500
+ writable: !0
2501
+ }) : a[s] = l, a;
2502
+ }
2503
+ function St(a, s) {
2504
+ var l = Object.keys(a);
2505
+ if (Object.getOwnPropertySymbols) {
2506
+ var c = Object.getOwnPropertySymbols(a);
2507
+ s && (c = c.filter(function(m) {
2508
+ return Object.getOwnPropertyDescriptor(a, m).enumerable;
2509
+ })), l.push.apply(l, c);
2510
+ }
2511
+ return l;
2512
+ }
2513
+ function Ur(a) {
2514
+ for (var s = 1; s < arguments.length; s++) {
2515
+ var l = arguments[s] != null ? arguments[s] : {};
2516
+ s % 2 ? St(Object(l), !0).forEach(function(c) {
2517
+ Xa(a, c, l[c]);
2518
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(l)) : St(Object(l)).forEach(function(c) {
2519
+ Object.defineProperty(a, c, Object.getOwnPropertyDescriptor(l, c));
2520
+ });
2521
+ }
2522
+ return a;
2523
+ }
2524
+ var en = (a) => function() {
2525
+ for (var s = arguments.length, l = new Array(s), c = 0; c < s; c++)
2526
+ l[c] = arguments[c];
2527
+ var m = Object.assign({}, ...l.map((C) => C.styles)), A = Object.keys(m), M = A.filter((C) => "mappings" in m[C]), S = (C) => {
2528
+ var F = [], N = {}, H = Ur({}, C), ne = !1;
2529
+ for (var V of M) {
2530
+ var le = C[V];
2531
+ if (le != null) {
2532
+ var Re = m[V];
2533
+ ne = !0;
2534
+ for (var fe of Re.mappings)
2535
+ N[fe] = le, H[fe] == null && delete H[fe];
2536
+ }
2537
+ }
2538
+ var de = ne ? Ur(Ur({}, N), H) : C, q = function() {
2539
+ var w = de[ee], k = m[ee];
2540
+ try {
2541
+ if (k.mappings)
2542
+ return "continue";
2543
+ if (typeof w == "string" || typeof w == "number") {
2544
+ if (process.env.NODE_ENV !== "production" && !k.values[w].defaultClass)
2545
+ throw new Error();
2546
+ F.push(k.values[w].defaultClass);
2547
+ } else if (Array.isArray(w))
2548
+ for (var he = 0; he < w.length; he++) {
2549
+ var be = w[he];
2550
+ if (be != null) {
2551
+ var xe = k.responsiveArray[he];
2552
+ if (process.env.NODE_ENV !== "production" && !k.values[be].conditions[xe])
2553
+ throw new Error();
2554
+ F.push(k.values[be].conditions[xe]);
2555
+ }
2556
+ }
2557
+ else
2558
+ for (var we in w) {
2559
+ var me = w[we];
2560
+ if (me != null) {
2561
+ if (process.env.NODE_ENV !== "production" && !k.values[me].conditions[we])
2562
+ throw new Error();
2563
+ F.push(k.values[me].conditions[we]);
2564
+ }
2565
+ }
2566
+ } catch (ze) {
2567
+ if (process.env.NODE_ENV !== "production") {
2568
+ class n extends Error {
2569
+ constructor(x) {
2570
+ super(x), this.name = "SprinklesError";
2571
+ }
2572
+ }
2573
+ var J = (f) => typeof f == "string" ? '"'.concat(f, '"') : f, oe = (f, x, O) => {
2574
+ throw new n('"'.concat(f, '" has no value ').concat(J(x), ". Possible values are ").concat(Object.keys(O).map(J).join(", ")));
2575
+ };
2576
+ if (!k)
2577
+ throw new n('"'.concat(ee, '" is not a valid sprinkle'));
2578
+ if ((typeof w == "string" || typeof w == "number") && (w in k.values || oe(ee, w, k.values), !k.values[w].defaultClass))
2579
+ throw new n('"'.concat(ee, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(k.values[w].conditions).map(J).join(", ")));
2580
+ if (typeof w == "object") {
2581
+ if (!("conditions" in k.values[Object.keys(k.values)[0]]))
2582
+ throw new n('"'.concat(ee, '" is not a conditional property'));
2583
+ if (Array.isArray(w)) {
2584
+ if (!("responsiveArray" in k))
2585
+ throw new n('"'.concat(ee, '" does not support responsive arrays'));
2586
+ var re = k.responsiveArray.length;
2587
+ if (re < w.length)
2588
+ throw new n('"'.concat(ee, '" only supports up to ').concat(re, " breakpoints. You passed ").concat(w.length));
2589
+ for (var pe of w)
2590
+ k.values[pe] || oe(ee, pe, k.values);
2591
+ } else
2592
+ for (var b in w) {
2593
+ var ce = w[b];
2594
+ if (ce != null && (k.values[ce] || oe(ee, ce, k.values), !k.values[ce].conditions[b]))
2595
+ throw new n('"'.concat(ee, '" has no condition named ').concat(J(b), ". Possible values are ").concat(Object.keys(k.values[ce].conditions).map(J).join(", ")));
2596
+ }
2597
+ }
2598
+ }
2599
+ throw ze;
2600
+ }
2601
+ };
2602
+ for (var ee in de)
2603
+ var _e = q();
2604
+ return a(F.join(" "));
2605
+ };
2606
+ return Object.assign(S, {
2607
+ properties: new Set(A)
2608
+ });
2609
+ }, rn = (a) => a, tn = function() {
2610
+ return en(rn)(...arguments);
2611
+ }, Nt = tn({ 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" } } } } });
2612
+ const Gr = (a) => /* @__PURE__ */ d.jsx(
2613
+ "div",
2614
+ {
2615
+ className: Ce(
2616
+ "sid-stack",
2617
+ Za(a.variant),
2618
+ Nt({ gap: a.space || "2" }),
2619
+ a.className
2620
+ ),
2621
+ style: a.style,
2622
+ children: a.children
2623
+ }
2624
+ );
2625
+ var an = It({ 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: [] });
2626
+ const nn = {
2627
+ text: {}
2628
+ }, Zr = se.createContext(nn);
2629
+ Zr.displayName = "SlashIDTextContext";
2630
+ const Cn = ({ text: a, children: s }) => {
2631
+ const l = se.useMemo(() => ({
2632
+ text: a
2633
+ }), [a]);
2634
+ return /* @__PURE__ */ d.jsx(Zr.Provider, { value: l, children: s });
2635
+ };
2636
+ function on() {
2637
+ const { text: a } = Ot.useContext(Zr);
2638
+ return a;
2639
+ }
2640
+ const Wr = {
2641
+ opening: "{{",
2642
+ closing: "}}"
2643
+ };
2644
+ function Lt(a, s) {
2645
+ return a.includes(Wr.opening) ? Object.keys(s).reduce(
2646
+ (c, m) => c.replace(
2647
+ `${Wr.opening}${m}${Wr.closing}`,
2648
+ s[m]
2649
+ ),
2650
+ a
2651
+ ) : a;
2652
+ }
2653
+ const Br = ({
2654
+ as: a,
2655
+ t: s,
2656
+ tokens: l,
2657
+ variant: c,
2658
+ className: m,
2659
+ children: A
2660
+ }) => {
2661
+ const M = on(), S = a || "p";
2662
+ return /* @__PURE__ */ d.jsxs(
2663
+ S,
2664
+ {
2665
+ className: Ce(
2666
+ "sid-text",
2667
+ `sid-text--${a}`,
2668
+ an(c),
2669
+ m
2670
+ ),
2671
+ children: [
2672
+ l ? Lt(M[s], l) : M[s],
2673
+ A || null
2674
+ ]
2675
+ }
2676
+ );
2677
+ };
2678
+ var sn = "iokgmp1";
2679
+ function kt({
2680
+ width: a,
2681
+ height: s,
2682
+ minHeight: l,
2683
+ maxHeight: c,
2684
+ minWidth: m,
2685
+ maxWidth: A
2686
+ }) {
2687
+ return /* @__PURE__ */ d.jsx(
2688
+ "div",
2689
+ {
2690
+ className: sn,
2691
+ style: {
2692
+ width: a,
2693
+ height: s,
2694
+ minHeight: l,
2695
+ maxHeight: c,
2696
+ minWidth: m,
2697
+ maxWidth: A
2698
+ }
2699
+ }
2700
+ );
2701
+ }
2702
+ function un() {
2703
+ return /* @__PURE__ */ d.jsx(Kr, { children: /* @__PURE__ */ d.jsx(At, {}) });
2704
+ }
2705
+ function wn() {
2706
+ return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2707
+ /* @__PURE__ */ d.jsxs(Gr, { space: "2", children: [
2708
+ /* @__PURE__ */ d.jsx(kt, { width: "75%", height: 24 }),
2709
+ /* @__PURE__ */ d.jsx(kt, { width: "50%", height: 16 })
2710
+ ] }),
2711
+ /* @__PURE__ */ d.jsx(un, {})
2712
+ ] });
2713
+ }
2714
+ const yr = (a) => /* @__PURE__ */ d.jsx(Br, { ...a });
2715
+ function ln({ type: a }) {
2716
+ return /* @__PURE__ */ d.jsx(Kr, { variant: a === "warning" ? "blue" : "red", shouldAnimate: !1, children: /* @__PURE__ */ d.jsx(Ia, {}) });
2717
+ }
2718
+ function zn({ type: a }) {
2719
+ return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2720
+ /* @__PURE__ */ d.jsxs(Gr, { space: "0.25", children: [
2721
+ /* @__PURE__ */ d.jsx(
2722
+ yr,
2723
+ {
2724
+ as: "h1",
2725
+ variant: { size: "2xl-title", weight: "bold" },
2726
+ t: "error.title"
2727
+ }
2728
+ ),
2729
+ /* @__PURE__ */ d.jsx(
2730
+ yr,
2731
+ {
2732
+ as: "h2",
2733
+ t: "error.detail",
2734
+ variant: { color: "contrast", weight: "semibold" }
2735
+ }
2736
+ )
2737
+ ] }),
2738
+ /* @__PURE__ */ d.jsx(ln, { type: a })
2739
+ ] });
2740
+ }
2741
+ const cn = () => /* @__PURE__ */ d.jsx(Kr, { children: /* @__PURE__ */ d.jsx(
2742
+ "svg",
2743
+ {
2744
+ width: "21",
2745
+ height: "18",
2746
+ viewBox: "0 0 21 18",
2747
+ fill: "none",
2748
+ xmlns: "http://www.w3.org/2000/svg",
2749
+ children: /* @__PURE__ */ d.jsx(
2750
+ "path",
2751
+ {
2752
+ fillRule: "evenodd",
2753
+ clipRule: "evenodd",
2754
+ 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",
2755
+ fill: "white"
2756
+ }
2757
+ )
2758
+ }
2759
+ ) });
2760
+ function En() {
2761
+ return /* @__PURE__ */ d.jsxs("article", { "data-testid": "sid-form-success-state", children: [
2762
+ /* @__PURE__ */ d.jsx(
2763
+ yr,
2764
+ {
2765
+ as: "h1",
2766
+ t: "success.title",
2767
+ variant: { size: "2xl-title", weight: "bold" }
2768
+ }
2769
+ ),
2770
+ /* @__PURE__ */ d.jsx(
2771
+ yr,
2772
+ {
2773
+ as: "h2",
2774
+ t: "success.details",
2775
+ variant: { color: "contrast", weight: "semibold" }
2776
+ }
2777
+ ),
2778
+ /* @__PURE__ */ d.jsx(cn, {})
2779
+ ] });
2780
+ }
2781
+ var fn = "_8vopmj0", dn = "_8vopmj2";
2782
+ const X = {
2783
+ "footer.text": "Top-tier security by SlashID",
2784
+ "initial.title": "Logging you in...",
2785
+ "initial.details": "Please follow the on-screen instructions.",
2786
+ "recover.password.title": "Reset password",
2787
+ "recover.password.details": "Enter your new password.",
2788
+ "recover.password.input.password.label": "Password",
2789
+ "recover.password.input.confirmPassword.label": "Confirm password",
2790
+ "recover.password.input.placeholder": "Type your new password",
2791
+ "recover.password.submit": "Reset password",
2792
+ "recover.password.validation.passwordsDoNotMatch": "Passwords do not match",
2793
+ "recover.password.validation.length": "8-256 characters required",
2794
+ "recover.password.validation.password_variants": "Contains word 'password'",
2795
+ "recover.password.validation.admin_variants": "Contains word 'admin'",
2796
+ "recover.password.validation.user_variants": "Contains word 'user'",
2797
+ "recover.password.validation.alphanumeric_sequences_1": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2798
+ "recover.password.validation.alphanumeric_sequences_2": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2799
+ "recover.password.validation.numeric_sequences_ascending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2800
+ "recover.password.validation.numeric_subsequences_ascending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2801
+ "recover.password.validation.numeric_sequences_descending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2802
+ "recover.password.validation.numeric_subsequences_descending": "Illegal sequence: {{ILLEGAL_SEQUENCE}}",
2803
+ "recover.password.validation.common_password_xkcd": "Common password",
2804
+ "success.title": "All done!",
2805
+ "success.details": "Please return to the website.",
2806
+ "error.title": "Something went wrong...",
2807
+ "error.detail": "Please log in again."
2808
+ }, hn = {
2809
+ en: X,
2810
+ ja: {
2811
+ "footer.text": X["footer.text"],
2812
+ "initial.title": "ログイン処理を行っています。",
2813
+ "initial.details": "処理完了後、画面は自動で切り替わります。",
2814
+ "success.title": "認証が完了しました!",
2815
+ "success.details": "このページを閉じて、元のページへ戻ってください。",
2816
+ "recover.password.title": X["recover.password.title"],
2817
+ "recover.password.details": X["recover.password.details"],
2818
+ "recover.password.input.password.label": X["recover.password.input.password.label"],
2819
+ "recover.password.input.confirmPassword.label": X["recover.password.input.confirmPassword.label"],
2820
+ "recover.password.input.placeholder": X["recover.password.input.placeholder"],
2821
+ "recover.password.submit": X["recover.password.submit"],
2822
+ "recover.password.validation.passwordsDoNotMatch": X["recover.password.validation.passwordsDoNotMatch"],
2823
+ "recover.password.validation.length": X["recover.password.validation.length"],
2824
+ "recover.password.validation.password_variants": X["recover.password.validation.password_variants"],
2825
+ "recover.password.validation.admin_variants": X["recover.password.validation.admin_variants"],
2826
+ "recover.password.validation.user_variants": X["recover.password.validation.user_variants"],
2827
+ "recover.password.validation.alphanumeric_sequences_1": X["recover.password.validation.alphanumeric_sequences_1"],
2828
+ "recover.password.validation.alphanumeric_sequences_2": X["recover.password.validation.alphanumeric_sequences_2"],
2829
+ "recover.password.validation.numeric_sequences_ascending": X["recover.password.validation.numeric_sequences_ascending"],
2830
+ "recover.password.validation.numeric_subsequences_ascending": X["recover.password.validation.numeric_subsequences_ascending"],
2831
+ "recover.password.validation.numeric_sequences_descending": X["recover.password.validation.numeric_sequences_descending"],
2832
+ "recover.password.validation.numeric_subsequences_descending": X["recover.password.validation.numeric_subsequences_descending"],
2833
+ "recover.password.validation.common_password_xkcd": X["recover.password.validation.common_password_xkcd"],
2834
+ "error.title": X["error.title"],
2835
+ "error.detail": "再度ログインをしてください。"
2836
+ }
2837
+ }, pn = (a) => (s) => hn[a][s], vn = {
2838
+ logo: /* @__PURE__ */ d.jsx(Fa, {}),
2839
+ language: "en",
2840
+ state: "initial",
2841
+ sdk: void 0
2842
+ }, _n = se.createContext(
2843
+ vn
2844
+ ), Ft = () => se.useContext(_n);
2845
+ function bn() {
2846
+ const { language: a } = Ft();
2847
+ return se.useMemo(() => pn(a), [a]);
2848
+ }
2849
+ function mn(a) {
2850
+ return `recover.password.validation.${a.failedRules[0].name}`;
2851
+ }
2852
+ function yn({
2853
+ errorEvent: a,
2854
+ password: s
2855
+ }) {
2856
+ const l = a.failedRules[0];
2857
+ let c = "";
2858
+ if (l.matchType === "must_not_match") {
2859
+ const m = l.regexp.exec(s);
2860
+ c = m !== null ? m[0] : "";
2861
+ }
2862
+ return c ? {
2863
+ ILLEGAL_SEQUENCE: c
2864
+ } : {};
2865
+ }
2866
+ function xn({ message: a }) {
2867
+ return /* @__PURE__ */ d.jsx("span", { className: dn, children: a });
2868
+ }
2869
+ function Rn() {
2870
+ const a = bn(), { sdk: s } = Ft(), [l, c] = se.useState(""), [m, A] = se.useState(""), [M, S] = se.useState(null), [C, F] = se.useState("initial");
2871
+ se.useEffect(() => {
2872
+ const V = (le) => {
2873
+ S(
2874
+ Lt(
2875
+ a(mn(le)),
2876
+ yn({ errorEvent: le, password: l })
2877
+ )
2878
+ ), F("initial");
2879
+ };
2880
+ return s == null || s.subscribe("invalidPasswordSubmitted", V), () => {
2881
+ s == null || s.unsubscribe("invalidPasswordSubmitted", V);
2882
+ };
2883
+ }, [a, s, l, S]);
2884
+ const N = (V) => {
2885
+ if (V.preventDefault(), !!s) {
2886
+ if (!l || l !== m) {
2887
+ S(a("recover.password.validation.passwordsDoNotMatch"));
2888
+ return;
2889
+ }
2890
+ s.publish("passwordSubmitted", l), F("submitting");
2891
+ }
2892
+ }, H = (V) => {
2893
+ c(V.target.value), S(null);
2894
+ }, ne = (V) => {
2895
+ A(V.target.value), S(null);
2896
+ };
2897
+ return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2898
+ /* @__PURE__ */ d.jsxs(Gr, { space: "0.25", children: [
2899
+ /* @__PURE__ */ d.jsx(Br, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
2900
+ /* @__PURE__ */ d.jsx(Br, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
2901
+ ] }),
2902
+ /* @__PURE__ */ d.jsxs("form", { onSubmit: N, children: [
2903
+ /* @__PURE__ */ d.jsxs("div", { className: fn, children: [
2904
+ /* @__PURE__ */ d.jsx(
2905
+ Et,
2906
+ {
2907
+ id: "password-input",
2908
+ label: a("recover.password.input.password.label"),
2909
+ placeholder: a("recover.password.input.placeholder"),
2910
+ name: "password",
2911
+ value: l ?? "",
2912
+ onChange: H,
2913
+ error: !!M,
2914
+ autoComplete: "new-password"
2915
+ }
2916
+ ),
2917
+ /* @__PURE__ */ d.jsx(
2918
+ Et,
2919
+ {
2920
+ id: "password-input-confirm",
2921
+ label: a("recover.password.input.confirmPassword.label"),
2922
+ placeholder: a("recover.password.input.placeholder"),
2923
+ name: "passwordConfirm",
2924
+ value: m ?? "",
2925
+ onChange: ne,
2926
+ className: Nt({ marginTop: "4" }),
2927
+ error: !!M,
2928
+ autoComplete: "new-password"
2929
+ }
2930
+ ),
2931
+ M && /* @__PURE__ */ d.jsx(xn, { message: M })
2932
+ ] }),
2933
+ /* @__PURE__ */ d.jsx(
2934
+ Dt,
2935
+ {
2936
+ type: "submit",
2937
+ variant: "primary",
2938
+ testId: "sid-form-initial-submit-button",
2939
+ disabled: C === "submitting",
2940
+ loading: C === "submitting",
2941
+ children: a("recover.password.submit")
2942
+ }
2943
+ )
2944
+ ] })
2945
+ ] });
2946
+ }
2947
+ export {
2948
+ zn as Error,
2949
+ wn as Initial,
2950
+ Rn as Recover,
2951
+ En as Success,
2952
+ Cn as TextProvider,
2953
+ gn as ThemeRoot
2954
+ };
2955
+ //# sourceMappingURL=main.js.map