@magmamath/frontend-config 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,3096 +1,5 @@
1
1
  import { createEvent, restore } from 'effector';
2
-
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJS = (cb, mod) => function __require() {
10
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
-
29
- // ../../node_modules/react/cjs/react.production.min.js
30
- var require_react_production_min = __commonJS({
31
- "../../node_modules/react/cjs/react.production.min.js"(exports) {
32
- var l = Symbol.for("react.element");
33
- var n = Symbol.for("react.portal");
34
- var p = Symbol.for("react.fragment");
35
- var q = Symbol.for("react.strict_mode");
36
- var r = Symbol.for("react.profiler");
37
- var t = Symbol.for("react.provider");
38
- var u = Symbol.for("react.context");
39
- var v = Symbol.for("react.forward_ref");
40
- var w = Symbol.for("react.suspense");
41
- var x = Symbol.for("react.memo");
42
- var y = Symbol.for("react.lazy");
43
- var z = Symbol.iterator;
44
- function A(a) {
45
- if (null === a || "object" !== typeof a) return null;
46
- a = z && a[z] || a["@@iterator"];
47
- return "function" === typeof a ? a : null;
48
- }
49
- var B = { isMounted: function() {
50
- return false;
51
- }, enqueueForceUpdate: function() {
52
- }, enqueueReplaceState: function() {
53
- }, enqueueSetState: function() {
54
- } };
55
- var C = Object.assign;
56
- var D = {};
57
- function E(a, b, e) {
58
- this.props = a;
59
- this.context = b;
60
- this.refs = D;
61
- this.updater = e || B;
62
- }
63
- E.prototype.isReactComponent = {};
64
- E.prototype.setState = function(a, b) {
65
- if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
66
- this.updater.enqueueSetState(this, a, b, "setState");
67
- };
68
- E.prototype.forceUpdate = function(a) {
69
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
70
- };
71
- function F() {
72
- }
73
- F.prototype = E.prototype;
74
- function G(a, b, e) {
75
- this.props = a;
76
- this.context = b;
77
- this.refs = D;
78
- this.updater = e || B;
79
- }
80
- var H = G.prototype = new F();
81
- H.constructor = G;
82
- C(H, E.prototype);
83
- H.isPureReactComponent = true;
84
- var I = Array.isArray;
85
- var J = Object.prototype.hasOwnProperty;
86
- var K = { current: null };
87
- var L = { key: true, ref: true, __self: true, __source: true };
88
- function M(a, b, e) {
89
- var d, c = {}, k = null, h = null;
90
- if (null != b) for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
91
- var g = arguments.length - 2;
92
- if (1 === g) c.children = e;
93
- else if (1 < g) {
94
- for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
95
- c.children = f;
96
- }
97
- if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
98
- return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current };
99
- }
100
- function N(a, b) {
101
- return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
102
- }
103
- function O(a) {
104
- return "object" === typeof a && null !== a && a.$$typeof === l;
105
- }
106
- function escape(a) {
107
- var b = { "=": "=0", ":": "=2" };
108
- return "$" + a.replace(/[=:]/g, function(a2) {
109
- return b[a2];
110
- });
111
- }
112
- var P = /\/+/g;
113
- function Q(a, b) {
114
- return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
115
- }
116
- function R(a, b, e, d, c) {
117
- var k = typeof a;
118
- if ("undefined" === k || "boolean" === k) a = null;
119
- var h = false;
120
- if (null === a) h = true;
121
- else switch (k) {
122
- case "string":
123
- case "number":
124
- h = true;
125
- break;
126
- case "object":
127
- switch (a.$$typeof) {
128
- case l:
129
- case n:
130
- h = true;
131
- }
132
- }
133
- if (h) return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) {
134
- return a2;
135
- })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
136
- h = 0;
137
- d = "" === d ? "." : d + ":";
138
- if (I(a)) for (var g = 0; g < a.length; g++) {
139
- k = a[g];
140
- var f = d + Q(k, g);
141
- h += R(k, b, e, f, c);
142
- }
143
- else if (f = A(a), "function" === typeof f) for (a = f.call(a), g = 0; !(k = a.next()).done; ) k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
144
- else if ("object" === k) throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
145
- return h;
146
- }
147
- function S(a, b, e) {
148
- if (null == a) return a;
149
- var d = [], c = 0;
150
- R(a, d, "", "", function(a2) {
151
- return b.call(e, a2, c++);
152
- });
153
- return d;
154
- }
155
- function T(a) {
156
- if (-1 === a._status) {
157
- var b = a._result;
158
- b = b();
159
- b.then(function(b2) {
160
- if (0 === a._status || -1 === a._status) a._status = 1, a._result = b2;
161
- }, function(b2) {
162
- if (0 === a._status || -1 === a._status) a._status = 2, a._result = b2;
163
- });
164
- -1 === a._status && (a._status = 0, a._result = b);
165
- }
166
- if (1 === a._status) return a._result.default;
167
- throw a._result;
168
- }
169
- var U = { current: null };
170
- var V = { transition: null };
171
- var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
172
- function X() {
173
- throw Error("act(...) is not supported in production builds of React.");
174
- }
175
- exports.Children = { map: S, forEach: function(a, b, e) {
176
- S(a, function() {
177
- b.apply(this, arguments);
178
- }, e);
179
- }, count: function(a) {
180
- var b = 0;
181
- S(a, function() {
182
- b++;
183
- });
184
- return b;
185
- }, toArray: function(a) {
186
- return S(a, function(a2) {
187
- return a2;
188
- }) || [];
189
- }, only: function(a) {
190
- if (!O(a)) throw Error("React.Children.only expected to receive a single React element child.");
191
- return a;
192
- } };
193
- exports.Component = E;
194
- exports.Fragment = p;
195
- exports.Profiler = r;
196
- exports.PureComponent = G;
197
- exports.StrictMode = q;
198
- exports.Suspense = w;
199
- exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
200
- exports.act = X;
201
- exports.cloneElement = function(a, b, e) {
202
- if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
203
- var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
204
- if (null != b) {
205
- void 0 !== b.ref && (k = b.ref, h = K.current);
206
- void 0 !== b.key && (c = "" + b.key);
207
- if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
208
- for (f in b) J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
209
- }
210
- var f = arguments.length - 2;
211
- if (1 === f) d.children = e;
212
- else if (1 < f) {
213
- g = Array(f);
214
- for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
215
- d.children = g;
216
- }
217
- return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h };
218
- };
219
- exports.createContext = function(a) {
220
- a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
221
- a.Provider = { $$typeof: t, _context: a };
222
- return a.Consumer = a;
223
- };
224
- exports.createElement = M;
225
- exports.createFactory = function(a) {
226
- var b = M.bind(null, a);
227
- b.type = a;
228
- return b;
229
- };
230
- exports.createRef = function() {
231
- return { current: null };
232
- };
233
- exports.forwardRef = function(a) {
234
- return { $$typeof: v, render: a };
235
- };
236
- exports.isValidElement = O;
237
- exports.lazy = function(a) {
238
- return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T };
239
- };
240
- exports.memo = function(a, b) {
241
- return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
242
- };
243
- exports.startTransition = function(a) {
244
- var b = V.transition;
245
- V.transition = {};
246
- try {
247
- a();
248
- } finally {
249
- V.transition = b;
250
- }
251
- };
252
- exports.unstable_act = X;
253
- exports.useCallback = function(a, b) {
254
- return U.current.useCallback(a, b);
255
- };
256
- exports.useContext = function(a) {
257
- return U.current.useContext(a);
258
- };
259
- exports.useDebugValue = function() {
260
- };
261
- exports.useDeferredValue = function(a) {
262
- return U.current.useDeferredValue(a);
263
- };
264
- exports.useEffect = function(a, b) {
265
- return U.current.useEffect(a, b);
266
- };
267
- exports.useId = function() {
268
- return U.current.useId();
269
- };
270
- exports.useImperativeHandle = function(a, b, e) {
271
- return U.current.useImperativeHandle(a, b, e);
272
- };
273
- exports.useInsertionEffect = function(a, b) {
274
- return U.current.useInsertionEffect(a, b);
275
- };
276
- exports.useLayoutEffect = function(a, b) {
277
- return U.current.useLayoutEffect(a, b);
278
- };
279
- exports.useMemo = function(a, b) {
280
- return U.current.useMemo(a, b);
281
- };
282
- exports.useReducer = function(a, b, e) {
283
- return U.current.useReducer(a, b, e);
284
- };
285
- exports.useRef = function(a) {
286
- return U.current.useRef(a);
287
- };
288
- exports.useState = function(a) {
289
- return U.current.useState(a);
290
- };
291
- exports.useSyncExternalStore = function(a, b, e) {
292
- return U.current.useSyncExternalStore(a, b, e);
293
- };
294
- exports.useTransition = function() {
295
- return U.current.useTransition();
296
- };
297
- exports.version = "18.3.1";
298
- }
299
- });
300
-
301
- // ../../node_modules/react/cjs/react.development.js
302
- var require_react_development = __commonJS({
303
- "../../node_modules/react/cjs/react.development.js"(exports, module) {
304
- if (process.env.NODE_ENV !== "production") {
305
- (function() {
306
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
307
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
308
- }
309
- var ReactVersion = "18.3.1";
310
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
311
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
312
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
313
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
314
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
315
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
316
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
317
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
318
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
319
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
320
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
321
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
322
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
323
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
324
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
325
- function getIteratorFn(maybeIterable) {
326
- if (maybeIterable === null || typeof maybeIterable !== "object") {
327
- return null;
328
- }
329
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
330
- if (typeof maybeIterator === "function") {
331
- return maybeIterator;
332
- }
333
- return null;
334
- }
335
- var ReactCurrentDispatcher = {
336
- /**
337
- * @internal
338
- * @type {ReactComponent}
339
- */
340
- current: null
341
- };
342
- var ReactCurrentBatchConfig = {
343
- transition: null
344
- };
345
- var ReactCurrentActQueue = {
346
- current: null,
347
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
348
- isBatchingLegacy: false,
349
- didScheduleLegacyUpdate: false
350
- };
351
- var ReactCurrentOwner = {
352
- /**
353
- * @internal
354
- * @type {ReactComponent}
355
- */
356
- current: null
357
- };
358
- var ReactDebugCurrentFrame = {};
359
- var currentExtraStackFrame = null;
360
- function setExtraStackFrame(stack) {
361
- {
362
- currentExtraStackFrame = stack;
363
- }
364
- }
365
- {
366
- ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
367
- {
368
- currentExtraStackFrame = stack;
369
- }
370
- };
371
- ReactDebugCurrentFrame.getCurrentStack = null;
372
- ReactDebugCurrentFrame.getStackAddendum = function() {
373
- var stack = "";
374
- if (currentExtraStackFrame) {
375
- stack += currentExtraStackFrame;
376
- }
377
- var impl = ReactDebugCurrentFrame.getCurrentStack;
378
- if (impl) {
379
- stack += impl() || "";
380
- }
381
- return stack;
382
- };
383
- }
384
- var enableScopeAPI = false;
385
- var enableCacheElement = false;
386
- var enableTransitionTracing = false;
387
- var enableLegacyHidden = false;
388
- var enableDebugTracing = false;
389
- var ReactSharedInternals = {
390
- ReactCurrentDispatcher,
391
- ReactCurrentBatchConfig,
392
- ReactCurrentOwner
393
- };
394
- {
395
- ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
396
- ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
397
- }
398
- function warn(format) {
399
- {
400
- {
401
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
402
- args[_key - 1] = arguments[_key];
403
- }
404
- printWarning("warn", format, args);
405
- }
406
- }
407
- }
408
- function error(format) {
409
- {
410
- {
411
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
412
- args[_key2 - 1] = arguments[_key2];
413
- }
414
- printWarning("error", format, args);
415
- }
416
- }
417
- }
418
- function printWarning(level, format, args) {
419
- {
420
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
421
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
422
- if (stack !== "") {
423
- format += "%s";
424
- args = args.concat([stack]);
425
- }
426
- var argsWithFormat = args.map(function(item) {
427
- return String(item);
428
- });
429
- argsWithFormat.unshift("Warning: " + format);
430
- Function.prototype.apply.call(console[level], console, argsWithFormat);
431
- }
432
- }
433
- var didWarnStateUpdateForUnmountedComponent = {};
434
- function warnNoop(publicInstance, callerName) {
435
- {
436
- var _constructor = publicInstance.constructor;
437
- var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
438
- var warningKey = componentName + "." + callerName;
439
- if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
440
- return;
441
- }
442
- error("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.", callerName, componentName);
443
- didWarnStateUpdateForUnmountedComponent[warningKey] = true;
444
- }
445
- }
446
- var ReactNoopUpdateQueue = {
447
- /**
448
- * Checks whether or not this composite component is mounted.
449
- * @param {ReactClass} publicInstance The instance we want to test.
450
- * @return {boolean} True if mounted, false otherwise.
451
- * @protected
452
- * @final
453
- */
454
- isMounted: function(publicInstance) {
455
- return false;
456
- },
457
- /**
458
- * Forces an update. This should only be invoked when it is known with
459
- * certainty that we are **not** in a DOM transaction.
460
- *
461
- * You may want to call this when you know that some deeper aspect of the
462
- * component's state has changed but `setState` was not called.
463
- *
464
- * This will not invoke `shouldComponentUpdate`, but it will invoke
465
- * `componentWillUpdate` and `componentDidUpdate`.
466
- *
467
- * @param {ReactClass} publicInstance The instance that should rerender.
468
- * @param {?function} callback Called after component is updated.
469
- * @param {?string} callerName name of the calling function in the public API.
470
- * @internal
471
- */
472
- enqueueForceUpdate: function(publicInstance, callback, callerName) {
473
- warnNoop(publicInstance, "forceUpdate");
474
- },
475
- /**
476
- * Replaces all of the state. Always use this or `setState` to mutate state.
477
- * You should treat `this.state` as immutable.
478
- *
479
- * There is no guarantee that `this.state` will be immediately updated, so
480
- * accessing `this.state` after calling this method may return the old value.
481
- *
482
- * @param {ReactClass} publicInstance The instance that should rerender.
483
- * @param {object} completeState Next state.
484
- * @param {?function} callback Called after component is updated.
485
- * @param {?string} callerName name of the calling function in the public API.
486
- * @internal
487
- */
488
- enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
489
- warnNoop(publicInstance, "replaceState");
490
- },
491
- /**
492
- * Sets a subset of the state. This only exists because _pendingState is
493
- * internal. This provides a merging strategy that is not available to deep
494
- * properties which is confusing. TODO: Expose pendingState or don't use it
495
- * during the merge.
496
- *
497
- * @param {ReactClass} publicInstance The instance that should rerender.
498
- * @param {object} partialState Next partial state to be merged with state.
499
- * @param {?function} callback Called after component is updated.
500
- * @param {?string} Name of the calling function in the public API.
501
- * @internal
502
- */
503
- enqueueSetState: function(publicInstance, partialState, callback, callerName) {
504
- warnNoop(publicInstance, "setState");
505
- }
506
- };
507
- var assign = Object.assign;
508
- var emptyObject = {};
509
- {
510
- Object.freeze(emptyObject);
511
- }
512
- function Component(props, context, updater) {
513
- this.props = props;
514
- this.context = context;
515
- this.refs = emptyObject;
516
- this.updater = updater || ReactNoopUpdateQueue;
517
- }
518
- Component.prototype.isReactComponent = {};
519
- Component.prototype.setState = function(partialState, callback) {
520
- if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
521
- throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
522
- }
523
- this.updater.enqueueSetState(this, partialState, callback, "setState");
524
- };
525
- Component.prototype.forceUpdate = function(callback) {
526
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
527
- };
528
- {
529
- var deprecatedAPIs = {
530
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
531
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
532
- };
533
- var defineDeprecationWarning = function(methodName, info) {
534
- Object.defineProperty(Component.prototype, methodName, {
535
- get: function() {
536
- warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
537
- return void 0;
538
- }
539
- });
540
- };
541
- for (var fnName in deprecatedAPIs) {
542
- if (deprecatedAPIs.hasOwnProperty(fnName)) {
543
- defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
544
- }
545
- }
546
- }
547
- function ComponentDummy() {
548
- }
549
- ComponentDummy.prototype = Component.prototype;
550
- function PureComponent(props, context, updater) {
551
- this.props = props;
552
- this.context = context;
553
- this.refs = emptyObject;
554
- this.updater = updater || ReactNoopUpdateQueue;
555
- }
556
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
557
- pureComponentPrototype.constructor = PureComponent;
558
- assign(pureComponentPrototype, Component.prototype);
559
- pureComponentPrototype.isPureReactComponent = true;
560
- function createRef() {
561
- var refObject = {
562
- current: null
563
- };
564
- {
565
- Object.seal(refObject);
566
- }
567
- return refObject;
568
- }
569
- var isArrayImpl = Array.isArray;
570
- function isArray(a) {
571
- return isArrayImpl(a);
572
- }
573
- function typeName(value) {
574
- {
575
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
576
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
577
- return type;
578
- }
579
- }
580
- function willCoercionThrow(value) {
581
- {
582
- try {
583
- testStringCoercion(value);
584
- return false;
585
- } catch (e) {
586
- return true;
587
- }
588
- }
589
- }
590
- function testStringCoercion(value) {
591
- return "" + value;
592
- }
593
- function checkKeyStringCoercion(value) {
594
- {
595
- if (willCoercionThrow(value)) {
596
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
597
- return testStringCoercion(value);
598
- }
599
- }
600
- }
601
- function getWrappedName(outerType, innerType, wrapperName) {
602
- var displayName = outerType.displayName;
603
- if (displayName) {
604
- return displayName;
605
- }
606
- var functionName = innerType.displayName || innerType.name || "";
607
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
608
- }
609
- function getContextName(type) {
610
- return type.displayName || "Context";
611
- }
612
- function getComponentNameFromType(type) {
613
- if (type == null) {
614
- return null;
615
- }
616
- {
617
- if (typeof type.tag === "number") {
618
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
619
- }
620
- }
621
- if (typeof type === "function") {
622
- return type.displayName || type.name || null;
623
- }
624
- if (typeof type === "string") {
625
- return type;
626
- }
627
- switch (type) {
628
- case REACT_FRAGMENT_TYPE:
629
- return "Fragment";
630
- case REACT_PORTAL_TYPE:
631
- return "Portal";
632
- case REACT_PROFILER_TYPE:
633
- return "Profiler";
634
- case REACT_STRICT_MODE_TYPE:
635
- return "StrictMode";
636
- case REACT_SUSPENSE_TYPE:
637
- return "Suspense";
638
- case REACT_SUSPENSE_LIST_TYPE:
639
- return "SuspenseList";
640
- }
641
- if (typeof type === "object") {
642
- switch (type.$$typeof) {
643
- case REACT_CONTEXT_TYPE:
644
- var context = type;
645
- return getContextName(context) + ".Consumer";
646
- case REACT_PROVIDER_TYPE:
647
- var provider = type;
648
- return getContextName(provider._context) + ".Provider";
649
- case REACT_FORWARD_REF_TYPE:
650
- return getWrappedName(type, type.render, "ForwardRef");
651
- case REACT_MEMO_TYPE:
652
- var outerName = type.displayName || null;
653
- if (outerName !== null) {
654
- return outerName;
655
- }
656
- return getComponentNameFromType(type.type) || "Memo";
657
- case REACT_LAZY_TYPE: {
658
- var lazyComponent = type;
659
- var payload = lazyComponent._payload;
660
- var init = lazyComponent._init;
661
- try {
662
- return getComponentNameFromType(init(payload));
663
- } catch (x) {
664
- return null;
665
- }
666
- }
667
- }
668
- }
669
- return null;
670
- }
671
- var hasOwnProperty = Object.prototype.hasOwnProperty;
672
- var RESERVED_PROPS = {
673
- key: true,
674
- ref: true,
675
- __self: true,
676
- __source: true
677
- };
678
- var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
679
- {
680
- didWarnAboutStringRefs = {};
681
- }
682
- function hasValidRef(config) {
683
- {
684
- if (hasOwnProperty.call(config, "ref")) {
685
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
686
- if (getter && getter.isReactWarning) {
687
- return false;
688
- }
689
- }
690
- }
691
- return config.ref !== void 0;
692
- }
693
- function hasValidKey(config) {
694
- {
695
- if (hasOwnProperty.call(config, "key")) {
696
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
697
- if (getter && getter.isReactWarning) {
698
- return false;
699
- }
700
- }
701
- }
702
- return config.key !== void 0;
703
- }
704
- function defineKeyPropWarningGetter(props, displayName) {
705
- var warnAboutAccessingKey = function() {
706
- {
707
- if (!specialPropKeyWarningShown) {
708
- specialPropKeyWarningShown = true;
709
- error("%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)", displayName);
710
- }
711
- }
712
- };
713
- warnAboutAccessingKey.isReactWarning = true;
714
- Object.defineProperty(props, "key", {
715
- get: warnAboutAccessingKey,
716
- configurable: true
717
- });
718
- }
719
- function defineRefPropWarningGetter(props, displayName) {
720
- var warnAboutAccessingRef = function() {
721
- {
722
- if (!specialPropRefWarningShown) {
723
- specialPropRefWarningShown = true;
724
- error("%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)", displayName);
725
- }
726
- }
727
- };
728
- warnAboutAccessingRef.isReactWarning = true;
729
- Object.defineProperty(props, "ref", {
730
- get: warnAboutAccessingRef,
731
- configurable: true
732
- });
733
- }
734
- function warnIfStringRefCannotBeAutoConverted(config) {
735
- {
736
- if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
737
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
738
- if (!didWarnAboutStringRefs[componentName]) {
739
- error('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', componentName, config.ref);
740
- didWarnAboutStringRefs[componentName] = true;
741
- }
742
- }
743
- }
744
- }
745
- var ReactElement = function(type, key, ref, self, source, owner, props) {
746
- var element = {
747
- // This tag allows us to uniquely identify this as a React Element
748
- $$typeof: REACT_ELEMENT_TYPE,
749
- // Built-in properties that belong on the element
750
- type,
751
- key,
752
- ref,
753
- props,
754
- // Record the component responsible for creating this element.
755
- _owner: owner
756
- };
757
- {
758
- element._store = {};
759
- Object.defineProperty(element._store, "validated", {
760
- configurable: false,
761
- enumerable: false,
762
- writable: true,
763
- value: false
764
- });
765
- Object.defineProperty(element, "_self", {
766
- configurable: false,
767
- enumerable: false,
768
- writable: false,
769
- value: self
770
- });
771
- Object.defineProperty(element, "_source", {
772
- configurable: false,
773
- enumerable: false,
774
- writable: false,
775
- value: source
776
- });
777
- if (Object.freeze) {
778
- Object.freeze(element.props);
779
- Object.freeze(element);
780
- }
781
- }
782
- return element;
783
- };
784
- function createElement(type, config, children) {
785
- var propName;
786
- var props = {};
787
- var key = null;
788
- var ref = null;
789
- var self = null;
790
- var source = null;
791
- if (config != null) {
792
- if (hasValidRef(config)) {
793
- ref = config.ref;
794
- {
795
- warnIfStringRefCannotBeAutoConverted(config);
796
- }
797
- }
798
- if (hasValidKey(config)) {
799
- {
800
- checkKeyStringCoercion(config.key);
801
- }
802
- key = "" + config.key;
803
- }
804
- self = config.__self === void 0 ? null : config.__self;
805
- source = config.__source === void 0 ? null : config.__source;
806
- for (propName in config) {
807
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
808
- props[propName] = config[propName];
809
- }
810
- }
811
- }
812
- var childrenLength = arguments.length - 2;
813
- if (childrenLength === 1) {
814
- props.children = children;
815
- } else if (childrenLength > 1) {
816
- var childArray = Array(childrenLength);
817
- for (var i = 0; i < childrenLength; i++) {
818
- childArray[i] = arguments[i + 2];
819
- }
820
- {
821
- if (Object.freeze) {
822
- Object.freeze(childArray);
823
- }
824
- }
825
- props.children = childArray;
826
- }
827
- if (type && type.defaultProps) {
828
- var defaultProps = type.defaultProps;
829
- for (propName in defaultProps) {
830
- if (props[propName] === void 0) {
831
- props[propName] = defaultProps[propName];
832
- }
833
- }
834
- }
835
- {
836
- if (key || ref) {
837
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
838
- if (key) {
839
- defineKeyPropWarningGetter(props, displayName);
840
- }
841
- if (ref) {
842
- defineRefPropWarningGetter(props, displayName);
843
- }
844
- }
845
- }
846
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
847
- }
848
- function cloneAndReplaceKey(oldElement, newKey) {
849
- var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
850
- return newElement;
851
- }
852
- function cloneElement(element, config, children) {
853
- if (element === null || element === void 0) {
854
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
855
- }
856
- var propName;
857
- var props = assign({}, element.props);
858
- var key = element.key;
859
- var ref = element.ref;
860
- var self = element._self;
861
- var source = element._source;
862
- var owner = element._owner;
863
- if (config != null) {
864
- if (hasValidRef(config)) {
865
- ref = config.ref;
866
- owner = ReactCurrentOwner.current;
867
- }
868
- if (hasValidKey(config)) {
869
- {
870
- checkKeyStringCoercion(config.key);
871
- }
872
- key = "" + config.key;
873
- }
874
- var defaultProps;
875
- if (element.type && element.type.defaultProps) {
876
- defaultProps = element.type.defaultProps;
877
- }
878
- for (propName in config) {
879
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
880
- if (config[propName] === void 0 && defaultProps !== void 0) {
881
- props[propName] = defaultProps[propName];
882
- } else {
883
- props[propName] = config[propName];
884
- }
885
- }
886
- }
887
- }
888
- var childrenLength = arguments.length - 2;
889
- if (childrenLength === 1) {
890
- props.children = children;
891
- } else if (childrenLength > 1) {
892
- var childArray = Array(childrenLength);
893
- for (var i = 0; i < childrenLength; i++) {
894
- childArray[i] = arguments[i + 2];
895
- }
896
- props.children = childArray;
897
- }
898
- return ReactElement(element.type, key, ref, self, source, owner, props);
899
- }
900
- function isValidElement(object) {
901
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
902
- }
903
- var SEPARATOR = ".";
904
- var SUBSEPARATOR = ":";
905
- function escape(key) {
906
- var escapeRegex = /[=:]/g;
907
- var escaperLookup = {
908
- "=": "=0",
909
- ":": "=2"
910
- };
911
- var escapedString = key.replace(escapeRegex, function(match) {
912
- return escaperLookup[match];
913
- });
914
- return "$" + escapedString;
915
- }
916
- var didWarnAboutMaps = false;
917
- var userProvidedKeyEscapeRegex = /\/+/g;
918
- function escapeUserProvidedKey(text) {
919
- return text.replace(userProvidedKeyEscapeRegex, "$&/");
920
- }
921
- function getElementKey(element, index) {
922
- if (typeof element === "object" && element !== null && element.key != null) {
923
- {
924
- checkKeyStringCoercion(element.key);
925
- }
926
- return escape("" + element.key);
927
- }
928
- return index.toString(36);
929
- }
930
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
931
- var type = typeof children;
932
- if (type === "undefined" || type === "boolean") {
933
- children = null;
934
- }
935
- var invokeCallback = false;
936
- if (children === null) {
937
- invokeCallback = true;
938
- } else {
939
- switch (type) {
940
- case "string":
941
- case "number":
942
- invokeCallback = true;
943
- break;
944
- case "object":
945
- switch (children.$$typeof) {
946
- case REACT_ELEMENT_TYPE:
947
- case REACT_PORTAL_TYPE:
948
- invokeCallback = true;
949
- }
950
- }
951
- }
952
- if (invokeCallback) {
953
- var _child = children;
954
- var mappedChild = callback(_child);
955
- var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
956
- if (isArray(mappedChild)) {
957
- var escapedChildKey = "";
958
- if (childKey != null) {
959
- escapedChildKey = escapeUserProvidedKey(childKey) + "/";
960
- }
961
- mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
962
- return c;
963
- });
964
- } else if (mappedChild != null) {
965
- if (isValidElement(mappedChild)) {
966
- {
967
- if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
968
- checkKeyStringCoercion(mappedChild.key);
969
- }
970
- }
971
- mappedChild = cloneAndReplaceKey(
972
- mappedChild,
973
- // Keep both the (mapped) and old keys if they differ, just as
974
- // traverseAllChildren used to do for objects as children
975
- escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
976
- (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
977
- // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
978
- // eslint-disable-next-line react-internal/safe-string-coercion
979
- escapeUserProvidedKey("" + mappedChild.key) + "/"
980
- ) : "") + childKey
981
- );
982
- }
983
- array.push(mappedChild);
984
- }
985
- return 1;
986
- }
987
- var child;
988
- var nextName;
989
- var subtreeCount = 0;
990
- var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
991
- if (isArray(children)) {
992
- for (var i = 0; i < children.length; i++) {
993
- child = children[i];
994
- nextName = nextNamePrefix + getElementKey(child, i);
995
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
996
- }
997
- } else {
998
- var iteratorFn = getIteratorFn(children);
999
- if (typeof iteratorFn === "function") {
1000
- var iterableChildren = children;
1001
- {
1002
- if (iteratorFn === iterableChildren.entries) {
1003
- if (!didWarnAboutMaps) {
1004
- warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
1005
- }
1006
- didWarnAboutMaps = true;
1007
- }
1008
- }
1009
- var iterator = iteratorFn.call(iterableChildren);
1010
- var step;
1011
- var ii = 0;
1012
- while (!(step = iterator.next()).done) {
1013
- child = step.value;
1014
- nextName = nextNamePrefix + getElementKey(child, ii++);
1015
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
1016
- }
1017
- } else if (type === "object") {
1018
- var childrenString = String(children);
1019
- throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
1020
- }
1021
- }
1022
- return subtreeCount;
1023
- }
1024
- function mapChildren(children, func, context) {
1025
- if (children == null) {
1026
- return children;
1027
- }
1028
- var result = [];
1029
- var count = 0;
1030
- mapIntoArray(children, result, "", "", function(child) {
1031
- return func.call(context, child, count++);
1032
- });
1033
- return result;
1034
- }
1035
- function countChildren(children) {
1036
- var n = 0;
1037
- mapChildren(children, function() {
1038
- n++;
1039
- });
1040
- return n;
1041
- }
1042
- function forEachChildren(children, forEachFunc, forEachContext) {
1043
- mapChildren(children, function() {
1044
- forEachFunc.apply(this, arguments);
1045
- }, forEachContext);
1046
- }
1047
- function toArray(children) {
1048
- return mapChildren(children, function(child) {
1049
- return child;
1050
- }) || [];
1051
- }
1052
- function onlyChild(children) {
1053
- if (!isValidElement(children)) {
1054
- throw new Error("React.Children.only expected to receive a single React element child.");
1055
- }
1056
- return children;
1057
- }
1058
- function createContext(defaultValue) {
1059
- var context = {
1060
- $$typeof: REACT_CONTEXT_TYPE,
1061
- // As a workaround to support multiple concurrent renderers, we categorize
1062
- // some renderers as primary and others as secondary. We only expect
1063
- // there to be two concurrent renderers at most: React Native (primary) and
1064
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
1065
- // Secondary renderers store their context values on separate fields.
1066
- _currentValue: defaultValue,
1067
- _currentValue2: defaultValue,
1068
- // Used to track how many concurrent renderers this context currently
1069
- // supports within in a single renderer. Such as parallel server rendering.
1070
- _threadCount: 0,
1071
- // These are circular
1072
- Provider: null,
1073
- Consumer: null,
1074
- // Add these to use same hidden class in VM as ServerContext
1075
- _defaultValue: null,
1076
- _globalName: null
1077
- };
1078
- context.Provider = {
1079
- $$typeof: REACT_PROVIDER_TYPE,
1080
- _context: context
1081
- };
1082
- var hasWarnedAboutUsingNestedContextConsumers = false;
1083
- var hasWarnedAboutUsingConsumerProvider = false;
1084
- var hasWarnedAboutDisplayNameOnConsumer = false;
1085
- {
1086
- var Consumer = {
1087
- $$typeof: REACT_CONTEXT_TYPE,
1088
- _context: context
1089
- };
1090
- Object.defineProperties(Consumer, {
1091
- Provider: {
1092
- get: function() {
1093
- if (!hasWarnedAboutUsingConsumerProvider) {
1094
- hasWarnedAboutUsingConsumerProvider = true;
1095
- error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
1096
- }
1097
- return context.Provider;
1098
- },
1099
- set: function(_Provider) {
1100
- context.Provider = _Provider;
1101
- }
1102
- },
1103
- _currentValue: {
1104
- get: function() {
1105
- return context._currentValue;
1106
- },
1107
- set: function(_currentValue) {
1108
- context._currentValue = _currentValue;
1109
- }
1110
- },
1111
- _currentValue2: {
1112
- get: function() {
1113
- return context._currentValue2;
1114
- },
1115
- set: function(_currentValue2) {
1116
- context._currentValue2 = _currentValue2;
1117
- }
1118
- },
1119
- _threadCount: {
1120
- get: function() {
1121
- return context._threadCount;
1122
- },
1123
- set: function(_threadCount) {
1124
- context._threadCount = _threadCount;
1125
- }
1126
- },
1127
- Consumer: {
1128
- get: function() {
1129
- if (!hasWarnedAboutUsingNestedContextConsumers) {
1130
- hasWarnedAboutUsingNestedContextConsumers = true;
1131
- error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
1132
- }
1133
- return context.Consumer;
1134
- }
1135
- },
1136
- displayName: {
1137
- get: function() {
1138
- return context.displayName;
1139
- },
1140
- set: function(displayName) {
1141
- if (!hasWarnedAboutDisplayNameOnConsumer) {
1142
- warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
1143
- hasWarnedAboutDisplayNameOnConsumer = true;
1144
- }
1145
- }
1146
- }
1147
- });
1148
- context.Consumer = Consumer;
1149
- }
1150
- {
1151
- context._currentRenderer = null;
1152
- context._currentRenderer2 = null;
1153
- }
1154
- return context;
1155
- }
1156
- var Uninitialized = -1;
1157
- var Pending = 0;
1158
- var Resolved = 1;
1159
- var Rejected = 2;
1160
- function lazyInitializer(payload) {
1161
- if (payload._status === Uninitialized) {
1162
- var ctor = payload._result;
1163
- var thenable = ctor();
1164
- thenable.then(function(moduleObject2) {
1165
- if (payload._status === Pending || payload._status === Uninitialized) {
1166
- var resolved = payload;
1167
- resolved._status = Resolved;
1168
- resolved._result = moduleObject2;
1169
- }
1170
- }, function(error2) {
1171
- if (payload._status === Pending || payload._status === Uninitialized) {
1172
- var rejected = payload;
1173
- rejected._status = Rejected;
1174
- rejected._result = error2;
1175
- }
1176
- });
1177
- if (payload._status === Uninitialized) {
1178
- var pending = payload;
1179
- pending._status = Pending;
1180
- pending._result = thenable;
1181
- }
1182
- }
1183
- if (payload._status === Resolved) {
1184
- var moduleObject = payload._result;
1185
- {
1186
- if (moduleObject === void 0) {
1187
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
1188
- }
1189
- }
1190
- {
1191
- if (!("default" in moduleObject)) {
1192
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
1193
- }
1194
- }
1195
- return moduleObject.default;
1196
- } else {
1197
- throw payload._result;
1198
- }
1199
- }
1200
- function lazy(ctor) {
1201
- var payload = {
1202
- // We use these fields to store the result.
1203
- _status: Uninitialized,
1204
- _result: ctor
1205
- };
1206
- var lazyType = {
1207
- $$typeof: REACT_LAZY_TYPE,
1208
- _payload: payload,
1209
- _init: lazyInitializer
1210
- };
1211
- {
1212
- var defaultProps;
1213
- var propTypes;
1214
- Object.defineProperties(lazyType, {
1215
- defaultProps: {
1216
- configurable: true,
1217
- get: function() {
1218
- return defaultProps;
1219
- },
1220
- set: function(newDefaultProps) {
1221
- error("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.");
1222
- defaultProps = newDefaultProps;
1223
- Object.defineProperty(lazyType, "defaultProps", {
1224
- enumerable: true
1225
- });
1226
- }
1227
- },
1228
- propTypes: {
1229
- configurable: true,
1230
- get: function() {
1231
- return propTypes;
1232
- },
1233
- set: function(newPropTypes) {
1234
- error("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.");
1235
- propTypes = newPropTypes;
1236
- Object.defineProperty(lazyType, "propTypes", {
1237
- enumerable: true
1238
- });
1239
- }
1240
- }
1241
- });
1242
- }
1243
- return lazyType;
1244
- }
1245
- function forwardRef(render) {
1246
- {
1247
- if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
1248
- error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
1249
- } else if (typeof render !== "function") {
1250
- error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
1251
- } else {
1252
- if (render.length !== 0 && render.length !== 2) {
1253
- error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
1254
- }
1255
- }
1256
- if (render != null) {
1257
- if (render.defaultProps != null || render.propTypes != null) {
1258
- error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
1259
- }
1260
- }
1261
- }
1262
- var elementType = {
1263
- $$typeof: REACT_FORWARD_REF_TYPE,
1264
- render
1265
- };
1266
- {
1267
- var ownName;
1268
- Object.defineProperty(elementType, "displayName", {
1269
- enumerable: false,
1270
- configurable: true,
1271
- get: function() {
1272
- return ownName;
1273
- },
1274
- set: function(name) {
1275
- ownName = name;
1276
- if (!render.name && !render.displayName) {
1277
- render.displayName = name;
1278
- }
1279
- }
1280
- });
1281
- }
1282
- return elementType;
1283
- }
1284
- var REACT_MODULE_REFERENCE;
1285
- {
1286
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
1287
- }
1288
- function isValidElementType(type) {
1289
- if (typeof type === "string" || typeof type === "function") {
1290
- return true;
1291
- }
1292
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
1293
- return true;
1294
- }
1295
- if (typeof type === "object" && type !== null) {
1296
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
1297
- // types supported by any Flight configuration anywhere since
1298
- // we don't know which Flight build this will end up being used
1299
- // with.
1300
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
1301
- return true;
1302
- }
1303
- }
1304
- return false;
1305
- }
1306
- function memo(type, compare) {
1307
- {
1308
- if (!isValidElementType(type)) {
1309
- error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
1310
- }
1311
- }
1312
- var elementType = {
1313
- $$typeof: REACT_MEMO_TYPE,
1314
- type,
1315
- compare: compare === void 0 ? null : compare
1316
- };
1317
- {
1318
- var ownName;
1319
- Object.defineProperty(elementType, "displayName", {
1320
- enumerable: false,
1321
- configurable: true,
1322
- get: function() {
1323
- return ownName;
1324
- },
1325
- set: function(name) {
1326
- ownName = name;
1327
- if (!type.name && !type.displayName) {
1328
- type.displayName = name;
1329
- }
1330
- }
1331
- });
1332
- }
1333
- return elementType;
1334
- }
1335
- function resolveDispatcher() {
1336
- var dispatcher = ReactCurrentDispatcher.current;
1337
- {
1338
- if (dispatcher === null) {
1339
- error("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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
1340
- }
1341
- }
1342
- return dispatcher;
1343
- }
1344
- function useContext(Context) {
1345
- var dispatcher = resolveDispatcher();
1346
- {
1347
- if (Context._context !== void 0) {
1348
- var realContext = Context._context;
1349
- if (realContext.Consumer === Context) {
1350
- error("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?");
1351
- } else if (realContext.Provider === Context) {
1352
- error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
1353
- }
1354
- }
1355
- }
1356
- return dispatcher.useContext(Context);
1357
- }
1358
- function useState(initialState) {
1359
- var dispatcher = resolveDispatcher();
1360
- return dispatcher.useState(initialState);
1361
- }
1362
- function useReducer(reducer, initialArg, init) {
1363
- var dispatcher = resolveDispatcher();
1364
- return dispatcher.useReducer(reducer, initialArg, init);
1365
- }
1366
- function useRef(initialValue) {
1367
- var dispatcher = resolveDispatcher();
1368
- return dispatcher.useRef(initialValue);
1369
- }
1370
- function useEffect(create, deps) {
1371
- var dispatcher = resolveDispatcher();
1372
- return dispatcher.useEffect(create, deps);
1373
- }
1374
- function useInsertionEffect(create, deps) {
1375
- var dispatcher = resolveDispatcher();
1376
- return dispatcher.useInsertionEffect(create, deps);
1377
- }
1378
- function useLayoutEffect(create, deps) {
1379
- var dispatcher = resolveDispatcher();
1380
- return dispatcher.useLayoutEffect(create, deps);
1381
- }
1382
- function useCallback(callback, deps) {
1383
- var dispatcher = resolveDispatcher();
1384
- return dispatcher.useCallback(callback, deps);
1385
- }
1386
- function useMemo(create, deps) {
1387
- var dispatcher = resolveDispatcher();
1388
- return dispatcher.useMemo(create, deps);
1389
- }
1390
- function useImperativeHandle(ref, create, deps) {
1391
- var dispatcher = resolveDispatcher();
1392
- return dispatcher.useImperativeHandle(ref, create, deps);
1393
- }
1394
- function useDebugValue(value, formatterFn) {
1395
- {
1396
- var dispatcher = resolveDispatcher();
1397
- return dispatcher.useDebugValue(value, formatterFn);
1398
- }
1399
- }
1400
- function useTransition() {
1401
- var dispatcher = resolveDispatcher();
1402
- return dispatcher.useTransition();
1403
- }
1404
- function useDeferredValue(value) {
1405
- var dispatcher = resolveDispatcher();
1406
- return dispatcher.useDeferredValue(value);
1407
- }
1408
- function useId() {
1409
- var dispatcher = resolveDispatcher();
1410
- return dispatcher.useId();
1411
- }
1412
- function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
1413
- var dispatcher = resolveDispatcher();
1414
- return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1415
- }
1416
- var disabledDepth = 0;
1417
- var prevLog;
1418
- var prevInfo;
1419
- var prevWarn;
1420
- var prevError;
1421
- var prevGroup;
1422
- var prevGroupCollapsed;
1423
- var prevGroupEnd;
1424
- function disabledLog() {
1425
- }
1426
- disabledLog.__reactDisabledLog = true;
1427
- function disableLogs() {
1428
- {
1429
- if (disabledDepth === 0) {
1430
- prevLog = console.log;
1431
- prevInfo = console.info;
1432
- prevWarn = console.warn;
1433
- prevError = console.error;
1434
- prevGroup = console.group;
1435
- prevGroupCollapsed = console.groupCollapsed;
1436
- prevGroupEnd = console.groupEnd;
1437
- var props = {
1438
- configurable: true,
1439
- enumerable: true,
1440
- value: disabledLog,
1441
- writable: true
1442
- };
1443
- Object.defineProperties(console, {
1444
- info: props,
1445
- log: props,
1446
- warn: props,
1447
- error: props,
1448
- group: props,
1449
- groupCollapsed: props,
1450
- groupEnd: props
1451
- });
1452
- }
1453
- disabledDepth++;
1454
- }
1455
- }
1456
- function reenableLogs() {
1457
- {
1458
- disabledDepth--;
1459
- if (disabledDepth === 0) {
1460
- var props = {
1461
- configurable: true,
1462
- enumerable: true,
1463
- writable: true
1464
- };
1465
- Object.defineProperties(console, {
1466
- log: assign({}, props, {
1467
- value: prevLog
1468
- }),
1469
- info: assign({}, props, {
1470
- value: prevInfo
1471
- }),
1472
- warn: assign({}, props, {
1473
- value: prevWarn
1474
- }),
1475
- error: assign({}, props, {
1476
- value: prevError
1477
- }),
1478
- group: assign({}, props, {
1479
- value: prevGroup
1480
- }),
1481
- groupCollapsed: assign({}, props, {
1482
- value: prevGroupCollapsed
1483
- }),
1484
- groupEnd: assign({}, props, {
1485
- value: prevGroupEnd
1486
- })
1487
- });
1488
- }
1489
- if (disabledDepth < 0) {
1490
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1491
- }
1492
- }
1493
- }
1494
- var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
1495
- var prefix;
1496
- function describeBuiltInComponentFrame(name, source, ownerFn) {
1497
- {
1498
- if (prefix === void 0) {
1499
- try {
1500
- throw Error();
1501
- } catch (x) {
1502
- var match = x.stack.trim().match(/\n( *(at )?)/);
1503
- prefix = match && match[1] || "";
1504
- }
1505
- }
1506
- return "\n" + prefix + name;
1507
- }
1508
- }
1509
- var reentry = false;
1510
- var componentFrameCache;
1511
- {
1512
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
1513
- componentFrameCache = new PossiblyWeakMap();
1514
- }
1515
- function describeNativeComponentFrame(fn, construct) {
1516
- if (!fn || reentry) {
1517
- return "";
1518
- }
1519
- {
1520
- var frame = componentFrameCache.get(fn);
1521
- if (frame !== void 0) {
1522
- return frame;
1523
- }
1524
- }
1525
- var control;
1526
- reentry = true;
1527
- var previousPrepareStackTrace = Error.prepareStackTrace;
1528
- Error.prepareStackTrace = void 0;
1529
- var previousDispatcher;
1530
- {
1531
- previousDispatcher = ReactCurrentDispatcher$1.current;
1532
- ReactCurrentDispatcher$1.current = null;
1533
- disableLogs();
1534
- }
1535
- try {
1536
- if (construct) {
1537
- var Fake = function() {
1538
- throw Error();
1539
- };
1540
- Object.defineProperty(Fake.prototype, "props", {
1541
- set: function() {
1542
- throw Error();
1543
- }
1544
- });
1545
- if (typeof Reflect === "object" && Reflect.construct) {
1546
- try {
1547
- Reflect.construct(Fake, []);
1548
- } catch (x) {
1549
- control = x;
1550
- }
1551
- Reflect.construct(fn, [], Fake);
1552
- } else {
1553
- try {
1554
- Fake.call();
1555
- } catch (x) {
1556
- control = x;
1557
- }
1558
- fn.call(Fake.prototype);
1559
- }
1560
- } else {
1561
- try {
1562
- throw Error();
1563
- } catch (x) {
1564
- control = x;
1565
- }
1566
- fn();
1567
- }
1568
- } catch (sample) {
1569
- if (sample && control && typeof sample.stack === "string") {
1570
- var sampleLines = sample.stack.split("\n");
1571
- var controlLines = control.stack.split("\n");
1572
- var s = sampleLines.length - 1;
1573
- var c = controlLines.length - 1;
1574
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
1575
- c--;
1576
- }
1577
- for (; s >= 1 && c >= 0; s--, c--) {
1578
- if (sampleLines[s] !== controlLines[c]) {
1579
- if (s !== 1 || c !== 1) {
1580
- do {
1581
- s--;
1582
- c--;
1583
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
1584
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
1585
- if (fn.displayName && _frame.includes("<anonymous>")) {
1586
- _frame = _frame.replace("<anonymous>", fn.displayName);
1587
- }
1588
- {
1589
- if (typeof fn === "function") {
1590
- componentFrameCache.set(fn, _frame);
1591
- }
1592
- }
1593
- return _frame;
1594
- }
1595
- } while (s >= 1 && c >= 0);
1596
- }
1597
- break;
1598
- }
1599
- }
1600
- }
1601
- } finally {
1602
- reentry = false;
1603
- {
1604
- ReactCurrentDispatcher$1.current = previousDispatcher;
1605
- reenableLogs();
1606
- }
1607
- Error.prepareStackTrace = previousPrepareStackTrace;
1608
- }
1609
- var name = fn ? fn.displayName || fn.name : "";
1610
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
1611
- {
1612
- if (typeof fn === "function") {
1613
- componentFrameCache.set(fn, syntheticFrame);
1614
- }
1615
- }
1616
- return syntheticFrame;
1617
- }
1618
- function describeFunctionComponentFrame(fn, source, ownerFn) {
1619
- {
1620
- return describeNativeComponentFrame(fn, false);
1621
- }
1622
- }
1623
- function shouldConstruct(Component2) {
1624
- var prototype = Component2.prototype;
1625
- return !!(prototype && prototype.isReactComponent);
1626
- }
1627
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1628
- if (type == null) {
1629
- return "";
1630
- }
1631
- if (typeof type === "function") {
1632
- {
1633
- return describeNativeComponentFrame(type, shouldConstruct(type));
1634
- }
1635
- }
1636
- if (typeof type === "string") {
1637
- return describeBuiltInComponentFrame(type);
1638
- }
1639
- switch (type) {
1640
- case REACT_SUSPENSE_TYPE:
1641
- return describeBuiltInComponentFrame("Suspense");
1642
- case REACT_SUSPENSE_LIST_TYPE:
1643
- return describeBuiltInComponentFrame("SuspenseList");
1644
- }
1645
- if (typeof type === "object") {
1646
- switch (type.$$typeof) {
1647
- case REACT_FORWARD_REF_TYPE:
1648
- return describeFunctionComponentFrame(type.render);
1649
- case REACT_MEMO_TYPE:
1650
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
1651
- case REACT_LAZY_TYPE: {
1652
- var lazyComponent = type;
1653
- var payload = lazyComponent._payload;
1654
- var init = lazyComponent._init;
1655
- try {
1656
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
1657
- } catch (x) {
1658
- }
1659
- }
1660
- }
1661
- }
1662
- return "";
1663
- }
1664
- var loggedTypeFailures = {};
1665
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1666
- function setCurrentlyValidatingElement(element) {
1667
- {
1668
- if (element) {
1669
- var owner = element._owner;
1670
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1671
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1672
- } else {
1673
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1674
- }
1675
- }
1676
- }
1677
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
1678
- {
1679
- var has = Function.call.bind(hasOwnProperty);
1680
- for (var typeSpecName in typeSpecs) {
1681
- if (has(typeSpecs, typeSpecName)) {
1682
- var error$1 = void 0;
1683
- try {
1684
- if (typeof typeSpecs[typeSpecName] !== "function") {
1685
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1686
- err.name = "Invariant Violation";
1687
- throw err;
1688
- }
1689
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1690
- } catch (ex) {
1691
- error$1 = ex;
1692
- }
1693
- if (error$1 && !(error$1 instanceof Error)) {
1694
- setCurrentlyValidatingElement(element);
1695
- error("%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).", componentName || "React class", location, typeSpecName, typeof error$1);
1696
- setCurrentlyValidatingElement(null);
1697
- }
1698
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1699
- loggedTypeFailures[error$1.message] = true;
1700
- setCurrentlyValidatingElement(element);
1701
- error("Failed %s type: %s", location, error$1.message);
1702
- setCurrentlyValidatingElement(null);
1703
- }
1704
- }
1705
- }
1706
- }
1707
- }
1708
- function setCurrentlyValidatingElement$1(element) {
1709
- {
1710
- if (element) {
1711
- var owner = element._owner;
1712
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1713
- setExtraStackFrame(stack);
1714
- } else {
1715
- setExtraStackFrame(null);
1716
- }
1717
- }
1718
- }
1719
- var propTypesMisspellWarningShown;
1720
- {
1721
- propTypesMisspellWarningShown = false;
1722
- }
1723
- function getDeclarationErrorAddendum() {
1724
- if (ReactCurrentOwner.current) {
1725
- var name = getComponentNameFromType(ReactCurrentOwner.current.type);
1726
- if (name) {
1727
- return "\n\nCheck the render method of `" + name + "`.";
1728
- }
1729
- }
1730
- return "";
1731
- }
1732
- function getSourceInfoErrorAddendum(source) {
1733
- if (source !== void 0) {
1734
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
1735
- var lineNumber = source.lineNumber;
1736
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
1737
- }
1738
- return "";
1739
- }
1740
- function getSourceInfoErrorAddendumForProps(elementProps) {
1741
- if (elementProps !== null && elementProps !== void 0) {
1742
- return getSourceInfoErrorAddendum(elementProps.__source);
1743
- }
1744
- return "";
1745
- }
1746
- var ownerHasKeyUseWarning = {};
1747
- function getCurrentComponentErrorInfo(parentType) {
1748
- var info = getDeclarationErrorAddendum();
1749
- if (!info) {
1750
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
1751
- if (parentName) {
1752
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1753
- }
1754
- }
1755
- return info;
1756
- }
1757
- function validateExplicitKey(element, parentType) {
1758
- if (!element._store || element._store.validated || element.key != null) {
1759
- return;
1760
- }
1761
- element._store.validated = true;
1762
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1763
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1764
- return;
1765
- }
1766
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
1767
- var childOwner = "";
1768
- if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
1769
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
1770
- }
1771
- {
1772
- setCurrentlyValidatingElement$1(element);
1773
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
1774
- setCurrentlyValidatingElement$1(null);
1775
- }
1776
- }
1777
- function validateChildKeys(node, parentType) {
1778
- if (typeof node !== "object") {
1779
- return;
1780
- }
1781
- if (isArray(node)) {
1782
- for (var i = 0; i < node.length; i++) {
1783
- var child = node[i];
1784
- if (isValidElement(child)) {
1785
- validateExplicitKey(child, parentType);
1786
- }
1787
- }
1788
- } else if (isValidElement(node)) {
1789
- if (node._store) {
1790
- node._store.validated = true;
1791
- }
1792
- } else if (node) {
1793
- var iteratorFn = getIteratorFn(node);
1794
- if (typeof iteratorFn === "function") {
1795
- if (iteratorFn !== node.entries) {
1796
- var iterator = iteratorFn.call(node);
1797
- var step;
1798
- while (!(step = iterator.next()).done) {
1799
- if (isValidElement(step.value)) {
1800
- validateExplicitKey(step.value, parentType);
1801
- }
1802
- }
1803
- }
1804
- }
1805
- }
1806
- }
1807
- function validatePropTypes(element) {
1808
- {
1809
- var type = element.type;
1810
- if (type === null || type === void 0 || typeof type === "string") {
1811
- return;
1812
- }
1813
- var propTypes;
1814
- if (typeof type === "function") {
1815
- propTypes = type.propTypes;
1816
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
1817
- // Inner props are checked in the reconciler.
1818
- type.$$typeof === REACT_MEMO_TYPE)) {
1819
- propTypes = type.propTypes;
1820
- } else {
1821
- return;
1822
- }
1823
- if (propTypes) {
1824
- var name = getComponentNameFromType(type);
1825
- checkPropTypes(propTypes, element.props, "prop", name, element);
1826
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
1827
- propTypesMisspellWarningShown = true;
1828
- var _name = getComponentNameFromType(type);
1829
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1830
- }
1831
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
1832
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1833
- }
1834
- }
1835
- }
1836
- function validateFragmentProps(fragment) {
1837
- {
1838
- var keys = Object.keys(fragment.props);
1839
- for (var i = 0; i < keys.length; i++) {
1840
- var key = keys[i];
1841
- if (key !== "children" && key !== "key") {
1842
- setCurrentlyValidatingElement$1(fragment);
1843
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
1844
- setCurrentlyValidatingElement$1(null);
1845
- break;
1846
- }
1847
- }
1848
- if (fragment.ref !== null) {
1849
- setCurrentlyValidatingElement$1(fragment);
1850
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
1851
- setCurrentlyValidatingElement$1(null);
1852
- }
1853
- }
1854
- }
1855
- function createElementWithValidation(type, props, children) {
1856
- var validType = isValidElementType(type);
1857
- if (!validType) {
1858
- var info = "";
1859
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
1860
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1861
- }
1862
- var sourceInfo = getSourceInfoErrorAddendumForProps(props);
1863
- if (sourceInfo) {
1864
- info += sourceInfo;
1865
- } else {
1866
- info += getDeclarationErrorAddendum();
1867
- }
1868
- var typeString;
1869
- if (type === null) {
1870
- typeString = "null";
1871
- } else if (isArray(type)) {
1872
- typeString = "array";
1873
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
1874
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
1875
- info = " Did you accidentally export a JSX literal instead of a component?";
1876
- } else {
1877
- typeString = typeof type;
1878
- }
1879
- {
1880
- error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
1881
- }
1882
- }
1883
- var element = createElement.apply(this, arguments);
1884
- if (element == null) {
1885
- return element;
1886
- }
1887
- if (validType) {
1888
- for (var i = 2; i < arguments.length; i++) {
1889
- validateChildKeys(arguments[i], type);
1890
- }
1891
- }
1892
- if (type === REACT_FRAGMENT_TYPE) {
1893
- validateFragmentProps(element);
1894
- } else {
1895
- validatePropTypes(element);
1896
- }
1897
- return element;
1898
- }
1899
- var didWarnAboutDeprecatedCreateFactory = false;
1900
- function createFactoryWithValidation(type) {
1901
- var validatedFactory = createElementWithValidation.bind(null, type);
1902
- validatedFactory.type = type;
1903
- {
1904
- if (!didWarnAboutDeprecatedCreateFactory) {
1905
- didWarnAboutDeprecatedCreateFactory = true;
1906
- warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
1907
- }
1908
- Object.defineProperty(validatedFactory, "type", {
1909
- enumerable: false,
1910
- get: function() {
1911
- warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
1912
- Object.defineProperty(this, "type", {
1913
- value: type
1914
- });
1915
- return type;
1916
- }
1917
- });
1918
- }
1919
- return validatedFactory;
1920
- }
1921
- function cloneElementWithValidation(element, props, children) {
1922
- var newElement = cloneElement.apply(this, arguments);
1923
- for (var i = 2; i < arguments.length; i++) {
1924
- validateChildKeys(arguments[i], newElement.type);
1925
- }
1926
- validatePropTypes(newElement);
1927
- return newElement;
1928
- }
1929
- function startTransition(scope, options) {
1930
- var prevTransition = ReactCurrentBatchConfig.transition;
1931
- ReactCurrentBatchConfig.transition = {};
1932
- var currentTransition = ReactCurrentBatchConfig.transition;
1933
- {
1934
- ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
1935
- }
1936
- try {
1937
- scope();
1938
- } finally {
1939
- ReactCurrentBatchConfig.transition = prevTransition;
1940
- {
1941
- if (prevTransition === null && currentTransition._updatedFibers) {
1942
- var updatedFibersCount = currentTransition._updatedFibers.size;
1943
- if (updatedFibersCount > 10) {
1944
- warn("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.");
1945
- }
1946
- currentTransition._updatedFibers.clear();
1947
- }
1948
- }
1949
- }
1950
- }
1951
- var didWarnAboutMessageChannel = false;
1952
- var enqueueTaskImpl = null;
1953
- function enqueueTask(task) {
1954
- if (enqueueTaskImpl === null) {
1955
- try {
1956
- var requireString = ("require" + Math.random()).slice(0, 7);
1957
- var nodeRequire = module && module[requireString];
1958
- enqueueTaskImpl = nodeRequire.call(module, "timers").setImmediate;
1959
- } catch (_err) {
1960
- enqueueTaskImpl = function(callback) {
1961
- {
1962
- if (didWarnAboutMessageChannel === false) {
1963
- didWarnAboutMessageChannel = true;
1964
- if (typeof MessageChannel === "undefined") {
1965
- error("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.");
1966
- }
1967
- }
1968
- }
1969
- var channel = new MessageChannel();
1970
- channel.port1.onmessage = callback;
1971
- channel.port2.postMessage(void 0);
1972
- };
1973
- }
1974
- }
1975
- return enqueueTaskImpl(task);
1976
- }
1977
- var actScopeDepth = 0;
1978
- var didWarnNoAwaitAct = false;
1979
- function act(callback) {
1980
- {
1981
- var prevActScopeDepth = actScopeDepth;
1982
- actScopeDepth++;
1983
- if (ReactCurrentActQueue.current === null) {
1984
- ReactCurrentActQueue.current = [];
1985
- }
1986
- var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
1987
- var result;
1988
- try {
1989
- ReactCurrentActQueue.isBatchingLegacy = true;
1990
- result = callback();
1991
- if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
1992
- var queue = ReactCurrentActQueue.current;
1993
- if (queue !== null) {
1994
- ReactCurrentActQueue.didScheduleLegacyUpdate = false;
1995
- flushActQueue(queue);
1996
- }
1997
- }
1998
- } catch (error2) {
1999
- popActScope(prevActScopeDepth);
2000
- throw error2;
2001
- } finally {
2002
- ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
2003
- }
2004
- if (result !== null && typeof result === "object" && typeof result.then === "function") {
2005
- var thenableResult = result;
2006
- var wasAwaited = false;
2007
- var thenable = {
2008
- then: function(resolve, reject) {
2009
- wasAwaited = true;
2010
- thenableResult.then(function(returnValue2) {
2011
- popActScope(prevActScopeDepth);
2012
- if (actScopeDepth === 0) {
2013
- recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
2014
- } else {
2015
- resolve(returnValue2);
2016
- }
2017
- }, function(error2) {
2018
- popActScope(prevActScopeDepth);
2019
- reject(error2);
2020
- });
2021
- }
2022
- };
2023
- {
2024
- if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
2025
- Promise.resolve().then(function() {
2026
- }).then(function() {
2027
- if (!wasAwaited) {
2028
- didWarnNoAwaitAct = true;
2029
- error("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 () => ...);");
2030
- }
2031
- });
2032
- }
2033
- }
2034
- return thenable;
2035
- } else {
2036
- var returnValue = result;
2037
- popActScope(prevActScopeDepth);
2038
- if (actScopeDepth === 0) {
2039
- var _queue = ReactCurrentActQueue.current;
2040
- if (_queue !== null) {
2041
- flushActQueue(_queue);
2042
- ReactCurrentActQueue.current = null;
2043
- }
2044
- var _thenable = {
2045
- then: function(resolve, reject) {
2046
- if (ReactCurrentActQueue.current === null) {
2047
- ReactCurrentActQueue.current = [];
2048
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2049
- } else {
2050
- resolve(returnValue);
2051
- }
2052
- }
2053
- };
2054
- return _thenable;
2055
- } else {
2056
- var _thenable2 = {
2057
- then: function(resolve, reject) {
2058
- resolve(returnValue);
2059
- }
2060
- };
2061
- return _thenable2;
2062
- }
2063
- }
2064
- }
2065
- }
2066
- function popActScope(prevActScopeDepth) {
2067
- {
2068
- if (prevActScopeDepth !== actScopeDepth - 1) {
2069
- error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
2070
- }
2071
- actScopeDepth = prevActScopeDepth;
2072
- }
2073
- }
2074
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
2075
- {
2076
- var queue = ReactCurrentActQueue.current;
2077
- if (queue !== null) {
2078
- try {
2079
- flushActQueue(queue);
2080
- enqueueTask(function() {
2081
- if (queue.length === 0) {
2082
- ReactCurrentActQueue.current = null;
2083
- resolve(returnValue);
2084
- } else {
2085
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2086
- }
2087
- });
2088
- } catch (error2) {
2089
- reject(error2);
2090
- }
2091
- } else {
2092
- resolve(returnValue);
2093
- }
2094
- }
2095
- }
2096
- var isFlushing = false;
2097
- function flushActQueue(queue) {
2098
- {
2099
- if (!isFlushing) {
2100
- isFlushing = true;
2101
- var i = 0;
2102
- try {
2103
- for (; i < queue.length; i++) {
2104
- var callback = queue[i];
2105
- do {
2106
- callback = callback(true);
2107
- } while (callback !== null);
2108
- }
2109
- queue.length = 0;
2110
- } catch (error2) {
2111
- queue = queue.slice(i + 1);
2112
- throw error2;
2113
- } finally {
2114
- isFlushing = false;
2115
- }
2116
- }
2117
- }
2118
- }
2119
- var createElement$1 = createElementWithValidation;
2120
- var cloneElement$1 = cloneElementWithValidation;
2121
- var createFactory = createFactoryWithValidation;
2122
- var Children = {
2123
- map: mapChildren,
2124
- forEach: forEachChildren,
2125
- count: countChildren,
2126
- toArray,
2127
- only: onlyChild
2128
- };
2129
- exports.Children = Children;
2130
- exports.Component = Component;
2131
- exports.Fragment = REACT_FRAGMENT_TYPE;
2132
- exports.Profiler = REACT_PROFILER_TYPE;
2133
- exports.PureComponent = PureComponent;
2134
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
2135
- exports.Suspense = REACT_SUSPENSE_TYPE;
2136
- exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
2137
- exports.act = act;
2138
- exports.cloneElement = cloneElement$1;
2139
- exports.createContext = createContext;
2140
- exports.createElement = createElement$1;
2141
- exports.createFactory = createFactory;
2142
- exports.createRef = createRef;
2143
- exports.forwardRef = forwardRef;
2144
- exports.isValidElement = isValidElement;
2145
- exports.lazy = lazy;
2146
- exports.memo = memo;
2147
- exports.startTransition = startTransition;
2148
- exports.unstable_act = act;
2149
- exports.useCallback = useCallback;
2150
- exports.useContext = useContext;
2151
- exports.useDebugValue = useDebugValue;
2152
- exports.useDeferredValue = useDeferredValue;
2153
- exports.useEffect = useEffect;
2154
- exports.useId = useId;
2155
- exports.useImperativeHandle = useImperativeHandle;
2156
- exports.useInsertionEffect = useInsertionEffect;
2157
- exports.useLayoutEffect = useLayoutEffect;
2158
- exports.useMemo = useMemo;
2159
- exports.useReducer = useReducer;
2160
- exports.useRef = useRef;
2161
- exports.useState = useState;
2162
- exports.useSyncExternalStore = useSyncExternalStore;
2163
- exports.useTransition = useTransition;
2164
- exports.version = ReactVersion;
2165
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
2166
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2167
- }
2168
- })();
2169
- }
2170
- }
2171
- });
2172
-
2173
- // ../../node_modules/react/index.js
2174
- var require_react = __commonJS({
2175
- "../../node_modules/react/index.js"(exports, module) {
2176
- if (process.env.NODE_ENV === "production") {
2177
- module.exports = require_react_production_min();
2178
- } else {
2179
- module.exports = require_react_development();
2180
- }
2181
- }
2182
- });
2183
-
2184
- // ../../node_modules/react/cjs/react-jsx-runtime.production.min.js
2185
- var require_react_jsx_runtime_production_min = __commonJS({
2186
- "../../node_modules/react/cjs/react-jsx-runtime.production.min.js"(exports) {
2187
- var f = require_react();
2188
- var k = Symbol.for("react.element");
2189
- var l = Symbol.for("react.fragment");
2190
- var m = Object.prototype.hasOwnProperty;
2191
- var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
2192
- var p = { key: true, ref: true, __self: true, __source: true };
2193
- function q(c, a, g) {
2194
- var b, d = {}, e = null, h = null;
2195
- void 0 !== g && (e = "" + g);
2196
- void 0 !== a.key && (e = "" + a.key);
2197
- void 0 !== a.ref && (h = a.ref);
2198
- for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
2199
- if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
2200
- return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
2201
- }
2202
- exports.Fragment = l;
2203
- exports.jsx = q;
2204
- exports.jsxs = q;
2205
- }
2206
- });
2207
-
2208
- // ../../node_modules/react/cjs/react-jsx-runtime.development.js
2209
- var require_react_jsx_runtime_development = __commonJS({
2210
- "../../node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
2211
- if (process.env.NODE_ENV !== "production") {
2212
- (function() {
2213
- var React = require_react();
2214
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
2215
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
2216
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
2217
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
2218
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2219
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
2220
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
2221
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
2222
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
2223
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
2224
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
2225
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
2226
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
2227
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
2228
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
2229
- function getIteratorFn(maybeIterable) {
2230
- if (maybeIterable === null || typeof maybeIterable !== "object") {
2231
- return null;
2232
- }
2233
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
2234
- if (typeof maybeIterator === "function") {
2235
- return maybeIterator;
2236
- }
2237
- return null;
2238
- }
2239
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2240
- function error(format) {
2241
- {
2242
- {
2243
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2244
- args[_key2 - 1] = arguments[_key2];
2245
- }
2246
- printWarning("error", format, args);
2247
- }
2248
- }
2249
- }
2250
- function printWarning(level, format, args) {
2251
- {
2252
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
2253
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
2254
- if (stack !== "") {
2255
- format += "%s";
2256
- args = args.concat([stack]);
2257
- }
2258
- var argsWithFormat = args.map(function(item) {
2259
- return String(item);
2260
- });
2261
- argsWithFormat.unshift("Warning: " + format);
2262
- Function.prototype.apply.call(console[level], console, argsWithFormat);
2263
- }
2264
- }
2265
- var enableScopeAPI = false;
2266
- var enableCacheElement = false;
2267
- var enableTransitionTracing = false;
2268
- var enableLegacyHidden = false;
2269
- var enableDebugTracing = false;
2270
- var REACT_MODULE_REFERENCE;
2271
- {
2272
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
2273
- }
2274
- function isValidElementType(type) {
2275
- if (typeof type === "string" || typeof type === "function") {
2276
- return true;
2277
- }
2278
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
2279
- return true;
2280
- }
2281
- if (typeof type === "object" && type !== null) {
2282
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
2283
- // types supported by any Flight configuration anywhere since
2284
- // we don't know which Flight build this will end up being used
2285
- // with.
2286
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
2287
- return true;
2288
- }
2289
- }
2290
- return false;
2291
- }
2292
- function getWrappedName(outerType, innerType, wrapperName) {
2293
- var displayName = outerType.displayName;
2294
- if (displayName) {
2295
- return displayName;
2296
- }
2297
- var functionName = innerType.displayName || innerType.name || "";
2298
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
2299
- }
2300
- function getContextName(type) {
2301
- return type.displayName || "Context";
2302
- }
2303
- function getComponentNameFromType(type) {
2304
- if (type == null) {
2305
- return null;
2306
- }
2307
- {
2308
- if (typeof type.tag === "number") {
2309
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
2310
- }
2311
- }
2312
- if (typeof type === "function") {
2313
- return type.displayName || type.name || null;
2314
- }
2315
- if (typeof type === "string") {
2316
- return type;
2317
- }
2318
- switch (type) {
2319
- case REACT_FRAGMENT_TYPE:
2320
- return "Fragment";
2321
- case REACT_PORTAL_TYPE:
2322
- return "Portal";
2323
- case REACT_PROFILER_TYPE:
2324
- return "Profiler";
2325
- case REACT_STRICT_MODE_TYPE:
2326
- return "StrictMode";
2327
- case REACT_SUSPENSE_TYPE:
2328
- return "Suspense";
2329
- case REACT_SUSPENSE_LIST_TYPE:
2330
- return "SuspenseList";
2331
- }
2332
- if (typeof type === "object") {
2333
- switch (type.$$typeof) {
2334
- case REACT_CONTEXT_TYPE:
2335
- var context = type;
2336
- return getContextName(context) + ".Consumer";
2337
- case REACT_PROVIDER_TYPE:
2338
- var provider = type;
2339
- return getContextName(provider._context) + ".Provider";
2340
- case REACT_FORWARD_REF_TYPE:
2341
- return getWrappedName(type, type.render, "ForwardRef");
2342
- case REACT_MEMO_TYPE:
2343
- var outerName = type.displayName || null;
2344
- if (outerName !== null) {
2345
- return outerName;
2346
- }
2347
- return getComponentNameFromType(type.type) || "Memo";
2348
- case REACT_LAZY_TYPE: {
2349
- var lazyComponent = type;
2350
- var payload = lazyComponent._payload;
2351
- var init = lazyComponent._init;
2352
- try {
2353
- return getComponentNameFromType(init(payload));
2354
- } catch (x) {
2355
- return null;
2356
- }
2357
- }
2358
- }
2359
- }
2360
- return null;
2361
- }
2362
- var assign = Object.assign;
2363
- var disabledDepth = 0;
2364
- var prevLog;
2365
- var prevInfo;
2366
- var prevWarn;
2367
- var prevError;
2368
- var prevGroup;
2369
- var prevGroupCollapsed;
2370
- var prevGroupEnd;
2371
- function disabledLog() {
2372
- }
2373
- disabledLog.__reactDisabledLog = true;
2374
- function disableLogs() {
2375
- {
2376
- if (disabledDepth === 0) {
2377
- prevLog = console.log;
2378
- prevInfo = console.info;
2379
- prevWarn = console.warn;
2380
- prevError = console.error;
2381
- prevGroup = console.group;
2382
- prevGroupCollapsed = console.groupCollapsed;
2383
- prevGroupEnd = console.groupEnd;
2384
- var props = {
2385
- configurable: true,
2386
- enumerable: true,
2387
- value: disabledLog,
2388
- writable: true
2389
- };
2390
- Object.defineProperties(console, {
2391
- info: props,
2392
- log: props,
2393
- warn: props,
2394
- error: props,
2395
- group: props,
2396
- groupCollapsed: props,
2397
- groupEnd: props
2398
- });
2399
- }
2400
- disabledDepth++;
2401
- }
2402
- }
2403
- function reenableLogs() {
2404
- {
2405
- disabledDepth--;
2406
- if (disabledDepth === 0) {
2407
- var props = {
2408
- configurable: true,
2409
- enumerable: true,
2410
- writable: true
2411
- };
2412
- Object.defineProperties(console, {
2413
- log: assign({}, props, {
2414
- value: prevLog
2415
- }),
2416
- info: assign({}, props, {
2417
- value: prevInfo
2418
- }),
2419
- warn: assign({}, props, {
2420
- value: prevWarn
2421
- }),
2422
- error: assign({}, props, {
2423
- value: prevError
2424
- }),
2425
- group: assign({}, props, {
2426
- value: prevGroup
2427
- }),
2428
- groupCollapsed: assign({}, props, {
2429
- value: prevGroupCollapsed
2430
- }),
2431
- groupEnd: assign({}, props, {
2432
- value: prevGroupEnd
2433
- })
2434
- });
2435
- }
2436
- if (disabledDepth < 0) {
2437
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2438
- }
2439
- }
2440
- }
2441
- var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
2442
- var prefix;
2443
- function describeBuiltInComponentFrame(name, source, ownerFn) {
2444
- {
2445
- if (prefix === void 0) {
2446
- try {
2447
- throw Error();
2448
- } catch (x) {
2449
- var match = x.stack.trim().match(/\n( *(at )?)/);
2450
- prefix = match && match[1] || "";
2451
- }
2452
- }
2453
- return "\n" + prefix + name;
2454
- }
2455
- }
2456
- var reentry = false;
2457
- var componentFrameCache;
2458
- {
2459
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
2460
- componentFrameCache = new PossiblyWeakMap();
2461
- }
2462
- function describeNativeComponentFrame(fn, construct) {
2463
- if (!fn || reentry) {
2464
- return "";
2465
- }
2466
- {
2467
- var frame = componentFrameCache.get(fn);
2468
- if (frame !== void 0) {
2469
- return frame;
2470
- }
2471
- }
2472
- var control;
2473
- reentry = true;
2474
- var previousPrepareStackTrace = Error.prepareStackTrace;
2475
- Error.prepareStackTrace = void 0;
2476
- var previousDispatcher;
2477
- {
2478
- previousDispatcher = ReactCurrentDispatcher.current;
2479
- ReactCurrentDispatcher.current = null;
2480
- disableLogs();
2481
- }
2482
- try {
2483
- if (construct) {
2484
- var Fake = function() {
2485
- throw Error();
2486
- };
2487
- Object.defineProperty(Fake.prototype, "props", {
2488
- set: function() {
2489
- throw Error();
2490
- }
2491
- });
2492
- if (typeof Reflect === "object" && Reflect.construct) {
2493
- try {
2494
- Reflect.construct(Fake, []);
2495
- } catch (x) {
2496
- control = x;
2497
- }
2498
- Reflect.construct(fn, [], Fake);
2499
- } else {
2500
- try {
2501
- Fake.call();
2502
- } catch (x) {
2503
- control = x;
2504
- }
2505
- fn.call(Fake.prototype);
2506
- }
2507
- } else {
2508
- try {
2509
- throw Error();
2510
- } catch (x) {
2511
- control = x;
2512
- }
2513
- fn();
2514
- }
2515
- } catch (sample) {
2516
- if (sample && control && typeof sample.stack === "string") {
2517
- var sampleLines = sample.stack.split("\n");
2518
- var controlLines = control.stack.split("\n");
2519
- var s = sampleLines.length - 1;
2520
- var c = controlLines.length - 1;
2521
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
2522
- c--;
2523
- }
2524
- for (; s >= 1 && c >= 0; s--, c--) {
2525
- if (sampleLines[s] !== controlLines[c]) {
2526
- if (s !== 1 || c !== 1) {
2527
- do {
2528
- s--;
2529
- c--;
2530
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
2531
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
2532
- if (fn.displayName && _frame.includes("<anonymous>")) {
2533
- _frame = _frame.replace("<anonymous>", fn.displayName);
2534
- }
2535
- {
2536
- if (typeof fn === "function") {
2537
- componentFrameCache.set(fn, _frame);
2538
- }
2539
- }
2540
- return _frame;
2541
- }
2542
- } while (s >= 1 && c >= 0);
2543
- }
2544
- break;
2545
- }
2546
- }
2547
- }
2548
- } finally {
2549
- reentry = false;
2550
- {
2551
- ReactCurrentDispatcher.current = previousDispatcher;
2552
- reenableLogs();
2553
- }
2554
- Error.prepareStackTrace = previousPrepareStackTrace;
2555
- }
2556
- var name = fn ? fn.displayName || fn.name : "";
2557
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
2558
- {
2559
- if (typeof fn === "function") {
2560
- componentFrameCache.set(fn, syntheticFrame);
2561
- }
2562
- }
2563
- return syntheticFrame;
2564
- }
2565
- function describeFunctionComponentFrame(fn, source, ownerFn) {
2566
- {
2567
- return describeNativeComponentFrame(fn, false);
2568
- }
2569
- }
2570
- function shouldConstruct(Component) {
2571
- var prototype = Component.prototype;
2572
- return !!(prototype && prototype.isReactComponent);
2573
- }
2574
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
2575
- if (type == null) {
2576
- return "";
2577
- }
2578
- if (typeof type === "function") {
2579
- {
2580
- return describeNativeComponentFrame(type, shouldConstruct(type));
2581
- }
2582
- }
2583
- if (typeof type === "string") {
2584
- return describeBuiltInComponentFrame(type);
2585
- }
2586
- switch (type) {
2587
- case REACT_SUSPENSE_TYPE:
2588
- return describeBuiltInComponentFrame("Suspense");
2589
- case REACT_SUSPENSE_LIST_TYPE:
2590
- return describeBuiltInComponentFrame("SuspenseList");
2591
- }
2592
- if (typeof type === "object") {
2593
- switch (type.$$typeof) {
2594
- case REACT_FORWARD_REF_TYPE:
2595
- return describeFunctionComponentFrame(type.render);
2596
- case REACT_MEMO_TYPE:
2597
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
2598
- case REACT_LAZY_TYPE: {
2599
- var lazyComponent = type;
2600
- var payload = lazyComponent._payload;
2601
- var init = lazyComponent._init;
2602
- try {
2603
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
2604
- } catch (x) {
2605
- }
2606
- }
2607
- }
2608
- }
2609
- return "";
2610
- }
2611
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2612
- var loggedTypeFailures = {};
2613
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
2614
- function setCurrentlyValidatingElement(element) {
2615
- {
2616
- if (element) {
2617
- var owner = element._owner;
2618
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2619
- ReactDebugCurrentFrame.setExtraStackFrame(stack);
2620
- } else {
2621
- ReactDebugCurrentFrame.setExtraStackFrame(null);
2622
- }
2623
- }
2624
- }
2625
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
2626
- {
2627
- var has = Function.call.bind(hasOwnProperty);
2628
- for (var typeSpecName in typeSpecs) {
2629
- if (has(typeSpecs, typeSpecName)) {
2630
- var error$1 = void 0;
2631
- try {
2632
- if (typeof typeSpecs[typeSpecName] !== "function") {
2633
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
2634
- err.name = "Invariant Violation";
2635
- throw err;
2636
- }
2637
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2638
- } catch (ex) {
2639
- error$1 = ex;
2640
- }
2641
- if (error$1 && !(error$1 instanceof Error)) {
2642
- setCurrentlyValidatingElement(element);
2643
- error("%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).", componentName || "React class", location, typeSpecName, typeof error$1);
2644
- setCurrentlyValidatingElement(null);
2645
- }
2646
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
2647
- loggedTypeFailures[error$1.message] = true;
2648
- setCurrentlyValidatingElement(element);
2649
- error("Failed %s type: %s", location, error$1.message);
2650
- setCurrentlyValidatingElement(null);
2651
- }
2652
- }
2653
- }
2654
- }
2655
- }
2656
- var isArrayImpl = Array.isArray;
2657
- function isArray(a) {
2658
- return isArrayImpl(a);
2659
- }
2660
- function typeName(value) {
2661
- {
2662
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
2663
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
2664
- return type;
2665
- }
2666
- }
2667
- function willCoercionThrow(value) {
2668
- {
2669
- try {
2670
- testStringCoercion(value);
2671
- return false;
2672
- } catch (e) {
2673
- return true;
2674
- }
2675
- }
2676
- }
2677
- function testStringCoercion(value) {
2678
- return "" + value;
2679
- }
2680
- function checkKeyStringCoercion(value) {
2681
- {
2682
- if (willCoercionThrow(value)) {
2683
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
2684
- return testStringCoercion(value);
2685
- }
2686
- }
2687
- }
2688
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
2689
- var RESERVED_PROPS = {
2690
- key: true,
2691
- ref: true,
2692
- __self: true,
2693
- __source: true
2694
- };
2695
- var specialPropKeyWarningShown;
2696
- var specialPropRefWarningShown;
2697
- function hasValidRef(config) {
2698
- {
2699
- if (hasOwnProperty.call(config, "ref")) {
2700
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
2701
- if (getter && getter.isReactWarning) {
2702
- return false;
2703
- }
2704
- }
2705
- }
2706
- return config.ref !== void 0;
2707
- }
2708
- function hasValidKey(config) {
2709
- {
2710
- if (hasOwnProperty.call(config, "key")) {
2711
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2712
- if (getter && getter.isReactWarning) {
2713
- return false;
2714
- }
2715
- }
2716
- }
2717
- return config.key !== void 0;
2718
- }
2719
- function warnIfStringRefCannotBeAutoConverted(config, self) {
2720
- {
2721
- if (typeof config.ref === "string" && ReactCurrentOwner.current && self) ;
2722
- }
2723
- }
2724
- function defineKeyPropWarningGetter(props, displayName) {
2725
- {
2726
- var warnAboutAccessingKey = function() {
2727
- if (!specialPropKeyWarningShown) {
2728
- specialPropKeyWarningShown = true;
2729
- error("%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)", displayName);
2730
- }
2731
- };
2732
- warnAboutAccessingKey.isReactWarning = true;
2733
- Object.defineProperty(props, "key", {
2734
- get: warnAboutAccessingKey,
2735
- configurable: true
2736
- });
2737
- }
2738
- }
2739
- function defineRefPropWarningGetter(props, displayName) {
2740
- {
2741
- var warnAboutAccessingRef = function() {
2742
- if (!specialPropRefWarningShown) {
2743
- specialPropRefWarningShown = true;
2744
- error("%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)", displayName);
2745
- }
2746
- };
2747
- warnAboutAccessingRef.isReactWarning = true;
2748
- Object.defineProperty(props, "ref", {
2749
- get: warnAboutAccessingRef,
2750
- configurable: true
2751
- });
2752
- }
2753
- }
2754
- var ReactElement = function(type, key, ref, self, source, owner, props) {
2755
- var element = {
2756
- // This tag allows us to uniquely identify this as a React Element
2757
- $$typeof: REACT_ELEMENT_TYPE,
2758
- // Built-in properties that belong on the element
2759
- type,
2760
- key,
2761
- ref,
2762
- props,
2763
- // Record the component responsible for creating this element.
2764
- _owner: owner
2765
- };
2766
- {
2767
- element._store = {};
2768
- Object.defineProperty(element._store, "validated", {
2769
- configurable: false,
2770
- enumerable: false,
2771
- writable: true,
2772
- value: false
2773
- });
2774
- Object.defineProperty(element, "_self", {
2775
- configurable: false,
2776
- enumerable: false,
2777
- writable: false,
2778
- value: self
2779
- });
2780
- Object.defineProperty(element, "_source", {
2781
- configurable: false,
2782
- enumerable: false,
2783
- writable: false,
2784
- value: source
2785
- });
2786
- if (Object.freeze) {
2787
- Object.freeze(element.props);
2788
- Object.freeze(element);
2789
- }
2790
- }
2791
- return element;
2792
- };
2793
- function jsxDEV(type, config, maybeKey, source, self) {
2794
- {
2795
- var propName;
2796
- var props = {};
2797
- var key = null;
2798
- var ref = null;
2799
- if (maybeKey !== void 0) {
2800
- {
2801
- checkKeyStringCoercion(maybeKey);
2802
- }
2803
- key = "" + maybeKey;
2804
- }
2805
- if (hasValidKey(config)) {
2806
- {
2807
- checkKeyStringCoercion(config.key);
2808
- }
2809
- key = "" + config.key;
2810
- }
2811
- if (hasValidRef(config)) {
2812
- ref = config.ref;
2813
- warnIfStringRefCannotBeAutoConverted(config, self);
2814
- }
2815
- for (propName in config) {
2816
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2817
- props[propName] = config[propName];
2818
- }
2819
- }
2820
- if (type && type.defaultProps) {
2821
- var defaultProps = type.defaultProps;
2822
- for (propName in defaultProps) {
2823
- if (props[propName] === void 0) {
2824
- props[propName] = defaultProps[propName];
2825
- }
2826
- }
2827
- }
2828
- if (key || ref) {
2829
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
2830
- if (key) {
2831
- defineKeyPropWarningGetter(props, displayName);
2832
- }
2833
- if (ref) {
2834
- defineRefPropWarningGetter(props, displayName);
2835
- }
2836
- }
2837
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
2838
- }
2839
- }
2840
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
2841
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
2842
- function setCurrentlyValidatingElement$1(element) {
2843
- {
2844
- if (element) {
2845
- var owner = element._owner;
2846
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2847
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
2848
- } else {
2849
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
2850
- }
2851
- }
2852
- }
2853
- var propTypesMisspellWarningShown;
2854
- {
2855
- propTypesMisspellWarningShown = false;
2856
- }
2857
- function isValidElement(object) {
2858
- {
2859
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2860
- }
2861
- }
2862
- function getDeclarationErrorAddendum() {
2863
- {
2864
- if (ReactCurrentOwner$1.current) {
2865
- var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
2866
- if (name) {
2867
- return "\n\nCheck the render method of `" + name + "`.";
2868
- }
2869
- }
2870
- return "";
2871
- }
2872
- }
2873
- function getSourceInfoErrorAddendum(source) {
2874
- {
2875
- return "";
2876
- }
2877
- }
2878
- var ownerHasKeyUseWarning = {};
2879
- function getCurrentComponentErrorInfo(parentType) {
2880
- {
2881
- var info = getDeclarationErrorAddendum();
2882
- if (!info) {
2883
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
2884
- if (parentName) {
2885
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
2886
- }
2887
- }
2888
- return info;
2889
- }
2890
- }
2891
- function validateExplicitKey(element, parentType) {
2892
- {
2893
- if (!element._store || element._store.validated || element.key != null) {
2894
- return;
2895
- }
2896
- element._store.validated = true;
2897
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
2898
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
2899
- return;
2900
- }
2901
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
2902
- var childOwner = "";
2903
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
2904
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
2905
- }
2906
- setCurrentlyValidatingElement$1(element);
2907
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
2908
- setCurrentlyValidatingElement$1(null);
2909
- }
2910
- }
2911
- function validateChildKeys(node, parentType) {
2912
- {
2913
- if (typeof node !== "object") {
2914
- return;
2915
- }
2916
- if (isArray(node)) {
2917
- for (var i = 0; i < node.length; i++) {
2918
- var child = node[i];
2919
- if (isValidElement(child)) {
2920
- validateExplicitKey(child, parentType);
2921
- }
2922
- }
2923
- } else if (isValidElement(node)) {
2924
- if (node._store) {
2925
- node._store.validated = true;
2926
- }
2927
- } else if (node) {
2928
- var iteratorFn = getIteratorFn(node);
2929
- if (typeof iteratorFn === "function") {
2930
- if (iteratorFn !== node.entries) {
2931
- var iterator = iteratorFn.call(node);
2932
- var step;
2933
- while (!(step = iterator.next()).done) {
2934
- if (isValidElement(step.value)) {
2935
- validateExplicitKey(step.value, parentType);
2936
- }
2937
- }
2938
- }
2939
- }
2940
- }
2941
- }
2942
- }
2943
- function validatePropTypes(element) {
2944
- {
2945
- var type = element.type;
2946
- if (type === null || type === void 0 || typeof type === "string") {
2947
- return;
2948
- }
2949
- var propTypes;
2950
- if (typeof type === "function") {
2951
- propTypes = type.propTypes;
2952
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
2953
- // Inner props are checked in the reconciler.
2954
- type.$$typeof === REACT_MEMO_TYPE)) {
2955
- propTypes = type.propTypes;
2956
- } else {
2957
- return;
2958
- }
2959
- if (propTypes) {
2960
- var name = getComponentNameFromType(type);
2961
- checkPropTypes(propTypes, element.props, "prop", name, element);
2962
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
2963
- propTypesMisspellWarningShown = true;
2964
- var _name = getComponentNameFromType(type);
2965
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
2966
- }
2967
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
2968
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2969
- }
2970
- }
2971
- }
2972
- function validateFragmentProps(fragment) {
2973
- {
2974
- var keys = Object.keys(fragment.props);
2975
- for (var i = 0; i < keys.length; i++) {
2976
- var key = keys[i];
2977
- if (key !== "children" && key !== "key") {
2978
- setCurrentlyValidatingElement$1(fragment);
2979
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
2980
- setCurrentlyValidatingElement$1(null);
2981
- break;
2982
- }
2983
- }
2984
- if (fragment.ref !== null) {
2985
- setCurrentlyValidatingElement$1(fragment);
2986
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
2987
- setCurrentlyValidatingElement$1(null);
2988
- }
2989
- }
2990
- }
2991
- var didWarnAboutKeySpread = {};
2992
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
2993
- {
2994
- var validType = isValidElementType(type);
2995
- if (!validType) {
2996
- var info = "";
2997
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
2998
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
2999
- }
3000
- var sourceInfo = getSourceInfoErrorAddendum();
3001
- if (sourceInfo) {
3002
- info += sourceInfo;
3003
- } else {
3004
- info += getDeclarationErrorAddendum();
3005
- }
3006
- var typeString;
3007
- if (type === null) {
3008
- typeString = "null";
3009
- } else if (isArray(type)) {
3010
- typeString = "array";
3011
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
3012
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
3013
- info = " Did you accidentally export a JSX literal instead of a component?";
3014
- } else {
3015
- typeString = typeof type;
3016
- }
3017
- error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
3018
- }
3019
- var element = jsxDEV(type, props, key, source, self);
3020
- if (element == null) {
3021
- return element;
3022
- }
3023
- if (validType) {
3024
- var children = props.children;
3025
- if (children !== void 0) {
3026
- if (isStaticChildren) {
3027
- if (isArray(children)) {
3028
- for (var i = 0; i < children.length; i++) {
3029
- validateChildKeys(children[i], type);
3030
- }
3031
- if (Object.freeze) {
3032
- Object.freeze(children);
3033
- }
3034
- } else {
3035
- error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
3036
- }
3037
- } else {
3038
- validateChildKeys(children, type);
3039
- }
3040
- }
3041
- }
3042
- {
3043
- if (hasOwnProperty.call(props, "key")) {
3044
- var componentName = getComponentNameFromType(type);
3045
- var keys = Object.keys(props).filter(function(k) {
3046
- return k !== "key";
3047
- });
3048
- var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
3049
- if (!didWarnAboutKeySpread[componentName + beforeExample]) {
3050
- var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
3051
- error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
3052
- didWarnAboutKeySpread[componentName + beforeExample] = true;
3053
- }
3054
- }
3055
- }
3056
- if (type === REACT_FRAGMENT_TYPE) {
3057
- validateFragmentProps(element);
3058
- } else {
3059
- validatePropTypes(element);
3060
- }
3061
- return element;
3062
- }
3063
- }
3064
- function jsxWithValidationStatic(type, props, key) {
3065
- {
3066
- return jsxWithValidation(type, props, key, true);
3067
- }
3068
- }
3069
- function jsxWithValidationDynamic(type, props, key) {
3070
- {
3071
- return jsxWithValidation(type, props, key, false);
3072
- }
3073
- }
3074
- var jsx16 = jsxWithValidationDynamic;
3075
- var jsxs14 = jsxWithValidationStatic;
3076
- exports.Fragment = REACT_FRAGMENT_TYPE;
3077
- exports.jsx = jsx16;
3078
- exports.jsxs = jsxs14;
3079
- })();
3080
- }
3081
- }
3082
- });
3083
-
3084
- // ../../node_modules/react/jsx-runtime.js
3085
- var require_jsx_runtime = __commonJS({
3086
- "../../node_modules/react/jsx-runtime.js"(exports, module) {
3087
- if (process.env.NODE_ENV === "production") {
3088
- module.exports = require_react_jsx_runtime_production_min();
3089
- } else {
3090
- module.exports = require_react_jsx_runtime_development();
3091
- }
3092
- }
3093
- });
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3094
3
 
3095
4
  // src/shared/constants/dates.constants.ts
3096
5
  var DateFormat = /* @__PURE__ */ ((DateFormat2) => {
@@ -3128,6 +37,7 @@ var Platform = /* @__PURE__ */ ((Platform3) => {
3128
37
  Platform3["TEACHERS_WEB"] = "TEACHERS";
3129
38
  Platform3["DISTRICT_DASHBOARD"] = "DISTRICT";
3130
39
  Platform3["AUTH_WEB"] = "AUTH_WEB";
40
+ Platform3["WEB_ADMIN"] = "WEB_ADMIN";
3131
41
  Platform3["MOBILE"] = "MOBILE";
3132
42
  return Platform3;
3133
43
  })(Platform || {});
@@ -3198,6 +108,11 @@ var SSO = /* @__PURE__ */ ((SSO2) => {
3198
108
  SSO2["QR_CODE"] = "QR_CODE";
3199
109
  return SSO2;
3200
110
  })(SSO || {});
111
+ var ApiRegion = /* @__PURE__ */ ((ApiRegion2) => {
112
+ ApiRegion2["MAIN"] = "MAIN";
113
+ ApiRegion2["CANADA"] = "CANADA";
114
+ return ApiRegion2;
115
+ })(ApiRegion || {});
3201
116
 
3202
117
  // src/shared/constants/matrix.constants.ts
3203
118
  var MatrixMode = /* @__PURE__ */ ((MatrixMode2) => {
@@ -4083,6 +998,108 @@ var ENV_DISTRICT_DE_VENUS = {
4083
998
  AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/de`
4084
999
  };
4085
1000
 
1001
+ // src/configs/env/web-admin/env.common.ts
1002
+ var ENV_WEB_ADMIN_COMMON = {
1003
+ MARS_URL: "https://web-admin-v2.mars.matteappen.se",
1004
+ PROD_URL: "https://web-admin-v2.matteappen.se"
1005
+ };
1006
+
1007
+ // src/configs/env/web-admin/us/env.us.mars.ts
1008
+ var ENV_WEB_ADMIN_US_MARS = {
1009
+ ...ENV_WEB_ADMIN_COMMON,
1010
+ ...PLATFORM_URLS.MARS,
1011
+ API_URL: "https://api.mars.magmamath.com/v2",
1012
+ CDN_HOST: "https://cdn.mars.magmamath.com"
1013
+ };
1014
+
1015
+ // src/configs/env/web-admin/us/env.us.prod.ts
1016
+ var ENV_WEB_ADMIN_US_PROD = {
1017
+ ...ENV_WEB_ADMIN_COMMON,
1018
+ ...PLATFORM_URLS.PROD,
1019
+ API_URL: "https://api.magmamath.com/v2",
1020
+ CDN_HOST: "https://cdn.magmamath.com"
1021
+ };
1022
+
1023
+ // src/configs/env/web-admin/se/env.se.mars.ts
1024
+ var ENV_WEB_ADMIN_SE_MARS = {
1025
+ ...ENV_WEB_ADMIN_COMMON,
1026
+ ...PLATFORM_URLS.MARS,
1027
+ API_URL: "https://api.mars.matteappen.se/v2",
1028
+ CDN_HOST: "https://cdn.mars.matteappen.se"
1029
+ };
1030
+
1031
+ // src/configs/env/web-admin/se/env.se.prod.ts
1032
+ var ENV_WEB_ADMIN_SE_PROD = {
1033
+ ...ENV_WEB_ADMIN_COMMON,
1034
+ ...PLATFORM_URLS.PROD,
1035
+ API_URL: "https://api.matteappen.se/v2",
1036
+ CDN_HOST: "https://cdn.matteappen.se"
1037
+ };
1038
+
1039
+ // src/configs/env/web-admin/de/env.de.mars.ts
1040
+ var ENV_WEB_ADMIN_DE_MARS = {
1041
+ ...ENV_WEB_ADMIN_COMMON,
1042
+ ...PLATFORM_URLS.MARS,
1043
+ API_URL: "https://api.mars.magmamath.com/v2",
1044
+ CDN_HOST: "https://cdn.mars.magmamath.com"
1045
+ };
1046
+
1047
+ // src/configs/env/web-admin/de/env.de.prod.ts
1048
+ var ENV_WEB_ADMIN_DE_PROD = {
1049
+ ...ENV_WEB_ADMIN_COMMON,
1050
+ ...PLATFORM_URLS.PROD,
1051
+ API_URL: "https://api.magmamath.com/v2",
1052
+ CDN_HOST: "https://cdn.magmamath.com"
1053
+ };
1054
+
1055
+ // src/configs/env/web-admin/sct/env.sct.mars.ts
1056
+ var ENV_WEB_ADMIN_SCT_MARS = {
1057
+ ...ENV_WEB_ADMIN_COMMON,
1058
+ ...PLATFORM_URLS.MARS,
1059
+ API_URL: "https://api.mars.magmamath.com/v2",
1060
+ CDN_HOST: "https://cdn.mars.magmamath.com"
1061
+ };
1062
+
1063
+ // src/configs/env/web-admin/sct/env.sct.prod.ts
1064
+ var ENV_WEB_ADMIN_SCT_PROD = {
1065
+ ...ENV_WEB_ADMIN_COMMON,
1066
+ ...PLATFORM_URLS.PROD,
1067
+ API_URL: "https://api.magmamath.com/v2",
1068
+ CDN_HOST: "https://cdn.magmamath.com"
1069
+ };
1070
+
1071
+ // src/configs/env/web-admin/gb/env.gb.mars.ts
1072
+ var ENV_WEB_ADMIN_GB_MARS = {
1073
+ ...ENV_WEB_ADMIN_COMMON,
1074
+ ...PLATFORM_URLS.MARS,
1075
+ API_URL: "https://api.mars.magmamath.com/v2",
1076
+ CDN_HOST: "https://cdn.mars.magmamath.com"
1077
+ };
1078
+
1079
+ // src/configs/env/web-admin/gb/env.gb.prod.ts
1080
+ var ENV_WEB_ADMIN_GB_PROD = {
1081
+ ...ENV_WEB_ADMIN_COMMON,
1082
+ ...PLATFORM_URLS.PROD,
1083
+ API_URL: "https://api.magmamath.com/v2",
1084
+ CDN_HOST: "https://cdn.magmamath.com"
1085
+ };
1086
+
1087
+ // src/configs/env/web-admin/ca/env.ca.mars.ts
1088
+ var ENV_WEB_ADMIN_CA_MARS = {
1089
+ ...ENV_WEB_ADMIN_COMMON,
1090
+ ...PLATFORM_URLS.MARS,
1091
+ API_URL: "https://api.mars.magmamath.com/v2",
1092
+ CDN_HOST: "https://cdn.mars.magmamath.com"
1093
+ };
1094
+
1095
+ // src/configs/env/web-admin/ca/env.ca.prod.ts
1096
+ var ENV_WEB_ADMIN_CA_PROD = {
1097
+ ...ENV_WEB_ADMIN_COMMON,
1098
+ ...PLATFORM_URLS.PROD,
1099
+ API_URL: "https://api.ca.magmamath.com/v2",
1100
+ CDN_HOST: "https://cdn.ca.magmamath.com"
1101
+ };
1102
+
4086
1103
  // src/configs/env/mobile/env.common.mars.ts
4087
1104
  var ENV_MOBILE_COMMON_MARS = {
4088
1105
  DESMOS_API_KEY: "ca152e213f1e4f0ea0a379f070a19cfd",
@@ -4407,6 +1424,38 @@ var ENV_PRESET = {
4407
1424
  ["PROD" /* PROD */]: ENV_DISTRICT_DE_PROD
4408
1425
  }
4409
1426
  },
1427
+ ["WEB_ADMIN" /* WEB_ADMIN */]: {
1428
+ ["en-SE" /* US */]: {
1429
+ ["MARS" /* MARS */]: ENV_WEB_ADMIN_US_MARS,
1430
+ ["VENUS" /* VENUS */]: ENV_WEB_ADMIN_US_MARS,
1431
+ ["PROD" /* PROD */]: ENV_WEB_ADMIN_US_PROD
1432
+ },
1433
+ ["sv-SE" /* SE */]: {
1434
+ ["MARS" /* MARS */]: ENV_WEB_ADMIN_SE_MARS,
1435
+ ["VENUS" /* VENUS */]: ENV_WEB_ADMIN_SE_MARS,
1436
+ ["PROD" /* PROD */]: ENV_WEB_ADMIN_SE_PROD
1437
+ },
1438
+ ["en-GB" /* GB */]: {
1439
+ ["MARS" /* MARS */]: ENV_WEB_ADMIN_GB_MARS,
1440
+ ["VENUS" /* VENUS */]: ENV_WEB_ADMIN_GB_MARS,
1441
+ ["PROD" /* PROD */]: ENV_WEB_ADMIN_GB_PROD
1442
+ },
1443
+ ["en-CA" /* CA */]: {
1444
+ ["MARS" /* MARS */]: ENV_WEB_ADMIN_CA_MARS,
1445
+ ["VENUS" /* VENUS */]: ENV_WEB_ADMIN_CA_MARS,
1446
+ ["PROD" /* PROD */]: ENV_WEB_ADMIN_CA_PROD
1447
+ },
1448
+ ["en-SCT" /* SCT */]: {
1449
+ ["MARS" /* MARS */]: ENV_WEB_ADMIN_SCT_MARS,
1450
+ ["VENUS" /* VENUS */]: ENV_WEB_ADMIN_SCT_MARS,
1451
+ ["PROD" /* PROD */]: ENV_WEB_ADMIN_SCT_PROD
1452
+ },
1453
+ ["de-DE" /* DE */]: {
1454
+ ["MARS" /* MARS */]: ENV_WEB_ADMIN_DE_MARS,
1455
+ ["VENUS" /* VENUS */]: ENV_WEB_ADMIN_DE_MARS,
1456
+ ["PROD" /* PROD */]: ENV_WEB_ADMIN_DE_PROD
1457
+ }
1458
+ },
4410
1459
  ["MOBILE" /* MOBILE */]: {
4411
1460
  ["en-SE" /* US */]: {
4412
1461
  ["MARS" /* MARS */]: ENV_MOBILE_US_MARS,
@@ -5227,33 +2276,30 @@ var LOCALE_TEACHERS_DE = {
5227
2276
  showSentEmailInfo: false
5228
2277
  }
5229
2278
  };
5230
-
5231
- // src/shared/icons/sso/GoogleIcon.tsx
5232
- var import_jsx_runtime = __toESM(require_jsx_runtime());
5233
2279
  var GoogleIcon = ({ size = 38 }) => {
5234
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 90 92", fill: "none", children: [
5235
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2280
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 90 92", fill: "none", children: [
2281
+ /* @__PURE__ */ jsx(
5236
2282
  "path",
5237
2283
  {
5238
2284
  d: "M89.9877 47.1018C89.9877 44.0018 89.6877 40.8018 89.1877 37.8018H45.8877V55.5018H70.6877C69.6877 61.2018 66.3877 66.2018 61.4877 69.4018L76.2877 80.9018C84.9877 72.8018 89.9877 61.0018 89.9877 47.1018Z",
5239
2285
  fill: "#4280EF"
5240
2286
  }
5241
2287
  ),
5242
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2288
+ /* @__PURE__ */ jsx(
5243
2289
  "path",
5244
2290
  {
5245
2291
  d: "M45.8877 91.9014C58.2877 91.9014 68.6877 87.8014 76.2877 80.8014L61.4877 69.4014C57.3877 72.2014 52.0877 73.8014 45.8877 73.8014C33.8877 73.8014 23.7877 65.7014 20.0877 54.9014L4.8877 66.6014C12.6877 82.1014 28.4877 91.9014 45.8877 91.9014Z",
5246
2292
  fill: "#34A353"
5247
2293
  }
5248
2294
  ),
5249
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2295
+ /* @__PURE__ */ jsx(
5250
2296
  "path",
5251
2297
  {
5252
2298
  d: "M20.0877 54.8014C18.1877 49.1014 18.1877 42.9014 20.0877 37.2014L4.8877 25.4014C-1.6123 38.4014 -1.6123 53.7014 4.8877 66.6014L20.0877 54.8014Z",
5253
2299
  fill: "#F6B704"
5254
2300
  }
5255
2301
  ),
5256
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2302
+ /* @__PURE__ */ jsx(
5257
2303
  "path",
5258
2304
  {
5259
2305
  d: "M45.8877 18.3014C52.3877 18.2014 58.7877 20.7014 63.4877 25.2014L76.5877 12.0014C68.2877 4.20135 57.2877 0.00135466 45.8877 0.101355C28.4877 0.101355 12.6877 9.90136 4.8877 25.4014L20.0877 37.2014C23.7877 26.3014 33.8877 18.3014 45.8877 18.3014Z",
@@ -5271,15 +2317,12 @@ var SSO_GOOGLE_CONFIG = {
5271
2317
  icon: GoogleIcon,
5272
2318
  getUrl: (envs) => envs.GOOGLE_AUTH
5273
2319
  };
5274
-
5275
- // src/shared/icons/sso/MicrosoftIcon.tsx
5276
- var import_jsx_runtime2 = __toESM(require_jsx_runtime());
5277
2320
  var MicrosoftIcon = ({ size = 38 }) => {
5278
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 99 99", fill: "none", children: [
5279
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M4.3042 4.30469H47.3476V47.3482H4.3042V4.30469Z", fill: "#F35325" }),
5280
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M51.6523 4.30469H94.6958V47.3482H51.6523V4.30469Z", fill: "#81BC06" }),
5281
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M4.3042 51.6523H47.3476V94.6958H4.3042V51.6523Z", fill: "#05A6F0" }),
5282
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M51.6523 51.6523H94.6958V94.6958H51.6523V51.6523Z", fill: "#FFBA08" })
2321
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 99 99", fill: "none", children: [
2322
+ /* @__PURE__ */ jsx("path", { d: "M4.3042 4.30469H47.3476V47.3482H4.3042V4.30469Z", fill: "#F35325" }),
2323
+ /* @__PURE__ */ jsx("path", { d: "M51.6523 4.30469H94.6958V47.3482H51.6523V4.30469Z", fill: "#81BC06" }),
2324
+ /* @__PURE__ */ jsx("path", { d: "M4.3042 51.6523H47.3476V94.6958H4.3042V51.6523Z", fill: "#05A6F0" }),
2325
+ /* @__PURE__ */ jsx("path", { d: "M51.6523 51.6523H94.6958V94.6958H51.6523V51.6523Z", fill: "#FFBA08" })
5283
2326
  ] });
5284
2327
  };
5285
2328
 
@@ -5291,27 +2334,24 @@ var SSO_MICROSOFT_CONFIG = {
5291
2334
  icon: MicrosoftIcon,
5292
2335
  getUrl: (envs) => envs.MICROSOFT_AUTH
5293
2336
  };
5294
-
5295
- // src/shared/icons/sso/ClasslinkIcon.tsx
5296
- var import_jsx_runtime3 = __toESM(require_jsx_runtime());
5297
2337
  var ClasslinkIcon = ({ size = 38 }) => {
5298
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { width: size, height: size, viewBox: "0 0 115 115", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5299
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "115", height: "115", rx: "12.5", fill: "#0A4D7F" }),
5300
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2338
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 115 115", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2339
+ /* @__PURE__ */ jsx("rect", { width: "115", height: "115", rx: "12.5", fill: "#0A4D7F" }),
2340
+ /* @__PURE__ */ jsx(
5301
2341
  "path",
5302
2342
  {
5303
2343
  d: "M36.9742 63.9404C33.1409 68.2738 36.9742 70.3571 36.9742 70.3571C37.1409 70.4404 37.2242 70.5238 37.3909 70.5238C36.8075 68.1904 36.7242 66.0238 36.9742 63.9404Z",
5304
2344
  fill: "white"
5305
2345
  }
5306
2346
  ),
5307
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2347
+ /* @__PURE__ */ jsx(
5308
2348
  "path",
5309
2349
  {
5310
2350
  d: "M61.8911 69.5239C58.8911 71.5239 55.3911 78.3572 55.3911 78.3572H53.5578C54.7245 75.7739 55.4744 73.6072 55.8911 71.8572C55.3911 72.0239 55.1411 72.1072 55.1411 72.1072C51.5578 73.3572 47.8911 73.9405 44.6411 74.0239C48.0578 79.1072 54.3078 80.0239 54.3078 80.0239C63.0578 81.1905 69.6411 76.4405 73.2244 72.9405C65.9744 68.9405 61.8911 69.5239 61.8911 69.5239Z",
5311
2351
  fill: "white"
5312
2352
  }
5313
2353
  ),
5314
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2354
+ /* @__PURE__ */ jsx(
5315
2355
  "path",
5316
2356
  {
5317
2357
  d: "M90.1413 50.7737C90.1413 50.7737 95.8913 36.4404 82.7246 26.6071C82.7246 26.6071 61.6413 12.6904 49.8079 35.9404C49.8079 35.9404 41.3913 27.5237 30.9746 34.0237C22.0579 39.6071 23.5579 47.1904 24.3913 50.9404C24.3913 50.9404 7.55793 55.8571 8.4746 73.7738C9.14127 87.1071 21.9746 91.1071 26.9746 92.1904C28.0579 92.4404 29.2246 92.5237 30.3079 92.5237H85.4746C86.5579 92.5237 87.6413 92.4404 88.7246 92.1904C93.7246 91.1904 106.808 87.1904 106.558 73.0237C106.225 55.5237 90.1413 50.7737 90.1413 50.7737ZM53.9746 82.8571C42.8079 82.6904 38.8079 74.3571 38.8079 74.3571C38.5579 73.9404 38.3913 73.4404 38.2246 73.0237C35.1413 71.8571 33.3079 69.6904 33.8079 66.5237C34.2246 63.2737 37.8913 60.1071 37.8913 60.1071C40.0579 53.5237 44.8079 49.0237 44.8079 49.0237C44.8079 49.0237 48.8079 44.7737 53.2246 42.5237L60.8079 43.6904C43.5579 50.6904 42.7246 65.1904 42.7246 65.1904C42.6413 67.3571 42.8913 69.2738 43.3913 70.8571C44.6413 70.7738 45.6413 70.6071 45.6413 70.6071C49.8913 69.9404 53.5579 68.7738 56.6413 67.4404C56.5579 64.6071 55.2246 63.8571 55.2246 63.8571C55.2246 63.8571 53.6413 62.1071 47.2246 61.0237L47.8079 60.1904C47.8079 60.1904 50.9746 60.8571 54.5579 60.1904C58.4746 59.4404 62.0579 56.7738 66.0579 51.2737L67.9746 51.1904C64.0579 56.3571 63.8079 60.2737 64.4746 62.8571C68.3913 59.9404 70.2246 57.4404 70.2246 57.4404C77.2246 47.6071 67.4746 49.1071 67.4746 49.1071L70.3913 45.6071C85.3079 48.8571 71.6413 62.2737 71.6413 62.2737C70.0579 63.8571 68.3079 65.2737 66.5579 66.5237C66.8079 66.7737 69.3913 69.4404 74.3079 71.8571C75.6413 70.4404 76.3079 69.4404 76.3079 69.4404L78.2246 69.7737C66.5579 83.9404 53.9746 82.8571 53.9746 82.8571ZM59.2246 54.9404C59.1413 56.6071 57.8079 57.9404 56.1413 57.9404C54.3079 57.9404 52.8913 56.4404 52.9746 54.6904C53.0579 53.0237 54.3913 51.6904 56.0579 51.6904C57.8913 51.6071 59.3079 53.1071 59.2246 54.9404Z",
@@ -5329,12 +2369,9 @@ var SSO_CLASSLINK_CONFIG = {
5329
2369
  icon: ClasslinkIcon,
5330
2370
  getUrl: (envs) => envs.CLASS_LINK_AUTH
5331
2371
  };
5332
-
5333
- // src/shared/icons/sso/SchoologyIcon.tsx
5334
- var import_jsx_runtime4 = __toESM(require_jsx_runtime());
5335
2372
  var SchoologyIcon = ({ size = 37.5 }) => {
5336
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("svg", { width: size, height: size, viewBox: "0 0 512 512", children: [
5337
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2373
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 512 512", children: [
2374
+ /* @__PURE__ */ jsx(
5338
2375
  "path",
5339
2376
  {
5340
2377
  d: "M0 0 C0.65871094 0.61617188 1.31742187 1.23234375 1.99609375 1.8671875 C40.70068374 39.23097183 61.40249594 94.96354423 62.97631836 147.90844727 C63.96531954 209.05509383 40.48830482 262.9107464 -1 307 C-1.61617188 307.65871094 -2.23234375 308.31742187 -2.8671875 308.99609375 C-29.14440285 336.21627137 -66.4772761 355.33345872 -103 364 C-103.7724707 364.18546387 -104.54494141 364.37092773 -105.34082031 364.56201172 C-159.9483038 377.35889436 -219.23630941 367.94059358 -267.02734375 338.54296875 C-281.89714452 329.14942154 -295.25164948 318.07132948 -308 306 C-308.68191406 305.360625 -309.36382812 304.72125 -310.06640625 304.0625 C-315.19085196 299.11639926 -319.59301606 293.58317222 -324 288 C-324.721875 287.09507812 -325.44375 286.19015625 -326.1875 285.2578125 C-362.39742405 238.5728747 -375.93505224 180.18636472 -369 122 C-362.18060886 74.22779469 -339.70148784 33.75158111 -307 -1 C-306.38382812 -1.65871094 -305.76765625 -2.31742188 -305.1328125 -2.99609375 C-269.19816061 -40.22026664 -214.00670655 -62.54723946 -162.7578125 -63.96875 C-99.87908635 -64.72534834 -45.56685426 -42.87873768 0 0 Z ",
@@ -5342,7 +2379,7 @@ var SchoologyIcon = ({ size = 37.5 }) => {
5342
2379
  transform: "translate(410,103)"
5343
2380
  }
5344
2381
  ),
5345
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2382
+ /* @__PURE__ */ jsx(
5346
2383
  "path",
5347
2384
  {
5348
2385
  d: "M0 0 C0.65871094 0.61617188 1.31742187 1.23234375 1.99609375 1.8671875 C40.70068374 39.23097183 61.40249594 94.96354423 62.97631836 147.90844727 C63.96531954 209.05509383 40.48830482 262.9107464 -1 307 C-1.61617188 307.65871094 -2.23234375 308.31742187 -2.8671875 308.99609375 C-29.14440285 336.21627137 -66.4772761 355.33345872 -103 364 C-103.7724707 364.18546387 -104.54494141 364.37092773 -105.34082031 364.56201172 C-159.9483038 377.35889436 -219.23630941 367.94059358 -267.02734375 338.54296875 C-281.89714452 329.14942154 -295.25164948 318.07132948 -308 306 C-308.68191406 305.360625 -309.36382812 304.72125 -310.06640625 304.0625 C-315.19085196 299.11639926 -319.59301606 293.58317222 -324 288 C-324.721875 287.09507812 -325.44375 286.19015625 -326.1875 285.2578125 C-362.39742405 238.5728747 -375.93505224 180.18636472 -369 122 C-362.18060886 74.22779469 -339.70148784 33.75158111 -307 -1 C-306.38382812 -1.65871094 -305.76765625 -2.31742188 -305.1328125 -2.99609375 C-269.19816061 -40.22026664 -214.00670655 -62.54723946 -162.7578125 -63.96875 C-99.87908635 -64.72534834 -45.56685426 -42.87873768 0 0 Z M-196 -23 C-196.8451416 -22.78569336 -197.6902832 -22.57138672 -198.56103516 -22.35058594 C-229.65447003 -14.27604813 -256.96353765 1.77013647 -280 24 C-280.89976562 24.83660156 -281.79953125 25.67320312 -282.7265625 26.53515625 C-306.08216151 48.84749363 -321.76519591 78.9734582 -329.6875 110.0625 C-329.89004395 110.85293701 -330.09258789 111.64337402 -330.30126953 112.45776367 C-333.52477065 125.61658454 -334.41142526 138.38826401 -334.375 151.875 C-334.37345917 152.73782593 -334.37191833 153.60065186 -334.37033081 154.48962402 C-334.19519137 195.74617611 -320.22447458 236.5661187 -293 268 C-292.31679688 268.79277344 -291.63359375 269.58554687 -290.9296875 270.40234375 C-288.66085619 272.9761255 -286.34450019 275.49496875 -284 278 C-282.69289063 279.40572266 -282.69289063 279.40572266 -281.359375 280.83984375 C-256.51508117 306.95165945 -222.2206292 324.18108116 -187 331 C-185.63077393 331.26744019 -185.63077393 331.26744019 -184.23388672 331.5402832 C-174.52274734 333.23273131 -164.95212348 333.4015413 -155.125 333.375 C-154.26217407 333.37345917 -153.39934814 333.37191833 -152.51037598 333.37033081 C-111.25382389 333.19519137 -70.4338813 319.22447458 -39 292 C-38.20722656 291.31679688 -37.41445313 290.63359375 -36.59765625 289.9296875 C-10.01233338 266.4942844 7.98281131 238.72366729 19 205 C19.22558594 204.31196289 19.45117188 203.62392578 19.68359375 202.91503906 C28.73046191 174.51792512 29.50695137 139.82235134 22 111 C21.78569336 110.1548584 21.57138672 109.3097168 21.35058594 108.43896484 C13.2799833 77.36068351 -2.7584981 50.01177037 -25 27 C-25.88300781 26.06542969 -26.76601563 25.13085938 -27.67578125 24.16796875 C-60.08621779 -9.36815589 -106.14315169 -26.65928673 -152.24389648 -27.46606445 C-167.14551305 -27.6263183 -181.51997228 -26.77140861 -196 -23 Z ",
@@ -5350,7 +2387,7 @@ var SchoologyIcon = ({ size = 37.5 }) => {
5350
2387
  transform: "translate(410,103)"
5351
2388
  }
5352
2389
  ),
5353
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2390
+ /* @__PURE__ */ jsx(
5354
2391
  "path",
5355
2392
  {
5356
2393
  d: "M0 0 C2.51146197 2.1941432 4.87683981 4.47013105 7.22265625 6.83984375 C7.99222656 7.57589844 8.76179687 8.31195313 9.5546875 9.0703125 C19.07886325 18.75673997 28.29208845 35.34676296 28.31640625 49.18359375 C28.28546875 50.39015625 28.25453125 51.59671875 28.22265625 52.83984375 C23.97355808 53.41708552 19.72349255 53.98641721 15.47241211 54.54882812 C14.030073 54.74073216 12.58800627 54.93469625 11.14624023 55.13085938 C3.48100463 56.17237492 -4.02061266 57.11717939 -11.77734375 56.83984375 C-11.86371094 55.80085938 -11.95007813 54.761875 -12.0390625 53.69140625 C-12.84983121 45.20787285 -13.95213468 38.0911356 -18.77734375 30.83984375 C-19.40769531 29.89238281 -19.40769531 29.89238281 -20.05078125 28.92578125 C-24.2098341 23.46852693 -29.9046491 20.21853895 -35.77734375 16.83984375 C-36.45925781 16.43636719 -37.14117187 16.03289062 -37.84375 15.6171875 C-47.31596962 10.41636546 -57.71231554 9.34654102 -68.33984375 9.46484375 C-69.38591797 9.45324219 -70.43199219 9.44164062 -71.50976562 9.4296875 C-83.86014395 9.47568518 -94.83586648 12.46501768 -104.07421875 20.94921875 C-109.63329967 26.83291753 -112.78947357 32.18922123 -113.15234375 40.33984375 C-112.89666912 46.79840734 -110.82846908 52.61656839 -106.3671875 57.4140625 C-90.89380652 71.2906818 -65.36743359 74.12947018 -45.71801758 78.88525391 C10.31755251 92.45206459 10.31755251 92.45206459 25.72265625 114.46484375 C34.31987956 128.65026221 36.5467982 143.41362647 32.66015625 159.52734375 C29.03754851 171.56048134 23.1399119 181.04730496 14.22265625 189.83984375 C13.30226563 190.77570313 13.30226563 190.77570313 12.36328125 191.73046875 C-9.79373874 212.75123131 -41.4918972 215.06135029 -70.3828125 214.35546875 C-91.43572766 213.6425626 -113.08986219 208.11591511 -129.77734375 194.83984375 C-130.52371094 194.26878906 -131.27007812 193.69773437 -132.0390625 193.109375 C-142.73474917 184.3549648 -149.62825346 172.49873681 -154.77734375 159.83984375 C-155.09316406 159.1128125 -155.40898437 158.38578125 -155.734375 157.63671875 C-158.59561448 150.70208908 -159.84375002 143.31718994 -159.77734375 135.83984375 C-145.80011015 133.64150138 -131.83594268 131.45382188 -117.77734375 129.83984375 C-117.7515625 130.77183594 -117.72578125 131.70382812 -117.69921875 132.6640625 C-117.06455021 146.92968034 -114.04569426 158.61513133 -104.40234375 169.52734375 C-90.69142033 181.60601439 -76.47538158 185.20302056 -58.46484375 185.15234375 C-57.33111328 185.16845703 -56.19738281 185.18457031 -55.02929688 185.20117188 C-40.51263251 185.20944348 -24.23939225 182.0803361 -13.39453125 171.73046875 C-10.81709066 168.71722903 -9.17185091 165.53321668 -7.77734375 161.83984375 C-7.4215625 160.90785156 -7.06578125 159.97585938 -6.69921875 159.015625 C-4.36204852 150.96427163 -4.73884222 141.70055531 -8.33984375 134.0859375 C-16.35064903 121.56905425 -30.76179049 118.85147926 -44.28930664 115.85253906 C-49.43101325 114.7416052 -54.5809776 113.6722512 -59.73330688 112.61178589 C-118.64984763 100.48168308 -118.64984763 100.48168308 -135.77734375 83.83984375 C-136.49019531 83.17726563 -137.20304687 82.5146875 -137.9375 81.83203125 C-148.80731707 70.81999227 -151.08114183 57.17252066 -151.09204102 42.35205078 C-150.86478969 25.97650843 -144.29005087 12.48812507 -132.67163086 1.07373047 C-98.96178562 -30.1458006 -35.25963059 -27.42415713 0 0 Z ",
@@ -5369,12 +2406,9 @@ var SSO_SCHOOLOGY_CONFIG = {
5369
2406
  icon: SchoologyIcon,
5370
2407
  getUrl: (envs) => envs.SCHOOLOGY_AUTH
5371
2408
  };
5372
-
5373
- // src/shared/icons/sso/CleverIcon.tsx
5374
- var import_jsx_runtime5 = __toESM(require_jsx_runtime());
5375
2409
  var CleverIcon = ({ size = 37.5 }) => {
5376
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("svg", { width: size, height: size, viewBox: "0 0 400 400", children: [
5377
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2410
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 400 400", children: [
2411
+ /* @__PURE__ */ jsx(
5378
2412
  "path",
5379
2413
  {
5380
2414
  d: "M0 0 C1.67620924 -0.0030026 3.3524178 -0.0064076 5.02862549 -0.01017761 C9.52915763 -0.01891134 14.02967069 -0.02135122 18.53021049 -0.0219934 C21.35789557 -0.02271015 24.18557598 -0.02485615 27.01325989 -0.02749062 C36.92355653 -0.03670992 46.83383984 -0.04082993 56.74414062 -0.04003906 C65.90816725 -0.03943967 75.07213476 -0.04997324 84.23614645 -0.06578273 C92.1646303 -0.07896174 100.09309507 -0.08421864 108.02158976 -0.08358365 C112.72988379 -0.08333163 117.4381252 -0.08601587 122.14640808 -0.0967617 C201.34034791 -0.26463588 201.34034791 -0.26463588 227.34179688 23.90307617 C255.40844116 53.14128637 251.81679193 94.38046078 251.76279163 131.99248505 C251.75763739 136.72391467 251.76244869 141.45533755 251.76556396 146.18676758 C251.76917671 154.12411924 251.76447601 162.06143337 251.75488281 169.9987793 C251.74400353 179.10390291 251.74753103 188.20893686 251.75853562 197.3140583 C251.76768606 205.20873836 251.76885631 213.10339183 251.76365829 220.99807549 C251.76058075 225.67941628 251.76001018 230.36071531 251.76673126 235.04205322 C251.86433858 314.03418494 251.86433858 314.03418494 227.73632812 339.99291992 C198.49811793 368.05956421 157.25894351 364.46791498 119.64691925 364.41391468 C114.91548962 364.40876044 110.18406675 364.41357174 105.45263672 364.41668701 C97.51528506 364.42029976 89.57797093 364.41559906 81.640625 364.40600586 C72.53550139 364.39512658 63.43046744 364.39865408 54.32534599 364.40965867 C46.43066594 364.41880911 38.53601247 364.41997936 30.64132881 364.41478133 C25.95998801 364.41170379 21.27868899 364.41113322 16.59735107 364.41785431 C-59.74435539 364.51226708 -59.74435539 364.51226708 -83.50585938 344.14526367 C-84.09496094 343.69924805 -84.6840625 343.25323242 -85.29101562 342.79370117 C-100.5165773 330.93232966 -107.79464728 311.80411887 -110.69335938 293.33276367 C-112.38959208 279.47361914 -112.65621061 265.58371761 -112.65112305 251.6394043 C-112.65412565 249.96319506 -112.65753065 248.2869865 -112.66130066 246.61077881 C-112.67003439 242.11024667 -112.67247427 237.6097336 -112.67311645 233.1091938 C-112.6738332 230.28150872 -112.6759792 227.45382831 -112.67861366 224.62614441 C-112.68783297 214.71584777 -112.69195298 204.80556446 -112.69116211 194.89526367 C-112.69056271 185.73123705 -112.70109628 176.56726954 -112.71690577 167.40325785 C-112.73008479 159.474774 -112.73534169 151.54630922 -112.7347067 143.61781454 C-112.73445467 138.90952051 -112.73713891 134.2012791 -112.74788475 129.49299622 C-112.91021877 52.95034964 -112.91021877 52.95034964 -92.50585938 29.14526367 C-91.83683594 28.26161133 -91.83683594 28.26161133 -91.15429688 27.36010742 C-79.29292536 12.13454575 -60.16471457 4.85647577 -41.69335938 1.95776367 C-27.83421484 0.26153097 -13.94431332 -0.00508756 0 0 Z ",
@@ -5382,7 +2416,7 @@ var CleverIcon = ({ size = 37.5 }) => {
5382
2416
  transform: "translate(130.505859375,17.854736328125)"
5383
2417
  }
5384
2418
  ),
5385
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2419
+ /* @__PURE__ */ jsx(
5386
2420
  "path",
5387
2421
  {
5388
2422
  d: "M0 0 C0.68594238 0.1556543 1.37188477 0.31130859 2.07861328 0.47167969 C22.91525812 5.29680521 40.36699739 16.70040055 56 31 C54.32251584 35.0318479 51.5317618 38.06911525 48.6875 41.3125 C48.16349609 41.91698975 47.63949219 42.52147949 47.09960938 43.14428711 C45.40354194 45.09953171 43.70188296 47.04981656 42 49 C40.23422669 51.0311018 38.46982177 53.0633796 36.70629883 55.09643555 C35.59426159 56.37776848 34.48088216 57.65793817 33.3659668 58.93676758 C30.49859306 62.23314332 27.70157245 65.56458695 25 69 C21.74503025 67.54189138 19.32705338 65.68972832 16.625 63.375 C0.52293436 50.31285236 -19.08590169 42.4186358 -40 44 C-57.72220154 45.945761 -72.96025529 53.19582551 -84.6875 67.0625 C-97.63928254 84.73824188 -102.22368475 105.38424735 -99.5 126.9609375 C-96.10643997 145.66408082 -87.8161552 163.27579745 -72.1875 174.75 C-55.60290783 185.6715607 -36.40172075 188.61686703 -17.02734375 184.81640625 C-2.5031112 180.8995487 9.28377082 173.64444068 20.58984375 163.8203125 C22.95193503 162.03630191 24.10659061 161.30328865 27 161 C28.65789795 162.05662537 28.65789795 162.05662537 30.29980469 163.73217773 C30.92014587 164.35289658 31.54048706 164.97361542 32.17962646 165.61314392 C33.16578949 166.63801659 33.16578949 166.63801659 34.171875 167.68359375 C35.1955014 168.71783226 35.1955014 168.71783226 36.23980713 169.77296448 C38.42184885 171.98304799 40.58589786 174.20986063 42.75 176.4375 C44.22410951 177.9366794 45.69935622 179.43474154 47.17578125 180.93164062 C50.79718878 184.60824778 54.40254939 188.29995449 58 192 C57.06309908 193.09816764 56.12545073 194.19569762 55.1875 195.29296875 C54.66542969 195.90422607 54.14335937 196.5154834 53.60546875 197.14526367 C35.35531559 218.22896403 7.36015206 230.88724205 -20.19348145 233.18273926 C-25.25370018 233.46677646 -30.30840335 233.48084355 -35.375 233.4375 C-36.13558716 233.43445862 -36.89617432 233.43141724 -37.67980957 233.42828369 C-49.46848059 233.35877137 -60.7196767 232.72046808 -72 229 C-72.65226562 228.78569336 -73.30453125 228.57138672 -73.9765625 228.35058594 C-102.88635669 218.45963544 -127.17657006 198.76455211 -141.07397461 171.37109375 C-155.62150781 141.36424726 -158.19514707 107.59865868 -148.34375 75.65625 C-137.09116002 45.03873773 -116.05382258 21.19944166 -86.4375 7.1875 C-79.78797625 4.16344039 -73.08708946 1.77177237 -66 0 C-64.2675 -0.44859375 -64.2675 -0.44859375 -62.5 -0.90625 C-42.67946376 -5.22201192 -19.70207849 -4.82756551 0 0 Z ",
@@ -5401,41 +2435,38 @@ var SSO_CLEVER_CONFIG = {
5401
2435
  icon: CleverIcon,
5402
2436
  getUrl: (envs) => envs.CLEVER_AUTH
5403
2437
  };
5404
-
5405
- // src/shared/icons/country/USFlagIcon.tsx
5406
- var import_jsx_runtime6 = __toESM(require_jsx_runtime());
5407
- var USFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5408
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("g", { clipPath: "url(#clip0_2301_162)", children: [
5409
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2438
+ var USFlagIcon = ({ size = 64 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2439
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_2301_162)", children: [
2440
+ /* @__PURE__ */ jsx(
5410
2441
  "path",
5411
2442
  {
5412
2443
  d: "M32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",
5413
2444
  fill: "#F0F0F0"
5414
2445
  }
5415
2446
  ),
5416
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M30.6088 32.0002H64C64 29.112 63.615 26.314 62.8976 23.6523H30.6088V32.0002Z", fill: "#D80027" }),
5417
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2447
+ /* @__PURE__ */ jsx("path", { d: "M30.6088 32.0002H64C64 29.112 63.615 26.314 62.8976 23.6523H30.6088V32.0002Z", fill: "#D80027" }),
2448
+ /* @__PURE__ */ jsx(
5418
2449
  "path",
5419
2450
  {
5420
2451
  d: "M30.6088 15.3044H59.3033C57.3444 12.1079 54.8398 9.28254 51.9195 6.95654H30.6088V15.3044Z",
5421
2452
  fill: "#D80027"
5422
2453
  }
5423
2454
  ),
5424
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2455
+ /* @__PURE__ */ jsx(
5425
2456
  "path",
5426
2457
  {
5427
2458
  d: "M32.0001 64C39.5312 64 46.4533 61.397 51.9196 57.0435H12.0806C17.5468 61.397 24.4689 64 32.0001 64Z",
5428
2459
  fill: "#D80027"
5429
2460
  }
5430
2461
  ),
5431
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2462
+ /* @__PURE__ */ jsx(
5432
2463
  "path",
5433
2464
  {
5434
2465
  d: "M4.69679 48.6955H59.3033C60.8759 46.1294 62.0955 43.3244 62.8977 40.3477H1.10242C1.90454 43.3244 3.12417 46.1294 4.69679 48.6955Z",
5435
2466
  fill: "#D80027"
5436
2467
  }
5437
2468
  ),
5438
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2469
+ /* @__PURE__ */ jsx(
5439
2470
  "path",
5440
2471
  {
5441
2472
  d: "M14.823 4.99725H17.7391L15.0266 6.96788L16.0627 10.1565L13.3504 8.18587L10.638 10.1565L11.533 7.40188C9.14475 9.39125 7.0515 11.722 5.3265 14.319H6.26088L4.53425 15.5734C4.26525 16.0221 4.00725 16.478 3.76 16.9406L4.5845 19.4783L3.04625 18.3606C2.66388 19.1707 2.31413 19.9991 1.99975 20.8447L2.90812 23.6408H6.26088L3.54837 25.6114L4.5845 28.8L1.87213 26.8294L0.247375 28.0099C0.08475 29.3171 0 30.6486 0 32H32C32 14.327 32 12.2435 32 0C25.6785 0 19.7856 1.83375 14.823 4.99725ZM16.0627 28.8L13.3504 26.8294L10.638 28.8L11.6741 25.6114L8.96163 23.6408H12.3144L13.3504 20.4521L14.3864 23.6408H17.7391L15.0266 25.6114L16.0627 28.8ZM15.0266 16.2896L16.0627 19.4783L13.3504 17.5076L10.638 19.4783L11.6741 16.2896L8.96163 14.319H12.3144L13.3504 11.1304L14.3864 14.319H17.7391L15.0266 16.2896ZM27.541 28.8L24.8286 26.8294L22.1162 28.8L23.1524 25.6114L20.4399 23.6408H23.7926L24.8286 20.4521L25.8646 23.6408H29.2174L26.5049 25.6114L27.541 28.8ZM26.5049 16.2896L27.541 19.4783L24.8286 17.5076L22.1162 19.4783L23.1524 16.2896L20.4399 14.319H23.7926L24.8286 11.1304L25.8646 14.319H29.2174L26.5049 16.2896ZM26.5049 6.96788L27.541 10.1565L24.8286 8.18587L22.1162 10.1565L23.1524 6.96788L20.4399 4.99725H23.7926L24.8286 1.80862L25.8646 4.99725H29.2174L26.5049 6.96788Z",
@@ -5443,12 +2474,9 @@ var USFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("svg", { wi
5443
2474
  }
5444
2475
  )
5445
2476
  ] }),
5446
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("clipPath", { id: "clip0_2301_162", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { width: "64", height: "64", fill: "white" }) }) })
2477
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_2301_162", children: /* @__PURE__ */ jsx("rect", { width: "64", height: "64", fill: "white" }) }) })
5447
2478
  ] });
5448
-
5449
- // src/shared/icons/sso/CanvasIcon.tsx
5450
- var import_jsx_runtime7 = __toESM(require_jsx_runtime());
5451
- var CanvasIcon = ({ size = 38 }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2479
+ var CanvasIcon = ({ size = 38 }) => /* @__PURE__ */ jsx(
5452
2480
  "svg",
5453
2481
  {
5454
2482
  xmlns: "http://www.w3.org/2000/svg",
@@ -5456,23 +2484,23 @@ var CanvasIcon = ({ size = 38 }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)
5456
2484
  height: size,
5457
2485
  viewBox: "0 0 38.000000 38.000000",
5458
2486
  preserveAspectRatio: "xMidYMid meet",
5459
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { transform: "translate(0.000000,38.000000) scale(0.100000,-0.100000)", fill: "#d04c36", children: [
5460
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M140 362 c0 -34 73 -44 90 -12 10 19 8 20 -40 20 -27 0 -50 -4 -50 -8z" }),
5461
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M59 322 c-33 -29 -33 -52 0 -52 35 0 67 59 41 75 -5 3 -23 -7 -41 -23z" }),
5462
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M272 318 c2 -25 9 -35 31 -42 44 -16 52 5 16 42 -40 40 -51 40 -47 0z" }),
5463
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M177 303 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
5464
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M107 273 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
5465
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M247 274 c-8 -8 1 -24 14 -24 5 0 9 7 9 15 0 15 -12 20 -23 9z" }),
5466
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 190 c0 -51 6 -60 28 -38 23 23 9 88 -20 88 -4 0 -8 -22 -8 -50z" }),
5467
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M330 221 c-15 -28 -12 -46 8 -64 28 -26 32 -21 32 33 0 54 -19 69 -40 31z" }),
5468
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M77 203 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
5469
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M277 204 c-8 -8 1 -24 14 -24 5 0 9 7 9 15 0 15 -12 20 -23 9z" }),
5470
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M106 133 c-11 -11 -6 -23 9 -23 8 0 15 4 15 9 0 13 -16 22 -24 14z" }),
5471
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M247 133 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
5472
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M30 102 c0 -5 14 -24 32 -41 37 -36 58 -28 42 16 -7 22 -17 29 -42 31 -17 2 -32 -1 -32 -6z" }),
5473
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M176 103 c-11 -11 -6 -23 9 -23 8 0 15 4 15 9 0 13 -16 22 -24 14z" }),
5474
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M282 98 c-13 -13 -17 -68 -4 -68 10 0 72 63 72 73 0 12 -55 8 -68 -5z" }),
5475
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M158 49 c-36 -21 -21 -39 32 -39 54 0 61 7 32 33 -21 19 -39 21 -64 6z" })
2487
+ children: /* @__PURE__ */ jsxs("g", { transform: "translate(0.000000,38.000000) scale(0.100000,-0.100000)", fill: "#d04c36", children: [
2488
+ /* @__PURE__ */ jsx("path", { d: "M140 362 c0 -34 73 -44 90 -12 10 19 8 20 -40 20 -27 0 -50 -4 -50 -8z" }),
2489
+ /* @__PURE__ */ jsx("path", { d: "M59 322 c-33 -29 -33 -52 0 -52 35 0 67 59 41 75 -5 3 -23 -7 -41 -23z" }),
2490
+ /* @__PURE__ */ jsx("path", { d: "M272 318 c2 -25 9 -35 31 -42 44 -16 52 5 16 42 -40 40 -51 40 -47 0z" }),
2491
+ /* @__PURE__ */ jsx("path", { d: "M177 303 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
2492
+ /* @__PURE__ */ jsx("path", { d: "M107 273 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
2493
+ /* @__PURE__ */ jsx("path", { d: "M247 274 c-8 -8 1 -24 14 -24 5 0 9 7 9 15 0 15 -12 20 -23 9z" }),
2494
+ /* @__PURE__ */ jsx("path", { d: "M10 190 c0 -51 6 -60 28 -38 23 23 9 88 -20 88 -4 0 -8 -22 -8 -50z" }),
2495
+ /* @__PURE__ */ jsx("path", { d: "M330 221 c-15 -28 -12 -46 8 -64 28 -26 32 -21 32 33 0 54 -19 69 -40 31z" }),
2496
+ /* @__PURE__ */ jsx("path", { d: "M77 203 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
2497
+ /* @__PURE__ */ jsx("path", { d: "M277 204 c-8 -8 1 -24 14 -24 5 0 9 7 9 15 0 15 -12 20 -23 9z" }),
2498
+ /* @__PURE__ */ jsx("path", { d: "M106 133 c-11 -11 -6 -23 9 -23 8 0 15 4 15 9 0 13 -16 22 -24 14z" }),
2499
+ /* @__PURE__ */ jsx("path", { d: "M247 133 c-12 -11 -8 -23 8 -23 8 0 15 7 15 15 0 16 -12 20 -23 8z" }),
2500
+ /* @__PURE__ */ jsx("path", { d: "M30 102 c0 -5 14 -24 32 -41 37 -36 58 -28 42 16 -7 22 -17 29 -42 31 -17 2 -32 -1 -32 -6z" }),
2501
+ /* @__PURE__ */ jsx("path", { d: "M176 103 c-11 -11 -6 -23 9 -23 8 0 15 4 15 9 0 13 -16 22 -24 14z" }),
2502
+ /* @__PURE__ */ jsx("path", { d: "M282 98 c-13 -13 -17 -68 -4 -68 10 0 72 63 72 73 0 12 -55 8 -68 -5z" }),
2503
+ /* @__PURE__ */ jsx("path", { d: "M158 49 c-36 -21 -21 -39 32 -39 54 0 61 7 32 33 -21 19 -39 21 -64 6z" })
5476
2504
  ] })
5477
2505
  }
5478
2506
  );
@@ -5485,11 +2513,8 @@ var SSO_CANVAS_CONFIG = {
5485
2513
  icon: CanvasIcon,
5486
2514
  getUrl: (envs) => envs.SCHOOLOGY_AUTH
5487
2515
  };
5488
-
5489
- // src/shared/icons/sso/QRCodeIcon.tsx
5490
- var import_jsx_runtime8 = __toESM(require_jsx_runtime());
5491
2516
  var QRCodeIcon = ({ size = 38 }) => {
5492
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2517
+ return /* @__PURE__ */ jsx(
5493
2518
  "svg",
5494
2519
  {
5495
2520
  width: size,
@@ -5497,7 +2522,7 @@ var QRCodeIcon = ({ size = 38 }) => {
5497
2522
  viewBox: "0 0 30 30",
5498
2523
  fill: "none",
5499
2524
  xmlns: "http://www.w3.org/2000/svg",
5500
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2525
+ children: /* @__PURE__ */ jsx(
5501
2526
  "path",
5502
2527
  {
5503
2528
  fillRule: "evenodd",
@@ -5547,12 +2572,9 @@ var LOCALE_AUTHWEB_US = {
5547
2572
  navigatorLanguages: ["en-SE" /* US */, "en", "es-US"],
5548
2573
  locale: "en-SE" /* US */
5549
2574
  };
5550
-
5551
- // src/shared/icons/sso/SkolonIcon.tsx
5552
- var import_jsx_runtime9 = __toESM(require_jsx_runtime());
5553
2575
  var SkolonIcon = ({ size = 38 }) => {
5554
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: size, height: size, viewBox: "0 0 126 98", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5555
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2576
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 126 98", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2577
+ /* @__PURE__ */ jsx(
5556
2578
  "path",
5557
2579
  {
5558
2580
  fillRule: "evenodd",
@@ -5561,7 +2583,7 @@ var SkolonIcon = ({ size = 38 }) => {
5561
2583
  fill: "#33ADBB"
5562
2584
  }
5563
2585
  ),
5564
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2586
+ /* @__PURE__ */ jsx(
5565
2587
  "path",
5566
2588
  {
5567
2589
  fillRule: "evenodd",
@@ -5570,7 +2592,7 @@ var SkolonIcon = ({ size = 38 }) => {
5570
2592
  fill: "#E5797B"
5571
2593
  }
5572
2594
  ),
5573
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2595
+ /* @__PURE__ */ jsx(
5574
2596
  "path",
5575
2597
  {
5576
2598
  fillRule: "evenodd",
@@ -5579,7 +2601,7 @@ var SkolonIcon = ({ size = 38 }) => {
5579
2601
  fill: "#33ADBB"
5580
2602
  }
5581
2603
  ),
5582
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2604
+ /* @__PURE__ */ jsx(
5583
2605
  "path",
5584
2606
  {
5585
2607
  fillRule: "evenodd",
@@ -5588,14 +2610,14 @@ var SkolonIcon = ({ size = 38 }) => {
5588
2610
  fill: "#33ADBB"
5589
2611
  }
5590
2612
  ),
5591
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2613
+ /* @__PURE__ */ jsx(
5592
2614
  "path",
5593
2615
  {
5594
2616
  d: "M27.1054 38.7459C33.0739 38.7459 37.9124 33.9074 37.9124 27.9389C37.9124 25.9602 37.3806 24.1057 36.4522 22.5106C32.6946 22.2703 28.9848 24.5256 27.1054 26.781C27.1054 24.6257 28.4426 20.4645 31.4283 18.0311C30.1045 17.4527 28.6424 17.1318 27.1054 17.1318C21.1368 17.1318 16.2983 21.9703 16.2983 27.9389C16.2983 33.9074 21.1368 38.7459 27.1054 38.7459Z",
5595
2617
  fill: "#087F8D"
5596
2618
  }
5597
2619
  ),
5598
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2620
+ /* @__PURE__ */ jsx(
5599
2621
  "path",
5600
2622
  {
5601
2623
  d: "M98.8949 38.7459C104.863 38.7459 109.702 33.9074 109.702 27.9389C109.702 25.9602 109.17 24.1057 108.242 22.5106C104.484 22.2703 100.774 24.5256 98.8949 26.781C98.8949 24.6257 100.232 20.4645 103.218 18.0311C101.894 17.4527 100.432 17.1318 98.8949 17.1318C92.9264 17.1318 88.0879 21.9703 88.0879 27.9389C88.0879 33.9074 92.9264 38.7459 98.8949 38.7459Z",
@@ -5613,12 +2635,9 @@ var SSO_SKOLON_CONFIG = {
5613
2635
  icon: SkolonIcon,
5614
2636
  getUrl: (envs) => envs.SKOLON_AUTH
5615
2637
  };
5616
-
5617
- // src/shared/icons/sso/SkolfederationIcon.tsx
5618
- var import_jsx_runtime10 = __toESM(require_jsx_runtime());
5619
2638
  var SkolfederationIcon = ({ size = 38 }) => {
5620
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: size, height: size, viewBox: "0 0 160 160", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5621
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2639
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 160 160", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2640
+ /* @__PURE__ */ jsx(
5622
2641
  "path",
5623
2642
  {
5624
2643
  fillRule: "evenodd",
@@ -5627,7 +2646,7 @@ var SkolfederationIcon = ({ size = 38 }) => {
5627
2646
  fill: "#F17C1F"
5628
2647
  }
5629
2648
  ),
5630
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2649
+ /* @__PURE__ */ jsx(
5631
2650
  "path",
5632
2651
  {
5633
2652
  fillRule: "evenodd",
@@ -5651,34 +2670,31 @@ var SSO_SKOLFEDERATION_CONFIG = {
5651
2670
  return `${envs.SKOLFEDERATION_AUTH}?return=${returnUrl}`;
5652
2671
  }
5653
2672
  };
5654
-
5655
- // src/shared/icons/country/SwedenFlagIcon.tsx
5656
- var import_jsx_runtime11 = __toESM(require_jsx_runtime());
5657
- var SwedenFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5658
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("g", { clipPath: "url(#clip0_2301_243)", children: [
5659
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2673
+ var SwedenFlagIcon = ({ size = 64 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2674
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_2301_243)", children: [
2675
+ /* @__PURE__ */ jsx(
5660
2676
  "path",
5661
2677
  {
5662
2678
  d: "M32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",
5663
2679
  fill: "#FFDA44"
5664
2680
  }
5665
2681
  ),
5666
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2682
+ /* @__PURE__ */ jsx(
5667
2683
  "path",
5668
2684
  {
5669
2685
  d: "M25.0436 27.8261H63.7291C61.6837 12.1252 48.2583 0 32 0C29.6107 0 27.2833 0.264125 25.0435 0.760625L25.0436 27.8261Z",
5670
2686
  fill: "#0052B4"
5671
2687
  }
5672
2688
  ),
5673
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2689
+ /* @__PURE__ */ jsx(
5674
2690
  "path",
5675
2691
  {
5676
2692
  d: "M16.6957 27.8262V3.89111C7.909 8.68536 1.61887 17.4792 0.270996 27.8264L16.6957 27.8262Z",
5677
2693
  fill: "#0052B4"
5678
2694
  }
5679
2695
  ),
5680
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M16.6956 36.1738H0.270996C1.61887 46.521 7.909 55.3148 16.6957 60.109L16.6956 36.1738Z", fill: "#0052B4" }),
5681
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2696
+ /* @__PURE__ */ jsx("path", { d: "M16.6956 36.1738H0.270996C1.61887 46.521 7.909 55.3148 16.6957 60.109L16.6956 36.1738Z", fill: "#0052B4" }),
2697
+ /* @__PURE__ */ jsx(
5682
2698
  "path",
5683
2699
  {
5684
2700
  d: "M25.0435 36.174V63.2393C27.2833 63.7358 29.6107 64 32 64C48.2583 64 61.6837 51.8747 63.7291 36.1738H25.0435V36.174Z",
@@ -5686,7 +2702,7 @@ var SwedenFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg",
5686
2702
  }
5687
2703
  )
5688
2704
  ] }),
5689
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("clipPath", { id: "clip0_2301_243", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("rect", { width: "64", height: "64", fill: "white" }) }) })
2705
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_2301_243", children: /* @__PURE__ */ jsx("rect", { width: "64", height: "64", fill: "white" }) }) })
5690
2706
  ] });
5691
2707
 
5692
2708
  // src/configs/locale/auth-web/se/locale.se.ts
@@ -5709,11 +2725,8 @@ var LOCALE_AUTHWEB_SE = {
5709
2725
  navigatorLanguages: ["sv-SE" /* SE */, "sv"],
5710
2726
  locale: "sv-SE" /* SE */
5711
2727
  };
5712
-
5713
- // src/shared/icons/sso/WondeIcon.tsx
5714
- var import_jsx_runtime12 = __toESM(require_jsx_runtime());
5715
2728
  var WondeIcon = ({ size = 38 }) => {
5716
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2729
+ return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
5717
2730
  "path",
5718
2731
  {
5719
2732
  d: "M31.4531 2.06904C31.4531 1.5518 31.2462 1.05395 30.8777 0.688652C30.5092 0.320118 30.0113 0.116455 29.4876 0.116455H25.563C25.0426 0.116455 24.5447 0.323351 24.1762 0.688652C23.8077 1.05719 23.6008 1.5518 23.6008 2.06904V5.00115C23.6008 5.25977 23.4973 5.5087 23.313 5.69296C23.1288 5.87723 22.8798 5.97745 22.618 5.97745H20.6557C20.3939 5.97745 20.1482 5.874 19.9607 5.69296C19.7764 5.5087 19.673 5.26301 19.673 5.00115V2.06904C19.673 1.5518 19.4661 1.05395 19.0975 0.688652C18.729 0.320118 18.2311 0.116455 17.7107 0.116455H13.7861C13.2656 0.116455 12.7678 0.323351 12.396 0.688652C12.0275 1.05719 11.8206 1.5518 11.8206 2.06904V5.00115C11.8206 5.25977 11.7171 5.5087 11.5329 5.69296C11.3486 5.87723 11.0997 5.97745 10.8378 5.97745H8.87554C8.61368 5.97745 8.36799 5.874 8.18049 5.69296C7.99623 5.5087 7.89278 5.26301 7.89278 5.00115V2.06904C7.89278 1.5518 7.68588 1.05395 7.31735 0.688652C6.94881 0.320118 6.45097 0.116455 5.93049 0.116455H2.00916C1.48869 0.116455 0.99084 0.323351 0.622306 0.688652C0.253771 1.05719 0.046875 1.5518 0.046875 2.06904V5.97745C0.046875 7.93326 2.00916 9.88585 2.00916 11.8417C2.00916 13.7975 0.046875 19.6585 0.046875 27.4753V29.4311C0.046875 29.9484 0.253771 30.4462 0.622306 30.8115C0.99084 31.18 1.48869 31.3837 2.00916 31.3837H7.89601C8.41649 31.3837 8.91433 31.1768 9.2861 30.8115C9.65463 30.443 9.86153 29.9484 9.86153 29.4311V25.5227C9.86153 20.6348 11.8238 17.7059 15.7484 17.7059C19.673 17.7059 21.6352 20.638 21.6352 25.5227V29.4311C21.6352 29.9484 21.8421 30.4462 22.2107 30.8115C22.5792 31.18 23.077 31.3837 23.5975 31.3837H29.4844C30.0049 31.3837 30.5027 31.1768 30.8745 30.8115C31.243 30.443 31.4499 29.9484 31.4499 29.4311V27.4753C31.4499 19.6585 29.4876 13.7943 29.4876 11.8417C29.4876 9.88908 31.4499 7.93326 31.4499 5.97745V2.06904H31.4531ZM25.2559 13.2576L23.8238 13.7328L23.646 13.8427L23.5361 14.0206L23.0577 15.4462C23.0286 15.5367 22.9704 15.6175 22.8928 15.6725C22.8152 15.7274 22.7214 15.7598 22.6245 15.7598C22.5275 15.7598 22.4337 15.7274 22.3561 15.6725C22.2786 15.6175 22.2204 15.5367 22.1913 15.4462L21.7128 14.0206L21.6029 13.8427L21.4251 13.7328L19.9995 13.2576C19.9089 13.2285 19.8281 13.1703 19.7732 13.0927C19.715 13.0152 19.6859 12.9214 19.6859 12.8277C19.6859 12.7339 19.7182 12.6402 19.7732 12.5626C19.8314 12.485 19.9089 12.4268 19.9995 12.3977L21.4316 11.9193L21.6094 11.8093L21.7193 11.6315L22.1977 10.2027C22.2268 10.1121 22.285 10.0313 22.3626 9.97637C22.4402 9.92141 22.5339 9.88908 22.6309 9.88908C22.7279 9.88908 22.8217 9.92141 22.8992 9.97637C22.9768 10.0313 23.035 10.1121 23.0641 10.2027L23.5426 11.6315L23.6525 11.8093L23.8303 11.9193L25.2624 12.3977C25.3529 12.43 25.4337 12.485 25.4887 12.5626C25.5436 12.6402 25.576 12.7339 25.5727 12.8309C25.5727 12.9246 25.5404 13.0184 25.4855 13.096C25.4273 13.1736 25.3497 13.2318 25.2592 13.2609",
@@ -5730,19 +2743,16 @@ var SSO_WONDE_CONFIG = {
5730
2743
  icon: WondeIcon,
5731
2744
  getUrl: (envs) => envs.WONDE_AUTH
5732
2745
  };
5733
-
5734
- // src/shared/icons/country/UKFlagIcon.tsx
5735
- var import_jsx_runtime13 = __toESM(require_jsx_runtime());
5736
- var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5737
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("g", { clipPath: "url(#clip0_2301_261)", children: [
5738
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2746
+ var UKFlagIcon = ({ size = 64 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2747
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_2301_261)", children: [
2748
+ /* @__PURE__ */ jsx(
5739
2749
  "path",
5740
2750
  {
5741
2751
  d: "M31.9999 63.6483C49.4788 63.6483 63.6483 49.4788 63.6483 31.9999C63.6483 14.521 49.4788 0.351562 31.9999 0.351562C14.521 0.351562 0.351562 14.521 0.351562 31.9999C0.351562 49.4788 14.521 63.6483 31.9999 63.6483Z",
5742
2752
  fill: "#346DA6"
5743
2753
  }
5744
2754
  ),
5745
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2755
+ /* @__PURE__ */ jsx(
5746
2756
  "path",
5747
2757
  {
5748
2758
  fillRule: "evenodd",
@@ -5751,7 +2761,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5751
2761
  fill: "white"
5752
2762
  }
5753
2763
  ),
5754
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2764
+ /* @__PURE__ */ jsx(
5755
2765
  "path",
5756
2766
  {
5757
2767
  fillRule: "evenodd",
@@ -5760,7 +2770,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5760
2770
  fill: "white"
5761
2771
  }
5762
2772
  ),
5763
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2773
+ /* @__PURE__ */ jsx(
5764
2774
  "path",
5765
2775
  {
5766
2776
  fillRule: "evenodd",
@@ -5769,7 +2779,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5769
2779
  fill: "#CA4638"
5770
2780
  }
5771
2781
  ),
5772
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2782
+ /* @__PURE__ */ jsx(
5773
2783
  "path",
5774
2784
  {
5775
2785
  fillRule: "evenodd",
@@ -5778,7 +2788,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5778
2788
  fill: "#CA4638"
5779
2789
  }
5780
2790
  ),
5781
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2791
+ /* @__PURE__ */ jsx(
5782
2792
  "path",
5783
2793
  {
5784
2794
  fillRule: "evenodd",
@@ -5787,7 +2797,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5787
2797
  fill: "#CA4638"
5788
2798
  }
5789
2799
  ),
5790
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2800
+ /* @__PURE__ */ jsx(
5791
2801
  "path",
5792
2802
  {
5793
2803
  fillRule: "evenodd",
@@ -5796,7 +2806,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5796
2806
  fill: "#CA4638"
5797
2807
  }
5798
2808
  ),
5799
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2809
+ /* @__PURE__ */ jsx(
5800
2810
  "path",
5801
2811
  {
5802
2812
  fillRule: "evenodd",
@@ -5805,7 +2815,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5805
2815
  fill: "white"
5806
2816
  }
5807
2817
  ),
5808
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2818
+ /* @__PURE__ */ jsx(
5809
2819
  "path",
5810
2820
  {
5811
2821
  fillRule: "evenodd",
@@ -5814,7 +2824,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5814
2824
  fill: "white"
5815
2825
  }
5816
2826
  ),
5817
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2827
+ /* @__PURE__ */ jsx(
5818
2828
  "path",
5819
2829
  {
5820
2830
  fillRule: "evenodd",
@@ -5823,7 +2833,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5823
2833
  fill: "#CA4638"
5824
2834
  }
5825
2835
  ),
5826
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2836
+ /* @__PURE__ */ jsx(
5827
2837
  "path",
5828
2838
  {
5829
2839
  fillRule: "evenodd",
@@ -5833,7 +2843,7 @@ var UKFlagIcon = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { w
5833
2843
  }
5834
2844
  )
5835
2845
  ] }),
5836
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("clipPath", { id: "clip0_2301_261", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { width: "64", height: "64", fill: "white" }) }) })
2846
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_2301_261", children: /* @__PURE__ */ jsx("rect", { width: "64", height: "64", fill: "white" }) }) })
5837
2847
  ] });
5838
2848
 
5839
2849
  // src/configs/locale/auth-web/gb/locale.gb.ts
@@ -5856,17 +2866,32 @@ var LOCALE_AUTHWEB_GB = {
5856
2866
  navigatorLanguages: ["en-GB" /* GB */, "en-IE", "gd"],
5857
2867
  locale: "en-GB" /* GB */
5858
2868
  };
5859
-
5860
- // src/shared/icons/country/CanadaFlagIcon.tsx
5861
- var import_jsx_runtime14 = __toESM(require_jsx_runtime());
5862
- var CanadaFlagIcon = ({ size = 64 }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5863
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("g", { clipPath: "url(#clip0_1145_3364)", children: [
5864
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z", fill: "#F0F0F0" }),
5865
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M32 16C32 9.65662 28.3084 4.17563 22.9565 1.58763V30.4123C28.3084 27.8244 32 22.3434 32 16Z", fill: "#D80027" }),
5866
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M0 16C0 22.3434 3.69156 27.8244 9.0435 30.4124V1.58763C3.69156 4.17563 0 9.65662 0 16Z", fill: "#D80027" }),
5867
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M18.7826 16.7391L21.5652 15.3478L20.1739 14.6522V13.2609L17.3913 14.6522L18.7826 11.8696H17.3913L16 9.78263L14.6087 11.8696H13.2174L14.6087 14.6522L11.8261 13.2609V14.6522L10.4348 15.3478L13.2174 16.7391L12.5218 18.1304H15.3044V20.2174H16.6956V18.1304H19.4783L18.7826 16.7391Z", fill: "#D80027" })
2869
+ var CanadaFlagIcon = ({ size = 64 }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2870
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_1145_3364)", children: [
2871
+ /* @__PURE__ */ jsx(
2872
+ "path",
2873
+ {
2874
+ d: "M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",
2875
+ fill: "#F0F0F0"
2876
+ }
2877
+ ),
2878
+ /* @__PURE__ */ jsx(
2879
+ "path",
2880
+ {
2881
+ d: "M32 16C32 9.65662 28.3084 4.17563 22.9565 1.58763V30.4123C28.3084 27.8244 32 22.3434 32 16Z",
2882
+ fill: "#D80027"
2883
+ }
2884
+ ),
2885
+ /* @__PURE__ */ jsx("path", { d: "M0 16C0 22.3434 3.69156 27.8244 9.0435 30.4124V1.58763C3.69156 4.17563 0 9.65662 0 16Z", fill: "#D80027" }),
2886
+ /* @__PURE__ */ jsx(
2887
+ "path",
2888
+ {
2889
+ d: "M18.7826 16.7391L21.5652 15.3478L20.1739 14.6522V13.2609L17.3913 14.6522L18.7826 11.8696H17.3913L16 9.78263L14.6087 11.8696H13.2174L14.6087 14.6522L11.8261 13.2609V14.6522L10.4348 15.3478L13.2174 16.7391L12.5218 18.1304H15.3044V20.2174H16.6956V18.1304H19.4783L18.7826 16.7391Z",
2890
+ fill: "#D80027"
2891
+ }
2892
+ )
5868
2893
  ] }),
5869
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("clipPath", { id: "clip0_1145_3364", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { width: size, height: size, fill: "white" }) }) })
2894
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_1145_3364", children: /* @__PURE__ */ jsx("rect", { width: "32", height: "32", fill: "white" }) }) })
5870
2895
  ] });
5871
2896
 
5872
2897
  // src/configs/locale/auth-web/ca/locale.ca.ts
@@ -5897,26 +2922,23 @@ var LOCALE_AUTHWEB_CA = {
5897
2922
  navigatorLanguages: ["en-CA" /* CA */, "fr-CA"],
5898
2923
  locale: "en-CA" /* CA */
5899
2924
  };
5900
-
5901
- // src/shared/icons/country/GermanFlagIcon.tsx
5902
- var import_jsx_runtime15 = __toESM(require_jsx_runtime());
5903
- var GermanFlagIcon = ({ size = 64 }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 65 65", fill: "none", children: [
5904
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("g", { clipPath: "url(#clip0_6508_19459)", children: [
5905
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2925
+ var GermanFlagIcon = ({ size = 64 }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 65 65", fill: "none", children: [
2926
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_6508_19459)", children: [
2927
+ /* @__PURE__ */ jsx(
5906
2928
  "path",
5907
2929
  {
5908
2930
  d: "M2.02344 43.8064C6.61546 56.1823 18.5281 65.0022 32.502 65.0022C46.4758 65.0022 58.3885 56.1823 62.9805 43.8064L32.502 40.9805L2.02344 43.8064Z",
5909
2931
  fill: "#FFDA44"
5910
2932
  }
5911
2933
  ),
5912
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2934
+ /* @__PURE__ */ jsx(
5913
2935
  "path",
5914
2936
  {
5915
2937
  d: "M32.502 0C18.5281 0 6.61546 8.81969 2.02344 21.1957L32.502 24.0217L62.9805 21.1956C58.3885 8.81969 46.4758 0 32.502 0Z",
5916
2938
  fill: "black"
5917
2939
  }
5918
2940
  ),
5919
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2941
+ /* @__PURE__ */ jsx(
5920
2942
  "path",
5921
2943
  {
5922
2944
  d: "M2.02147 21.1914C0.715127 24.7122 0 28.5203 0 32.4957C0 36.4711 0.715127 40.2792 2.02147 43.8H62.9787C64.285 40.2792 65 36.4711 65 32.4957C65 28.5203 64.285 24.7122 62.9785 21.1914H2.02147Z",
@@ -5924,7 +2946,7 @@ var GermanFlagIcon = ({ size = 64 }) => /* @__PURE__ */ (0, import_jsx_runtime15
5924
2946
  }
5925
2947
  )
5926
2948
  ] }),
5927
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("clipPath", { id: "clip0_6508_19459", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("rect", { width: "65", height: "65", fill: "white" }) }) })
2949
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_6508_19459", children: /* @__PURE__ */ jsx("rect", { width: "65", height: "65", fill: "white" }) }) })
5928
2950
  ] });
5929
2951
 
5930
2952
  // src/configs/locale/auth-web/de/locale.de.ts
@@ -5969,6 +2991,66 @@ var LOCALE_AUTHWEB_SCT = {
5969
2991
  locale: "en-GB" /* GB */
5970
2992
  };
5971
2993
 
2994
+ // src/configs/locale/web-admin/us/locale.us.ts
2995
+ var LOCALE_WEB_ADMIN_US = {
2996
+ name: "English (US)",
2997
+ icon: USFlagIcon,
2998
+ locale: "en-SE" /* US */,
2999
+ isPrimaryRegion: true,
3000
+ regionGroup: "us",
3001
+ apiRegion: "MAIN" /* MAIN */
3002
+ };
3003
+
3004
+ // src/configs/locale/web-admin/se/locale.se.ts
3005
+ var LOCALE_WEB_ADMIN_SE = {
3006
+ name: "Swedish",
3007
+ icon: SwedenFlagIcon,
3008
+ locale: "sv-SE" /* SE */,
3009
+ isPrimaryRegion: true,
3010
+ regionGroup: "se",
3011
+ apiRegion: "MAIN" /* MAIN */
3012
+ };
3013
+
3014
+ // src/configs/locale/web-admin/gb/locale.gb.ts
3015
+ var LOCALE_WEB_ADMIN_GB = {
3016
+ name: "English (GB)",
3017
+ icon: UKFlagIcon,
3018
+ locale: "en-GB" /* GB */,
3019
+ isPrimaryRegion: true,
3020
+ regionGroup: "gb",
3021
+ apiRegion: "MAIN" /* MAIN */
3022
+ };
3023
+
3024
+ // src/configs/locale/web-admin/ca/locale.ca.ts
3025
+ var LOCALE_WEB_ADMIN_CA = {
3026
+ name: "Canada",
3027
+ icon: CanadaFlagIcon,
3028
+ locale: "en-CA" /* CA */,
3029
+ isPrimaryRegion: true,
3030
+ regionGroup: "ca",
3031
+ apiRegion: "CANADA" /* CANADA */
3032
+ };
3033
+
3034
+ // src/configs/locale/web-admin/sct/locale.sct.ts
3035
+ var LOCALE_WEB_ADMIN_SCT = {
3036
+ name: "English (SCT)",
3037
+ icon: UKFlagIcon,
3038
+ locale: "en-GB" /* GB */,
3039
+ isPrimaryRegion: false,
3040
+ regionGroup: "gb",
3041
+ apiRegion: "MAIN" /* MAIN */
3042
+ };
3043
+
3044
+ // src/configs/locale/web-admin/de/locale.de.ts
3045
+ var LOCALE_WEB_ADMIN_DE = {
3046
+ name: "German",
3047
+ icon: GermanFlagIcon,
3048
+ locale: "de-DE" /* DE */,
3049
+ isPrimaryRegion: true,
3050
+ regionGroup: "de",
3051
+ apiRegion: "MAIN" /* MAIN */
3052
+ };
3053
+
5972
3054
  // src/configs/locale/locale.preset.ts
5973
3055
  var LOCALE_PRESET = {
5974
3056
  ["STUDENTS" /* STUDENTS_WEB */]: {
@@ -6003,6 +3085,14 @@ var LOCALE_PRESET = {
6003
3085
  ["en-SCT" /* SCT */]: LOCALE_AUTHWEB_SCT,
6004
3086
  ["de-DE" /* DE */]: LOCALE_AUTHWEB_DE
6005
3087
  },
3088
+ ["WEB_ADMIN" /* WEB_ADMIN */]: {
3089
+ ["en-SE" /* US */]: LOCALE_WEB_ADMIN_US,
3090
+ ["sv-SE" /* SE */]: LOCALE_WEB_ADMIN_SE,
3091
+ ["en-GB" /* GB */]: LOCALE_WEB_ADMIN_GB,
3092
+ ["en-CA" /* CA */]: LOCALE_WEB_ADMIN_CA,
3093
+ ["en-SCT" /* SCT */]: LOCALE_WEB_ADMIN_SCT,
3094
+ ["de-DE" /* DE */]: LOCALE_WEB_ADMIN_DE
3095
+ },
6006
3096
  ["MOBILE" /* MOBILE */]: {
6007
3097
  ["en-SE" /* US */]: LOCALE_AUTHWEB_US,
6008
3098
  ["sv-SE" /* SE */]: LOCALE_AUTHWEB_SE,
@@ -6086,53 +3176,7 @@ var AppConfigManager = class {
6086
3176
  return { envPreset, localePreset: LOCALE_PRESET };
6087
3177
  };
6088
3178
  };
6089
- /*! Bundled license information:
6090
-
6091
- react/cjs/react.production.min.js:
6092
- (**
6093
- * @license React
6094
- * react.production.min.js
6095
- *
6096
- * Copyright (c) Facebook, Inc. and its affiliates.
6097
- *
6098
- * This source code is licensed under the MIT license found in the
6099
- * LICENSE file in the root directory of this source tree.
6100
- *)
6101
-
6102
- react/cjs/react.development.js:
6103
- (**
6104
- * @license React
6105
- * react.development.js
6106
- *
6107
- * Copyright (c) Facebook, Inc. and its affiliates.
6108
- *
6109
- * This source code is licensed under the MIT license found in the
6110
- * LICENSE file in the root directory of this source tree.
6111
- *)
6112
-
6113
- react/cjs/react-jsx-runtime.production.min.js:
6114
- (**
6115
- * @license React
6116
- * react-jsx-runtime.production.min.js
6117
- *
6118
- * Copyright (c) Facebook, Inc. and its affiliates.
6119
- *
6120
- * This source code is licensed under the MIT license found in the
6121
- * LICENSE file in the root directory of this source tree.
6122
- *)
6123
-
6124
- react/cjs/react-jsx-runtime.development.js:
6125
- (**
6126
- * @license React
6127
- * react-jsx-runtime.development.js
6128
- *
6129
- * Copyright (c) Facebook, Inc. and its affiliates.
6130
- *
6131
- * This source code is licensed under the MIT license found in the
6132
- * LICENSE file in the root directory of this source tree.
6133
- *)
6134
- */
6135
-
6136
- export { AppConfigManager, DateFormat, DateLocale, Environment, Locale, LoginSource, MatrixMode, Platform, PlatformBuildTarget, SSO, Source, buildTargetToEnvironment };
3179
+
3180
+ export { ApiRegion, AppConfigManager, DateFormat, DateLocale, Environment, Locale, LoginSource, MatrixMode, Platform, PlatformBuildTarget, SSO, Source, buildTargetToEnvironment };
6137
3181
  //# sourceMappingURL=index.mjs.map
6138
3182
  //# sourceMappingURL=index.mjs.map