urfu-ui-kit-react 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/urfu-ui-kit-react.js +1347 -1160
- package/package.json +18 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function ln(
|
|
2
|
-
return
|
|
1
|
+
function ln(s) {
|
|
2
|
+
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
3
3
|
}
|
|
4
4
|
var Kr = { exports: {} }, rr = {}, Jr = { exports: {} }, U = {};
|
|
5
5
|
/**
|
|
@@ -16,58 +16,58 @@ function fn() {
|
|
|
16
16
|
if (Rt)
|
|
17
17
|
return U;
|
|
18
18
|
Rt = 1;
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
return r === null || typeof r != "object" ? null : (r =
|
|
19
|
+
var s = Symbol.for("react.element"), p = Symbol.for("react.portal"), F = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), D = Symbol.for("react.context"), P = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), I = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), x = Symbol.iterator;
|
|
20
|
+
function L(r) {
|
|
21
|
+
return r === null || typeof r != "object" ? null : (r = x && r[x] || r["@@iterator"], typeof r == "function" ? r : null);
|
|
22
22
|
}
|
|
23
23
|
var q = { isMounted: function() {
|
|
24
24
|
return !1;
|
|
25
25
|
}, enqueueForceUpdate: function() {
|
|
26
26
|
}, enqueueReplaceState: function() {
|
|
27
27
|
}, enqueueSetState: function() {
|
|
28
|
-
} },
|
|
29
|
-
function
|
|
30
|
-
this.props = r, this.context = a, this.refs =
|
|
28
|
+
} }, re = Object.assign, N = {};
|
|
29
|
+
function X(r, a, f) {
|
|
30
|
+
this.props = r, this.context = a, this.refs = N, this.updater = f || q;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
X.prototype.isReactComponent = {}, X.prototype.setState = function(r, a) {
|
|
33
33
|
if (typeof r != "object" && typeof r != "function" && r != null)
|
|
34
34
|
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
35
35
|
this.updater.enqueueSetState(this, r, a, "setState");
|
|
36
|
-
},
|
|
36
|
+
}, X.prototype.forceUpdate = function(r) {
|
|
37
37
|
this.updater.enqueueForceUpdate(this, r, "forceUpdate");
|
|
38
38
|
};
|
|
39
|
-
function
|
|
39
|
+
function ne() {
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
function
|
|
43
|
-
this.props = r, this.context = a, this.refs =
|
|
41
|
+
ne.prototype = X.prototype;
|
|
42
|
+
function Q(r, a, f) {
|
|
43
|
+
this.props = r, this.context = a, this.refs = N, this.updater = f || q;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
var H = Array.isArray,
|
|
48
|
-
function
|
|
49
|
-
var
|
|
45
|
+
var te = Q.prototype = new ne();
|
|
46
|
+
te.constructor = Q, re(te, X.prototype), te.isPureReactComponent = !0;
|
|
47
|
+
var H = Array.isArray, c = Object.prototype.hasOwnProperty, ie = { current: null }, _e = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
48
|
+
function Re(r, a, f) {
|
|
49
|
+
var m, d = {}, O = null, b = null;
|
|
50
50
|
if (a != null)
|
|
51
|
-
for (
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
if (
|
|
51
|
+
for (m in a.ref !== void 0 && (b = a.ref), a.key !== void 0 && (O = "" + a.key), a)
|
|
52
|
+
c.call(a, m) && !_e.hasOwnProperty(m) && (d[m] = a[m]);
|
|
53
|
+
var h = arguments.length - 2;
|
|
54
|
+
if (h === 1)
|
|
55
55
|
d.children = f;
|
|
56
|
-
else if (1 <
|
|
57
|
-
for (var
|
|
58
|
-
|
|
59
|
-
d.children =
|
|
56
|
+
else if (1 < h) {
|
|
57
|
+
for (var _ = Array(h), A = 0; A < h; A++)
|
|
58
|
+
_[A] = arguments[A + 2];
|
|
59
|
+
d.children = _;
|
|
60
60
|
}
|
|
61
61
|
if (r && r.defaultProps)
|
|
62
|
-
for (
|
|
63
|
-
d[
|
|
64
|
-
return { $$typeof:
|
|
62
|
+
for (m in h = r.defaultProps, h)
|
|
63
|
+
d[m] === void 0 && (d[m] = h[m]);
|
|
64
|
+
return { $$typeof: s, type: r, key: O, ref: b, props: d, _owner: ie.current };
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
return { $$typeof:
|
|
66
|
+
function we(r, a) {
|
|
67
|
+
return { $$typeof: s, type: r.type, key: a, ref: r.ref, props: r.props, _owner: r._owner };
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
return typeof r == "object" && r !== null && r.$$typeof ===
|
|
69
|
+
function Ce(r) {
|
|
70
|
+
return typeof r == "object" && r !== null && r.$$typeof === s;
|
|
71
71
|
}
|
|
72
72
|
function xe(r) {
|
|
73
73
|
var a = { "=": "=0", ":": "=2" };
|
|
@@ -76,54 +76,54 @@ function fn() {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
var Te = /\/+/g;
|
|
79
|
-
function
|
|
79
|
+
function ve(r, a) {
|
|
80
80
|
return typeof r == "object" && r !== null && r.key != null ? xe("" + r.key) : a.toString(36);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
var
|
|
84
|
-
(
|
|
85
|
-
var
|
|
82
|
+
function fe(r, a, f, m, d) {
|
|
83
|
+
var O = typeof r;
|
|
84
|
+
(O === "undefined" || O === "boolean") && (r = null);
|
|
85
|
+
var b = !1;
|
|
86
86
|
if (r === null)
|
|
87
|
-
|
|
87
|
+
b = !0;
|
|
88
88
|
else
|
|
89
|
-
switch (
|
|
89
|
+
switch (O) {
|
|
90
90
|
case "string":
|
|
91
91
|
case "number":
|
|
92
|
-
|
|
92
|
+
b = !0;
|
|
93
93
|
break;
|
|
94
94
|
case "object":
|
|
95
95
|
switch (r.$$typeof) {
|
|
96
|
-
case
|
|
97
|
-
case
|
|
98
|
-
|
|
96
|
+
case s:
|
|
97
|
+
case p:
|
|
98
|
+
b = !0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
102
|
-
return
|
|
103
|
-
return
|
|
104
|
-
})) : d != null && (
|
|
105
|
-
if (
|
|
106
|
-
for (var
|
|
107
|
-
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
else if (
|
|
112
|
-
for (r =
|
|
113
|
-
|
|
114
|
-
else if (
|
|
101
|
+
if (b)
|
|
102
|
+
return b = r, d = d(b), r = m === "" ? "." + ve(b, 0) : m, H(d) ? (f = "", r != null && (f = r.replace(Te, "$&/") + "/"), fe(d, a, f, "", function(A) {
|
|
103
|
+
return A;
|
|
104
|
+
})) : d != null && (Ce(d) && (d = we(d, f + (!d.key || b && b.key === d.key ? "" : ("" + d.key).replace(Te, "$&/") + "/") + r)), a.push(d)), 1;
|
|
105
|
+
if (b = 0, m = m === "" ? "." : m + ":", H(r))
|
|
106
|
+
for (var h = 0; h < r.length; h++) {
|
|
107
|
+
O = r[h];
|
|
108
|
+
var _ = m + ve(O, h);
|
|
109
|
+
b += fe(O, a, f, _, d);
|
|
110
|
+
}
|
|
111
|
+
else if (_ = L(r), typeof _ == "function")
|
|
112
|
+
for (r = _.call(r), h = 0; !(O = r.next()).done; )
|
|
113
|
+
O = O.value, _ = m + ve(O, h++), b += fe(O, a, f, _, d);
|
|
114
|
+
else if (O === "object")
|
|
115
115
|
throw a = String(r), Error("Objects are not valid as a React child (found: " + (a === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : a) + "). If you meant to render a collection of children, use an array instead.");
|
|
116
|
-
return
|
|
116
|
+
return b;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function de(r, a, f) {
|
|
119
119
|
if (r == null)
|
|
120
120
|
return r;
|
|
121
|
-
var
|
|
122
|
-
return
|
|
123
|
-
return a.call(f,
|
|
124
|
-
}),
|
|
121
|
+
var m = [], d = 0;
|
|
122
|
+
return fe(r, m, "", "", function(O) {
|
|
123
|
+
return a.call(f, O, d++);
|
|
124
|
+
}), m;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function ce(r) {
|
|
127
127
|
if (r._status === -1) {
|
|
128
128
|
var a = r._result;
|
|
129
129
|
a = a(), a.then(function(f) {
|
|
@@ -136,96 +136,96 @@ function fn() {
|
|
|
136
136
|
return r._result.default;
|
|
137
137
|
throw r._result;
|
|
138
138
|
}
|
|
139
|
-
var
|
|
140
|
-
return U.Children = { map:
|
|
141
|
-
|
|
139
|
+
var S = { current: null }, be = { transition: null }, Se = { ReactCurrentDispatcher: S, ReactCurrentBatchConfig: be, ReactCurrentOwner: ie };
|
|
140
|
+
return U.Children = { map: de, forEach: function(r, a, f) {
|
|
141
|
+
de(r, function() {
|
|
142
142
|
a.apply(this, arguments);
|
|
143
143
|
}, f);
|
|
144
144
|
}, count: function(r) {
|
|
145
145
|
var a = 0;
|
|
146
|
-
return
|
|
146
|
+
return de(r, function() {
|
|
147
147
|
a++;
|
|
148
148
|
}), a;
|
|
149
149
|
}, toArray: function(r) {
|
|
150
|
-
return
|
|
150
|
+
return de(r, function(a) {
|
|
151
151
|
return a;
|
|
152
152
|
}) || [];
|
|
153
153
|
}, only: function(r) {
|
|
154
|
-
if (!
|
|
154
|
+
if (!Ce(r))
|
|
155
155
|
throw Error("React.Children.only expected to receive a single React element child.");
|
|
156
156
|
return r;
|
|
157
|
-
} }, U.Component =
|
|
157
|
+
} }, U.Component = X, U.Fragment = F, U.Profiler = j, U.PureComponent = Q, U.StrictMode = w, U.Suspense = k, U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Se, U.cloneElement = function(r, a, f) {
|
|
158
158
|
if (r == null)
|
|
159
159
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + r + ".");
|
|
160
|
-
var
|
|
160
|
+
var m = re({}, r.props), d = r.key, O = r.ref, b = r._owner;
|
|
161
161
|
if (a != null) {
|
|
162
|
-
if (a.ref !== void 0 && (
|
|
163
|
-
var
|
|
164
|
-
for (
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
var
|
|
168
|
-
if (
|
|
169
|
-
|
|
170
|
-
else if (1 <
|
|
171
|
-
|
|
172
|
-
for (var
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
return { $$typeof:
|
|
162
|
+
if (a.ref !== void 0 && (O = a.ref, b = ie.current), a.key !== void 0 && (d = "" + a.key), r.type && r.type.defaultProps)
|
|
163
|
+
var h = r.type.defaultProps;
|
|
164
|
+
for (_ in a)
|
|
165
|
+
c.call(a, _) && !_e.hasOwnProperty(_) && (m[_] = a[_] === void 0 && h !== void 0 ? h[_] : a[_]);
|
|
166
|
+
}
|
|
167
|
+
var _ = arguments.length - 2;
|
|
168
|
+
if (_ === 1)
|
|
169
|
+
m.children = f;
|
|
170
|
+
else if (1 < _) {
|
|
171
|
+
h = Array(_);
|
|
172
|
+
for (var A = 0; A < _; A++)
|
|
173
|
+
h[A] = arguments[A + 2];
|
|
174
|
+
m.children = h;
|
|
175
|
+
}
|
|
176
|
+
return { $$typeof: s, type: r.type, key: d, ref: O, props: m, _owner: b };
|
|
177
177
|
}, U.createContext = function(r) {
|
|
178
|
-
return r = { $$typeof: D, _currentValue: r, _currentValue2: r, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, r.Provider = { $$typeof:
|
|
179
|
-
}, U.createElement =
|
|
180
|
-
var a =
|
|
178
|
+
return r = { $$typeof: D, _currentValue: r, _currentValue2: r, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, r.Provider = { $$typeof: C, _context: r }, r.Consumer = r;
|
|
179
|
+
}, U.createElement = Re, U.createFactory = function(r) {
|
|
180
|
+
var a = Re.bind(null, r);
|
|
181
181
|
return a.type = r, a;
|
|
182
182
|
}, U.createRef = function() {
|
|
183
183
|
return { current: null };
|
|
184
184
|
}, U.forwardRef = function(r) {
|
|
185
|
-
return { $$typeof:
|
|
186
|
-
}, U.isValidElement =
|
|
187
|
-
return { $$typeof: T, _payload: { _status: -1, _result: r }, _init:
|
|
185
|
+
return { $$typeof: P, render: r };
|
|
186
|
+
}, U.isValidElement = Ce, U.lazy = function(r) {
|
|
187
|
+
return { $$typeof: T, _payload: { _status: -1, _result: r }, _init: ce };
|
|
188
188
|
}, U.memo = function(r, a) {
|
|
189
189
|
return { $$typeof: I, type: r, compare: a === void 0 ? null : a };
|
|
190
190
|
}, U.startTransition = function(r) {
|
|
191
|
-
var a =
|
|
192
|
-
|
|
191
|
+
var a = be.transition;
|
|
192
|
+
be.transition = {};
|
|
193
193
|
try {
|
|
194
194
|
r();
|
|
195
195
|
} finally {
|
|
196
|
-
|
|
196
|
+
be.transition = a;
|
|
197
197
|
}
|
|
198
198
|
}, U.unstable_act = function() {
|
|
199
199
|
throw Error("act(...) is not supported in production builds of React.");
|
|
200
200
|
}, U.useCallback = function(r, a) {
|
|
201
|
-
return
|
|
201
|
+
return S.current.useCallback(r, a);
|
|
202
202
|
}, U.useContext = function(r) {
|
|
203
|
-
return
|
|
203
|
+
return S.current.useContext(r);
|
|
204
204
|
}, U.useDebugValue = function() {
|
|
205
205
|
}, U.useDeferredValue = function(r) {
|
|
206
|
-
return
|
|
206
|
+
return S.current.useDeferredValue(r);
|
|
207
207
|
}, U.useEffect = function(r, a) {
|
|
208
|
-
return
|
|
208
|
+
return S.current.useEffect(r, a);
|
|
209
209
|
}, U.useId = function() {
|
|
210
|
-
return
|
|
210
|
+
return S.current.useId();
|
|
211
211
|
}, U.useImperativeHandle = function(r, a, f) {
|
|
212
|
-
return
|
|
212
|
+
return S.current.useImperativeHandle(r, a, f);
|
|
213
213
|
}, U.useInsertionEffect = function(r, a) {
|
|
214
|
-
return
|
|
214
|
+
return S.current.useInsertionEffect(r, a);
|
|
215
215
|
}, U.useLayoutEffect = function(r, a) {
|
|
216
|
-
return
|
|
216
|
+
return S.current.useLayoutEffect(r, a);
|
|
217
217
|
}, U.useMemo = function(r, a) {
|
|
218
|
-
return
|
|
218
|
+
return S.current.useMemo(r, a);
|
|
219
219
|
}, U.useReducer = function(r, a, f) {
|
|
220
|
-
return
|
|
220
|
+
return S.current.useReducer(r, a, f);
|
|
221
221
|
}, U.useRef = function(r) {
|
|
222
|
-
return
|
|
222
|
+
return S.current.useRef(r);
|
|
223
223
|
}, U.useState = function(r) {
|
|
224
|
-
return
|
|
224
|
+
return S.current.useState(r);
|
|
225
225
|
}, U.useSyncExternalStore = function(r, a, f) {
|
|
226
|
-
return
|
|
226
|
+
return S.current.useSyncExternalStore(r, a, f);
|
|
227
227
|
}, U.useTransition = function() {
|
|
228
|
-
return
|
|
228
|
+
return S.current.useTransition();
|
|
229
229
|
}, U.version = "18.2.0", U;
|
|
230
230
|
}
|
|
231
231
|
var nr = { exports: {} };
|
|
@@ -239,19 +239,19 @@ var nr = { exports: {} };
|
|
|
239
239
|
* LICENSE file in the root directory of this source tree.
|
|
240
240
|
*/
|
|
241
241
|
nr.exports;
|
|
242
|
-
var
|
|
242
|
+
var wt;
|
|
243
243
|
function dn() {
|
|
244
|
-
return
|
|
244
|
+
return wt || (wt = 1, function(s, p) {
|
|
245
245
|
process.env.NODE_ENV !== "production" && function() {
|
|
246
246
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
247
|
-
var
|
|
248
|
-
function
|
|
247
|
+
var F = "18.2.0", w = Symbol.for("react.element"), j = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), I = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), X = Symbol.iterator, ne = "@@iterator";
|
|
248
|
+
function Q(e) {
|
|
249
249
|
if (e === null || typeof e != "object")
|
|
250
250
|
return null;
|
|
251
|
-
var t =
|
|
251
|
+
var t = X && e[X] || e[ne];
|
|
252
252
|
return typeof t == "function" ? t : null;
|
|
253
253
|
}
|
|
254
|
-
var
|
|
254
|
+
var te = {
|
|
255
255
|
/**
|
|
256
256
|
* @internal
|
|
257
257
|
* @type {ReactComponent}
|
|
@@ -259,66 +259,66 @@ function dn() {
|
|
|
259
259
|
current: null
|
|
260
260
|
}, H = {
|
|
261
261
|
transition: null
|
|
262
|
-
},
|
|
262
|
+
}, c = {
|
|
263
263
|
current: null,
|
|
264
264
|
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
265
265
|
isBatchingLegacy: !1,
|
|
266
266
|
didScheduleLegacyUpdate: !1
|
|
267
|
-
},
|
|
267
|
+
}, ie = {
|
|
268
268
|
/**
|
|
269
269
|
* @internal
|
|
270
270
|
* @type {ReactComponent}
|
|
271
271
|
*/
|
|
272
272
|
current: null
|
|
273
|
-
},
|
|
274
|
-
function
|
|
275
|
-
|
|
273
|
+
}, _e = {}, Re = null;
|
|
274
|
+
function we(e) {
|
|
275
|
+
Re = e;
|
|
276
276
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
},
|
|
277
|
+
_e.setExtraStackFrame = function(e) {
|
|
278
|
+
Re = e;
|
|
279
|
+
}, _e.getCurrentStack = null, _e.getStackAddendum = function() {
|
|
280
280
|
var e = "";
|
|
281
|
-
|
|
282
|
-
var t =
|
|
281
|
+
Re && (e += Re);
|
|
282
|
+
var t = _e.getCurrentStack;
|
|
283
283
|
return t && (e += t() || ""), e;
|
|
284
284
|
};
|
|
285
|
-
var
|
|
286
|
-
ReactCurrentDispatcher:
|
|
285
|
+
var Ce = !1, xe = !1, Te = !1, ve = !1, fe = !1, de = {
|
|
286
|
+
ReactCurrentDispatcher: te,
|
|
287
287
|
ReactCurrentBatchConfig: H,
|
|
288
|
-
ReactCurrentOwner:
|
|
288
|
+
ReactCurrentOwner: ie
|
|
289
289
|
};
|
|
290
|
-
|
|
291
|
-
function
|
|
290
|
+
de.ReactDebugCurrentFrame = _e, de.ReactCurrentActQueue = c;
|
|
291
|
+
function ce(e) {
|
|
292
292
|
{
|
|
293
293
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
294
294
|
o[i - 1] = arguments[i];
|
|
295
|
-
|
|
295
|
+
be("warn", e, o);
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function S(e) {
|
|
299
299
|
{
|
|
300
300
|
for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
301
301
|
o[i - 1] = arguments[i];
|
|
302
|
-
|
|
302
|
+
be("error", e, o);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function be(e, t, o) {
|
|
306
306
|
{
|
|
307
|
-
var i =
|
|
308
|
-
|
|
309
|
-
var
|
|
310
|
-
return String(
|
|
307
|
+
var i = de.ReactDebugCurrentFrame, l = i.getStackAddendum();
|
|
308
|
+
l !== "" && (t += "%s", o = o.concat([l]));
|
|
309
|
+
var $ = o.map(function(R) {
|
|
310
|
+
return String(R);
|
|
311
311
|
});
|
|
312
|
-
|
|
312
|
+
$.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, $);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
var Se = {};
|
|
316
316
|
function r(e, t) {
|
|
317
317
|
{
|
|
318
|
-
var o = e.constructor, i = o && (o.displayName || o.name) || "ReactClass",
|
|
319
|
-
if (Se[
|
|
318
|
+
var o = e.constructor, i = o && (o.displayName || o.name) || "ReactClass", l = i + "." + t;
|
|
319
|
+
if (Se[l])
|
|
320
320
|
return;
|
|
321
|
-
|
|
321
|
+
S("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.", t, i), Se[l] = !0;
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
var a = {
|
|
@@ -381,10 +381,10 @@ function dn() {
|
|
|
381
381
|
enqueueSetState: function(e, t, o, i) {
|
|
382
382
|
r(e, "setState");
|
|
383
383
|
}
|
|
384
|
-
}, f = Object.assign,
|
|
385
|
-
Object.freeze(
|
|
384
|
+
}, f = Object.assign, m = {};
|
|
385
|
+
Object.freeze(m);
|
|
386
386
|
function d(e, t, o) {
|
|
387
|
-
this.props = e, this.context = t, this.refs =
|
|
387
|
+
this.props = e, this.context = t, this.refs = m, this.updater = o || a;
|
|
388
388
|
}
|
|
389
389
|
d.prototype.isReactComponent = {}, d.prototype.setState = function(e, t) {
|
|
390
390
|
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
@@ -394,36 +394,36 @@ function dn() {
|
|
|
394
394
|
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
395
395
|
};
|
|
396
396
|
{
|
|
397
|
-
var
|
|
397
|
+
var O = {
|
|
398
398
|
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
399
399
|
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
400
|
-
},
|
|
400
|
+
}, b = function(e, t) {
|
|
401
401
|
Object.defineProperty(d.prototype, e, {
|
|
402
402
|
get: function() {
|
|
403
|
-
|
|
403
|
+
ce("%s(...) is deprecated in plain JavaScript React classes. %s", t[0], t[1]);
|
|
404
404
|
}
|
|
405
405
|
});
|
|
406
406
|
};
|
|
407
|
-
for (var
|
|
408
|
-
|
|
407
|
+
for (var h in O)
|
|
408
|
+
O.hasOwnProperty(h) && b(h, O[h]);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function _() {
|
|
411
411
|
}
|
|
412
|
-
|
|
413
|
-
function
|
|
414
|
-
this.props = e, this.context = t, this.refs =
|
|
412
|
+
_.prototype = d.prototype;
|
|
413
|
+
function A(e, t, o) {
|
|
414
|
+
this.props = e, this.context = t, this.refs = m, this.updater = o || a;
|
|
415
415
|
}
|
|
416
|
-
var
|
|
417
|
-
|
|
418
|
-
function
|
|
416
|
+
var Y = A.prototype = new _();
|
|
417
|
+
Y.constructor = A, f(Y, d.prototype), Y.isPureReactComponent = !0;
|
|
418
|
+
function ye() {
|
|
419
419
|
var e = {
|
|
420
420
|
current: null
|
|
421
421
|
};
|
|
422
422
|
return Object.seal(e), e;
|
|
423
423
|
}
|
|
424
|
-
var
|
|
425
|
-
function
|
|
426
|
-
return
|
|
424
|
+
var y = Array.isArray;
|
|
425
|
+
function me(e) {
|
|
426
|
+
return y(e);
|
|
427
427
|
}
|
|
428
428
|
function Ae(e) {
|
|
429
429
|
{
|
|
@@ -443,14 +443,14 @@ function dn() {
|
|
|
443
443
|
}
|
|
444
444
|
function Le(e) {
|
|
445
445
|
if (je(e))
|
|
446
|
-
return
|
|
446
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(e)), Me(e);
|
|
447
447
|
}
|
|
448
448
|
function ar(e, t, o) {
|
|
449
449
|
var i = e.displayName;
|
|
450
450
|
if (i)
|
|
451
451
|
return i;
|
|
452
|
-
var
|
|
453
|
-
return
|
|
452
|
+
var l = t.displayName || t.name || "";
|
|
453
|
+
return l !== "" ? o + "(" + l + ")" : o;
|
|
454
454
|
}
|
|
455
455
|
function Ne(e) {
|
|
456
456
|
return e.displayName || "Context";
|
|
@@ -458,22 +458,22 @@ function dn() {
|
|
|
458
458
|
function Pe(e) {
|
|
459
459
|
if (e == null)
|
|
460
460
|
return null;
|
|
461
|
-
if (typeof e.tag == "number" &&
|
|
461
|
+
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
462
462
|
return e.displayName || e.name || null;
|
|
463
463
|
if (typeof e == "string")
|
|
464
464
|
return e;
|
|
465
465
|
switch (e) {
|
|
466
|
-
case
|
|
466
|
+
case C:
|
|
467
467
|
return "Fragment";
|
|
468
|
-
case
|
|
468
|
+
case j:
|
|
469
469
|
return "Portal";
|
|
470
|
-
case
|
|
470
|
+
case P:
|
|
471
471
|
return "Profiler";
|
|
472
472
|
case D:
|
|
473
473
|
return "StrictMode";
|
|
474
|
-
case
|
|
474
|
+
case x:
|
|
475
475
|
return "Suspense";
|
|
476
|
-
case
|
|
476
|
+
case L:
|
|
477
477
|
return "SuspenseList";
|
|
478
478
|
}
|
|
479
479
|
if (typeof e == "object")
|
|
@@ -481,7 +481,7 @@ function dn() {
|
|
|
481
481
|
case I:
|
|
482
482
|
var t = e;
|
|
483
483
|
return Ne(t) + ".Consumer";
|
|
484
|
-
case
|
|
484
|
+
case k:
|
|
485
485
|
var o = e;
|
|
486
486
|
return Ne(o._context) + ".Provider";
|
|
487
487
|
case T:
|
|
@@ -489,10 +489,10 @@ function dn() {
|
|
|
489
489
|
case q:
|
|
490
490
|
var i = e.displayName || null;
|
|
491
491
|
return i !== null ? i : Pe(e.type) || "Memo";
|
|
492
|
-
case
|
|
493
|
-
var
|
|
492
|
+
case re: {
|
|
493
|
+
var l = e, $ = l._payload, R = l._init;
|
|
494
494
|
try {
|
|
495
|
-
return Pe(
|
|
495
|
+
return Pe(R($));
|
|
496
496
|
} catch {
|
|
497
497
|
return null;
|
|
498
498
|
}
|
|
@@ -515,7 +515,7 @@ function dn() {
|
|
|
515
515
|
}
|
|
516
516
|
return e.ref !== void 0;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function $e(e) {
|
|
519
519
|
if (Ye.call(e, "key")) {
|
|
520
520
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
521
521
|
if (t && t.isReactWarning)
|
|
@@ -523,9 +523,9 @@ function dn() {
|
|
|
523
523
|
}
|
|
524
524
|
return e.key !== void 0;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function wr(e, t) {
|
|
527
527
|
var o = function() {
|
|
528
|
-
or || (or = !0,
|
|
528
|
+
or || (or = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
529
529
|
};
|
|
530
530
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
531
531
|
get: o,
|
|
@@ -534,7 +534,7 @@ function dn() {
|
|
|
534
534
|
}
|
|
535
535
|
function ur(e, t) {
|
|
536
536
|
var o = function() {
|
|
537
|
-
ir || (ir = !0,
|
|
537
|
+
ir || (ir = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
538
538
|
};
|
|
539
539
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
540
540
|
get: o,
|
|
@@ -542,65 +542,65 @@ function dn() {
|
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
function sr(e) {
|
|
545
|
-
if (typeof e.ref == "string" &&
|
|
546
|
-
var t = Pe(
|
|
547
|
-
ze[t] || (
|
|
545
|
+
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
546
|
+
var t = Pe(ie.current.type);
|
|
547
|
+
ze[t] || (S('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', t, e.ref), ze[t] = !0);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
var We = function(e, t, o, i,
|
|
551
|
-
var
|
|
550
|
+
var We = function(e, t, o, i, l, $, R) {
|
|
551
|
+
var M = {
|
|
552
552
|
// This tag allows us to uniquely identify this as a React Element
|
|
553
|
-
$$typeof:
|
|
553
|
+
$$typeof: w,
|
|
554
554
|
// Built-in properties that belong on the element
|
|
555
555
|
type: e,
|
|
556
556
|
key: t,
|
|
557
557
|
ref: o,
|
|
558
|
-
props:
|
|
558
|
+
props: R,
|
|
559
559
|
// Record the component responsible for creating this element.
|
|
560
|
-
_owner:
|
|
560
|
+
_owner: $
|
|
561
561
|
};
|
|
562
|
-
return
|
|
562
|
+
return M._store = {}, Object.defineProperty(M._store, "validated", {
|
|
563
563
|
configurable: !1,
|
|
564
564
|
enumerable: !1,
|
|
565
565
|
writable: !0,
|
|
566
566
|
value: !1
|
|
567
|
-
}), Object.defineProperty(
|
|
567
|
+
}), Object.defineProperty(M, "_self", {
|
|
568
568
|
configurable: !1,
|
|
569
569
|
enumerable: !1,
|
|
570
570
|
writable: !1,
|
|
571
571
|
value: i
|
|
572
|
-
}), Object.defineProperty(
|
|
572
|
+
}), Object.defineProperty(M, "_source", {
|
|
573
573
|
configurable: !1,
|
|
574
574
|
enumerable: !1,
|
|
575
575
|
writable: !1,
|
|
576
|
-
value:
|
|
577
|
-
}), Object.freeze && (Object.freeze(
|
|
576
|
+
value: l
|
|
577
|
+
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
578
578
|
};
|
|
579
|
-
function
|
|
580
|
-
var i,
|
|
579
|
+
function Cr(e, t, o) {
|
|
580
|
+
var i, l = {}, $ = null, R = null, M = null, B = null;
|
|
581
581
|
if (t != null) {
|
|
582
|
-
Ze(t) && (
|
|
582
|
+
Ze(t) && (R = t.ref, sr(t)), $e(t) && (Le(t.key), $ = "" + t.key), M = t.__self === void 0 ? null : t.__self, B = t.__source === void 0 ? null : t.__source;
|
|
583
583
|
for (i in t)
|
|
584
|
-
Ye.call(t, i) && !Be.hasOwnProperty(i) && (
|
|
584
|
+
Ye.call(t, i) && !Be.hasOwnProperty(i) && (l[i] = t[i]);
|
|
585
585
|
}
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
588
|
-
|
|
589
|
-
else if (
|
|
590
|
-
for (var
|
|
591
|
-
|
|
592
|
-
Object.freeze && Object.freeze(
|
|
586
|
+
var ee = arguments.length - 2;
|
|
587
|
+
if (ee === 1)
|
|
588
|
+
l.children = o;
|
|
589
|
+
else if (ee > 1) {
|
|
590
|
+
for (var ae = Array(ee), oe = 0; oe < ee; oe++)
|
|
591
|
+
ae[oe] = arguments[oe + 2];
|
|
592
|
+
Object.freeze && Object.freeze(ae), l.children = ae;
|
|
593
593
|
}
|
|
594
594
|
if (e && e.defaultProps) {
|
|
595
|
-
var
|
|
596
|
-
for (i in
|
|
597
|
-
|
|
595
|
+
var se = e.defaultProps;
|
|
596
|
+
for (i in se)
|
|
597
|
+
l[i] === void 0 && (l[i] = se[i]);
|
|
598
598
|
}
|
|
599
|
-
if (
|
|
600
|
-
var
|
|
601
|
-
|
|
599
|
+
if ($ || R) {
|
|
600
|
+
var pe = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
601
|
+
$ && wr(l, pe), R && ur(l, pe);
|
|
602
602
|
}
|
|
603
|
-
return We(e,
|
|
603
|
+
return We(e, $, R, M, B, ie.current, l);
|
|
604
604
|
}
|
|
605
605
|
function Tr(e, t) {
|
|
606
606
|
var o = We(e.type, t, e.ref, e._self, e._source, e._owner, e.props);
|
|
@@ -609,34 +609,34 @@ function dn() {
|
|
|
609
609
|
function Sr(e, t, o) {
|
|
610
610
|
if (e == null)
|
|
611
611
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
612
|
-
var i,
|
|
612
|
+
var i, l = f({}, e.props), $ = e.key, R = e.ref, M = e._self, B = e._source, ee = e._owner;
|
|
613
613
|
if (t != null) {
|
|
614
|
-
Ze(t) && (
|
|
615
|
-
var
|
|
616
|
-
e.type && e.type.defaultProps && (
|
|
614
|
+
Ze(t) && (R = t.ref, ee = ie.current), $e(t) && (Le(t.key), $ = "" + t.key);
|
|
615
|
+
var ae;
|
|
616
|
+
e.type && e.type.defaultProps && (ae = e.type.defaultProps);
|
|
617
617
|
for (i in t)
|
|
618
|
-
Ye.call(t, i) && !Be.hasOwnProperty(i) && (t[i] === void 0 &&
|
|
618
|
+
Ye.call(t, i) && !Be.hasOwnProperty(i) && (t[i] === void 0 && ae !== void 0 ? l[i] = ae[i] : l[i] = t[i]);
|
|
619
619
|
}
|
|
620
|
-
var
|
|
621
|
-
if (
|
|
622
|
-
|
|
623
|
-
else if (
|
|
624
|
-
for (var
|
|
625
|
-
|
|
626
|
-
|
|
620
|
+
var oe = arguments.length - 2;
|
|
621
|
+
if (oe === 1)
|
|
622
|
+
l.children = o;
|
|
623
|
+
else if (oe > 1) {
|
|
624
|
+
for (var se = Array(oe), pe = 0; pe < oe; pe++)
|
|
625
|
+
se[pe] = arguments[pe + 2];
|
|
626
|
+
l.children = se;
|
|
627
627
|
}
|
|
628
|
-
return We(e.type,
|
|
628
|
+
return We(e.type, $, R, M, B, ee, l);
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
630
|
+
function Ie(e) {
|
|
631
|
+
return typeof e == "object" && e !== null && e.$$typeof === w;
|
|
632
632
|
}
|
|
633
633
|
var cr = ".", Or = ":";
|
|
634
634
|
function xr(e) {
|
|
635
635
|
var t = /[=:]/g, o = {
|
|
636
636
|
"=": "=0",
|
|
637
637
|
":": "=2"
|
|
638
|
-
}, i = e.replace(t, function(
|
|
639
|
-
return o[
|
|
638
|
+
}, i = e.replace(t, function(l) {
|
|
639
|
+
return o[l];
|
|
640
640
|
});
|
|
641
641
|
return "$" + i;
|
|
642
642
|
}
|
|
@@ -647,70 +647,70 @@ function dn() {
|
|
|
647
647
|
function Ue(e, t) {
|
|
648
648
|
return typeof e == "object" && e !== null && e.key != null ? (Le(e.key), xr("" + e.key)) : t.toString(36);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
651
|
-
var
|
|
652
|
-
(
|
|
653
|
-
var
|
|
650
|
+
function Fe(e, t, o, i, l) {
|
|
651
|
+
var $ = typeof e;
|
|
652
|
+
($ === "undefined" || $ === "boolean") && (e = null);
|
|
653
|
+
var R = !1;
|
|
654
654
|
if (e === null)
|
|
655
|
-
|
|
655
|
+
R = !0;
|
|
656
656
|
else
|
|
657
|
-
switch (
|
|
657
|
+
switch ($) {
|
|
658
658
|
case "string":
|
|
659
659
|
case "number":
|
|
660
|
-
|
|
660
|
+
R = !0;
|
|
661
661
|
break;
|
|
662
662
|
case "object":
|
|
663
663
|
switch (e.$$typeof) {
|
|
664
|
-
case
|
|
665
|
-
case
|
|
666
|
-
|
|
664
|
+
case w:
|
|
665
|
+
case j:
|
|
666
|
+
R = !0;
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
if (
|
|
670
|
-
var
|
|
671
|
-
if (
|
|
672
|
-
var
|
|
673
|
-
|
|
669
|
+
if (R) {
|
|
670
|
+
var M = e, B = l(M), ee = i === "" ? cr + Ue(M, 0) : i;
|
|
671
|
+
if (me(B)) {
|
|
672
|
+
var ae = "";
|
|
673
|
+
ee != null && (ae = ke(ee) + "/"), Fe(B, t, ae, "", function(cn) {
|
|
674
674
|
return cn;
|
|
675
675
|
});
|
|
676
676
|
} else
|
|
677
|
-
B != null && (
|
|
677
|
+
B != null && (Ie(B) && (B.key && (!M || M.key !== B.key) && Le(B.key), B = Tr(
|
|
678
678
|
B,
|
|
679
679
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
680
680
|
// traverseAllChildren used to do for objects as children
|
|
681
681
|
o + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
682
|
-
(B.key && (!
|
|
682
|
+
(B.key && (!M || M.key !== B.key) ? (
|
|
683
683
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
684
684
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
685
685
|
ke("" + B.key) + "/"
|
|
686
|
-
) : "") +
|
|
686
|
+
) : "") + ee
|
|
687
687
|
)), t.push(B));
|
|
688
688
|
return 1;
|
|
689
689
|
}
|
|
690
|
-
var
|
|
691
|
-
if (
|
|
690
|
+
var oe, se, pe = 0, ge = i === "" ? cr : i + Or;
|
|
691
|
+
if (me(e))
|
|
692
692
|
for (var Er = 0; Er < e.length; Er++)
|
|
693
|
-
|
|
693
|
+
oe = e[Er], se = ge + Ue(oe, Er), pe += Fe(oe, t, o, se, l);
|
|
694
694
|
else {
|
|
695
|
-
var Ur =
|
|
695
|
+
var Ur = Q(e);
|
|
696
696
|
if (typeof Ur == "function") {
|
|
697
697
|
var bt = e;
|
|
698
|
-
Ur === bt.entries && (He ||
|
|
698
|
+
Ur === bt.entries && (He || ce("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), He = !0);
|
|
699
699
|
for (var un = Ur.call(bt), _t, sn = 0; !(_t = un.next()).done; )
|
|
700
|
-
|
|
701
|
-
} else if (
|
|
700
|
+
oe = _t.value, se = ge + Ue(oe, sn++), pe += Fe(oe, t, o, se, l);
|
|
701
|
+
} else if ($ === "object") {
|
|
702
702
|
var Et = String(e);
|
|
703
703
|
throw new Error("Objects are not valid as a React child (found: " + (Et === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Et) + "). If you meant to render a collection of children, use an array instead.");
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
return
|
|
706
|
+
return pe;
|
|
707
707
|
}
|
|
708
708
|
function Ve(e, t, o) {
|
|
709
709
|
if (e == null)
|
|
710
710
|
return e;
|
|
711
|
-
var i = [],
|
|
712
|
-
return
|
|
713
|
-
return t.call(o,
|
|
711
|
+
var i = [], l = 0;
|
|
712
|
+
return Fe(e, i, "", "", function($) {
|
|
713
|
+
return t.call(o, $, l++);
|
|
714
714
|
}), i;
|
|
715
715
|
}
|
|
716
716
|
function Pr(e) {
|
|
@@ -730,7 +730,7 @@ function dn() {
|
|
|
730
730
|
}) || [];
|
|
731
731
|
}
|
|
732
732
|
function dr(e) {
|
|
733
|
-
if (!
|
|
733
|
+
if (!Ie(e))
|
|
734
734
|
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
735
735
|
return e;
|
|
736
736
|
}
|
|
@@ -755,62 +755,62 @@ function dn() {
|
|
|
755
755
|
_globalName: null
|
|
756
756
|
};
|
|
757
757
|
t.Provider = {
|
|
758
|
-
$$typeof:
|
|
758
|
+
$$typeof: k,
|
|
759
759
|
_context: t
|
|
760
760
|
};
|
|
761
|
-
var o = !1, i = !1,
|
|
761
|
+
var o = !1, i = !1, l = !1;
|
|
762
762
|
{
|
|
763
|
-
var
|
|
763
|
+
var $ = {
|
|
764
764
|
$$typeof: I,
|
|
765
765
|
_context: t
|
|
766
766
|
};
|
|
767
|
-
Object.defineProperties(
|
|
767
|
+
Object.defineProperties($, {
|
|
768
768
|
Provider: {
|
|
769
769
|
get: function() {
|
|
770
|
-
return i || (i = !0,
|
|
770
|
+
return i || (i = !0, S("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), t.Provider;
|
|
771
771
|
},
|
|
772
|
-
set: function(
|
|
773
|
-
t.Provider =
|
|
772
|
+
set: function(R) {
|
|
773
|
+
t.Provider = R;
|
|
774
774
|
}
|
|
775
775
|
},
|
|
776
776
|
_currentValue: {
|
|
777
777
|
get: function() {
|
|
778
778
|
return t._currentValue;
|
|
779
779
|
},
|
|
780
|
-
set: function(
|
|
781
|
-
t._currentValue =
|
|
780
|
+
set: function(R) {
|
|
781
|
+
t._currentValue = R;
|
|
782
782
|
}
|
|
783
783
|
},
|
|
784
784
|
_currentValue2: {
|
|
785
785
|
get: function() {
|
|
786
786
|
return t._currentValue2;
|
|
787
787
|
},
|
|
788
|
-
set: function(
|
|
789
|
-
t._currentValue2 =
|
|
788
|
+
set: function(R) {
|
|
789
|
+
t._currentValue2 = R;
|
|
790
790
|
}
|
|
791
791
|
},
|
|
792
792
|
_threadCount: {
|
|
793
793
|
get: function() {
|
|
794
794
|
return t._threadCount;
|
|
795
795
|
},
|
|
796
|
-
set: function(
|
|
797
|
-
t._threadCount =
|
|
796
|
+
set: function(R) {
|
|
797
|
+
t._threadCount = R;
|
|
798
798
|
}
|
|
799
799
|
},
|
|
800
800
|
Consumer: {
|
|
801
801
|
get: function() {
|
|
802
|
-
return o || (o = !0,
|
|
802
|
+
return o || (o = !0, S("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), t.Consumer;
|
|
803
803
|
}
|
|
804
804
|
},
|
|
805
805
|
displayName: {
|
|
806
806
|
get: function() {
|
|
807
807
|
return t.displayName;
|
|
808
808
|
},
|
|
809
|
-
set: function(
|
|
810
|
-
|
|
809
|
+
set: function(R) {
|
|
810
|
+
l || (ce("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", R), l = !0);
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
|
-
}), t.Consumer =
|
|
813
|
+
}), t.Consumer = $;
|
|
814
814
|
}
|
|
815
815
|
return t._currentRenderer = null, t._currentRenderer2 = null, t;
|
|
816
816
|
}
|
|
@@ -818,15 +818,15 @@ function dn() {
|
|
|
818
818
|
function Ar(e) {
|
|
819
819
|
if (e._status === qe) {
|
|
820
820
|
var t = e._result, o = t();
|
|
821
|
-
if (o.then(function(
|
|
821
|
+
if (o.then(function($) {
|
|
822
822
|
if (e._status === Xe || e._status === qe) {
|
|
823
|
-
var
|
|
824
|
-
|
|
823
|
+
var R = e;
|
|
824
|
+
R._status = Qe, R._result = $;
|
|
825
825
|
}
|
|
826
|
-
}, function(
|
|
826
|
+
}, function($) {
|
|
827
827
|
if (e._status === Xe || e._status === qe) {
|
|
828
|
-
var
|
|
829
|
-
|
|
828
|
+
var R = e;
|
|
829
|
+
R._status = kr, R._result = $;
|
|
830
830
|
}
|
|
831
831
|
}), e._status === qe) {
|
|
832
832
|
var i = e;
|
|
@@ -834,39 +834,39 @@ function dn() {
|
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
if (e._status === Qe) {
|
|
837
|
-
var
|
|
838
|
-
return
|
|
837
|
+
var l = e._result;
|
|
838
|
+
return l === void 0 && S(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
839
839
|
|
|
840
840
|
Your code should look like:
|
|
841
841
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
842
842
|
|
|
843
|
-
Did you accidentally put curly braces around the import?`,
|
|
843
|
+
Did you accidentally put curly braces around the import?`, l), "default" in l || S(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
844
844
|
|
|
845
845
|
Your code should look like:
|
|
846
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
846
|
+
const MyComponent = lazy(() => import('./MyComponent'))`, l), l.default;
|
|
847
847
|
} else
|
|
848
848
|
throw e._result;
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function $r(e) {
|
|
851
851
|
var t = {
|
|
852
852
|
// We use these fields to store the result.
|
|
853
853
|
_status: qe,
|
|
854
854
|
_result: e
|
|
855
855
|
}, o = {
|
|
856
|
-
$$typeof:
|
|
856
|
+
$$typeof: re,
|
|
857
857
|
_payload: t,
|
|
858
858
|
_init: Ar
|
|
859
859
|
};
|
|
860
860
|
{
|
|
861
|
-
var i,
|
|
861
|
+
var i, l;
|
|
862
862
|
Object.defineProperties(o, {
|
|
863
863
|
defaultProps: {
|
|
864
864
|
configurable: !0,
|
|
865
865
|
get: function() {
|
|
866
866
|
return i;
|
|
867
867
|
},
|
|
868
|
-
set: function(
|
|
869
|
-
|
|
868
|
+
set: function($) {
|
|
869
|
+
S("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), i = $, Object.defineProperty(o, "defaultProps", {
|
|
870
870
|
enumerable: !0
|
|
871
871
|
});
|
|
872
872
|
}
|
|
@@ -874,10 +874,10 @@ Your code should look like:
|
|
|
874
874
|
propTypes: {
|
|
875
875
|
configurable: !0,
|
|
876
876
|
get: function() {
|
|
877
|
-
return
|
|
877
|
+
return l;
|
|
878
878
|
},
|
|
879
|
-
set: function(
|
|
880
|
-
|
|
879
|
+
set: function($) {
|
|
880
|
+
S("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."), l = $, Object.defineProperty(o, "propTypes", {
|
|
881
881
|
enumerable: !0
|
|
882
882
|
});
|
|
883
883
|
}
|
|
@@ -886,8 +886,8 @@ Your code should look like:
|
|
|
886
886
|
}
|
|
887
887
|
return o;
|
|
888
888
|
}
|
|
889
|
-
function
|
|
890
|
-
e != null && e.$$typeof === q ?
|
|
889
|
+
function Ir(e) {
|
|
890
|
+
e != null && e.$$typeof === q ? S("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? S("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && S("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && S("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
891
891
|
var t = {
|
|
892
892
|
$$typeof: T,
|
|
893
893
|
render: e
|
|
@@ -910,14 +910,14 @@ Your code should look like:
|
|
|
910
910
|
var n;
|
|
911
911
|
n = Symbol.for("react.module.reference");
|
|
912
912
|
function u(e) {
|
|
913
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
913
|
+
return !!(typeof e == "string" || typeof e == "function" || e === C || e === P || fe || e === D || e === x || e === L || ve || e === N || Ce || xe || Te || typeof e == "object" && e !== null && (e.$$typeof === re || e.$$typeof === q || e.$$typeof === k || e.$$typeof === I || e.$$typeof === T || // This needs to include all possible module reference object
|
|
914
914
|
// types supported by any Flight configuration anywhere since
|
|
915
915
|
// we don't know which Flight build this will end up being used
|
|
916
916
|
// with.
|
|
917
917
|
e.$$typeof === n || e.getModuleId !== void 0));
|
|
918
918
|
}
|
|
919
|
-
function
|
|
920
|
-
u(e) ||
|
|
919
|
+
function v(e, t) {
|
|
920
|
+
u(e) || S("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
921
921
|
var o = {
|
|
922
922
|
$$typeof: q,
|
|
923
923
|
type: e,
|
|
@@ -931,85 +931,85 @@ Your code should look like:
|
|
|
931
931
|
get: function() {
|
|
932
932
|
return i;
|
|
933
933
|
},
|
|
934
|
-
set: function(
|
|
935
|
-
i =
|
|
934
|
+
set: function(l) {
|
|
935
|
+
i = l, !e.name && !e.displayName && (e.displayName = l);
|
|
936
936
|
}
|
|
937
937
|
});
|
|
938
938
|
}
|
|
939
939
|
return o;
|
|
940
940
|
}
|
|
941
|
-
function
|
|
942
|
-
var e =
|
|
943
|
-
return e === null &&
|
|
941
|
+
function E() {
|
|
942
|
+
var e = te.current;
|
|
943
|
+
return e === null && S(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
944
944
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
945
945
|
2. You might be breaking the Rules of Hooks
|
|
946
946
|
3. You might have more than one copy of React in the same app
|
|
947
947
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
948
948
|
}
|
|
949
949
|
function z(e) {
|
|
950
|
-
var t =
|
|
950
|
+
var t = E();
|
|
951
951
|
if (e._context !== void 0) {
|
|
952
952
|
var o = e._context;
|
|
953
|
-
o.Consumer === e ?
|
|
953
|
+
o.Consumer === e ? S("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : o.Provider === e && S("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
954
954
|
}
|
|
955
955
|
return t.useContext(e);
|
|
956
956
|
}
|
|
957
|
-
function
|
|
958
|
-
var t =
|
|
957
|
+
function Z(e) {
|
|
958
|
+
var t = E();
|
|
959
959
|
return t.useState(e);
|
|
960
960
|
}
|
|
961
961
|
function V(e, t, o) {
|
|
962
|
-
var i =
|
|
962
|
+
var i = E();
|
|
963
963
|
return i.useReducer(e, t, o);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
966
|
-
var t =
|
|
965
|
+
function W(e) {
|
|
966
|
+
var t = E();
|
|
967
967
|
return t.useRef(e);
|
|
968
968
|
}
|
|
969
969
|
function he(e, t) {
|
|
970
|
-
var o =
|
|
970
|
+
var o = E();
|
|
971
971
|
return o.useEffect(e, t);
|
|
972
972
|
}
|
|
973
|
-
function
|
|
974
|
-
var o =
|
|
973
|
+
function ue(e, t) {
|
|
974
|
+
var o = E();
|
|
975
975
|
return o.useInsertionEffect(e, t);
|
|
976
976
|
}
|
|
977
|
-
function
|
|
978
|
-
var o =
|
|
977
|
+
function le(e, t) {
|
|
978
|
+
var o = E();
|
|
979
979
|
return o.useLayoutEffect(e, t);
|
|
980
980
|
}
|
|
981
|
-
function
|
|
982
|
-
var o =
|
|
981
|
+
function Ee(e, t) {
|
|
982
|
+
var o = E();
|
|
983
983
|
return o.useCallback(e, t);
|
|
984
984
|
}
|
|
985
985
|
function De(e, t) {
|
|
986
|
-
var o =
|
|
986
|
+
var o = E();
|
|
987
987
|
return o.useMemo(e, t);
|
|
988
988
|
}
|
|
989
989
|
function vr(e, t, o) {
|
|
990
|
-
var i =
|
|
990
|
+
var i = E();
|
|
991
991
|
return i.useImperativeHandle(e, t, o);
|
|
992
992
|
}
|
|
993
993
|
function Oe(e, t) {
|
|
994
994
|
{
|
|
995
|
-
var o =
|
|
995
|
+
var o = E();
|
|
996
996
|
return o.useDebugValue(e, t);
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
function Mt() {
|
|
1000
|
-
var e =
|
|
1000
|
+
var e = E();
|
|
1001
1001
|
return e.useTransition();
|
|
1002
1002
|
}
|
|
1003
1003
|
function Lt(e) {
|
|
1004
|
-
var t =
|
|
1004
|
+
var t = E();
|
|
1005
1005
|
return t.useDeferredValue(e);
|
|
1006
1006
|
}
|
|
1007
1007
|
function Nt() {
|
|
1008
|
-
var e =
|
|
1008
|
+
var e = E();
|
|
1009
1009
|
return e.useId();
|
|
1010
1010
|
}
|
|
1011
1011
|
function Yt(e, t, o) {
|
|
1012
|
-
var i =
|
|
1012
|
+
var i = E();
|
|
1013
1013
|
return i.useSyncExternalStore(e, t, o);
|
|
1014
1014
|
}
|
|
1015
1015
|
var er = 0, Qr, et, rt, tt, nt, at, ot;
|
|
@@ -1071,98 +1071,98 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1071
1071
|
})
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
|
-
er < 0 &&
|
|
1074
|
+
er < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
|
-
var
|
|
1077
|
+
var Fr = de.ReactCurrentDispatcher, Dr;
|
|
1078
1078
|
function yr(e, t, o) {
|
|
1079
1079
|
{
|
|
1080
1080
|
if (Dr === void 0)
|
|
1081
1081
|
try {
|
|
1082
1082
|
throw Error();
|
|
1083
|
-
} catch (
|
|
1084
|
-
var i =
|
|
1083
|
+
} catch (l) {
|
|
1084
|
+
var i = l.stack.trim().match(/\n( *(at )?)/);
|
|
1085
1085
|
Dr = i && i[1] || "";
|
|
1086
1086
|
}
|
|
1087
1087
|
return `
|
|
1088
1088
|
` + Dr + e;
|
|
1089
1089
|
}
|
|
1090
1090
|
}
|
|
1091
|
-
var Mr = !1,
|
|
1091
|
+
var Mr = !1, mr;
|
|
1092
1092
|
{
|
|
1093
1093
|
var Vt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1094
|
-
|
|
1094
|
+
mr = new Vt();
|
|
1095
1095
|
}
|
|
1096
1096
|
function ut(e, t) {
|
|
1097
1097
|
if (!e || Mr)
|
|
1098
1098
|
return "";
|
|
1099
1099
|
{
|
|
1100
|
-
var o =
|
|
1100
|
+
var o = mr.get(e);
|
|
1101
1101
|
if (o !== void 0)
|
|
1102
1102
|
return o;
|
|
1103
1103
|
}
|
|
1104
1104
|
var i;
|
|
1105
1105
|
Mr = !0;
|
|
1106
|
-
var
|
|
1106
|
+
var l = Error.prepareStackTrace;
|
|
1107
1107
|
Error.prepareStackTrace = void 0;
|
|
1108
|
-
var
|
|
1109
|
-
|
|
1108
|
+
var $;
|
|
1109
|
+
$ = Fr.current, Fr.current = null, Wt();
|
|
1110
1110
|
try {
|
|
1111
1111
|
if (t) {
|
|
1112
|
-
var
|
|
1112
|
+
var R = function() {
|
|
1113
1113
|
throw Error();
|
|
1114
1114
|
};
|
|
1115
|
-
if (Object.defineProperty(
|
|
1115
|
+
if (Object.defineProperty(R.prototype, "props", {
|
|
1116
1116
|
set: function() {
|
|
1117
1117
|
throw Error();
|
|
1118
1118
|
}
|
|
1119
1119
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1120
1120
|
try {
|
|
1121
|
-
Reflect.construct(
|
|
1122
|
-
} catch (
|
|
1123
|
-
i =
|
|
1121
|
+
Reflect.construct(R, []);
|
|
1122
|
+
} catch (ge) {
|
|
1123
|
+
i = ge;
|
|
1124
1124
|
}
|
|
1125
|
-
Reflect.construct(e, [],
|
|
1125
|
+
Reflect.construct(e, [], R);
|
|
1126
1126
|
} else {
|
|
1127
1127
|
try {
|
|
1128
|
-
|
|
1129
|
-
} catch (
|
|
1130
|
-
i =
|
|
1128
|
+
R.call();
|
|
1129
|
+
} catch (ge) {
|
|
1130
|
+
i = ge;
|
|
1131
1131
|
}
|
|
1132
|
-
e.call(
|
|
1132
|
+
e.call(R.prototype);
|
|
1133
1133
|
}
|
|
1134
1134
|
} else {
|
|
1135
1135
|
try {
|
|
1136
1136
|
throw Error();
|
|
1137
|
-
} catch (
|
|
1138
|
-
i =
|
|
1137
|
+
} catch (ge) {
|
|
1138
|
+
i = ge;
|
|
1139
1139
|
}
|
|
1140
1140
|
e();
|
|
1141
1141
|
}
|
|
1142
|
-
} catch (
|
|
1143
|
-
if (
|
|
1144
|
-
for (var
|
|
1142
|
+
} catch (ge) {
|
|
1143
|
+
if (ge && i && typeof ge.stack == "string") {
|
|
1144
|
+
for (var M = ge.stack.split(`
|
|
1145
1145
|
`), B = i.stack.split(`
|
|
1146
|
-
`),
|
|
1147
|
-
|
|
1148
|
-
for (;
|
|
1149
|
-
if (
|
|
1150
|
-
if (
|
|
1146
|
+
`), ee = M.length - 1, ae = B.length - 1; ee >= 1 && ae >= 0 && M[ee] !== B[ae]; )
|
|
1147
|
+
ae--;
|
|
1148
|
+
for (; ee >= 1 && ae >= 0; ee--, ae--)
|
|
1149
|
+
if (M[ee] !== B[ae]) {
|
|
1150
|
+
if (ee !== 1 || ae !== 1)
|
|
1151
1151
|
do
|
|
1152
|
-
if (
|
|
1153
|
-
var
|
|
1154
|
-
` +
|
|
1155
|
-
return e.displayName &&
|
|
1152
|
+
if (ee--, ae--, ae < 0 || M[ee] !== B[ae]) {
|
|
1153
|
+
var oe = `
|
|
1154
|
+
` + M[ee].replace(" at new ", " at ");
|
|
1155
|
+
return e.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", e.displayName)), typeof e == "function" && mr.set(e, oe), oe;
|
|
1156
1156
|
}
|
|
1157
|
-
while (
|
|
1157
|
+
while (ee >= 1 && ae >= 0);
|
|
1158
1158
|
break;
|
|
1159
1159
|
}
|
|
1160
1160
|
}
|
|
1161
1161
|
} finally {
|
|
1162
|
-
Mr = !1,
|
|
1162
|
+
Mr = !1, Fr.current = $, Ut(), Error.prepareStackTrace = l;
|
|
1163
1163
|
}
|
|
1164
|
-
var
|
|
1165
|
-
return typeof e == "function" &&
|
|
1164
|
+
var se = e ? e.displayName || e.name : "", pe = se ? yr(se) : "";
|
|
1165
|
+
return typeof e == "function" && mr.set(e, pe), pe;
|
|
1166
1166
|
}
|
|
1167
1167
|
function qt(e, t, o) {
|
|
1168
1168
|
return ut(e, !1);
|
|
@@ -1171,7 +1171,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1171
1171
|
var t = e.prototype;
|
|
1172
1172
|
return !!(t && t.isReactComponent);
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function hr(e, t, o) {
|
|
1175
1175
|
if (e == null)
|
|
1176
1176
|
return "";
|
|
1177
1177
|
if (typeof e == "function")
|
|
@@ -1179,9 +1179,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1179
1179
|
if (typeof e == "string")
|
|
1180
1180
|
return yr(e);
|
|
1181
1181
|
switch (e) {
|
|
1182
|
-
case
|
|
1182
|
+
case x:
|
|
1183
1183
|
return yr("Suspense");
|
|
1184
|
-
case
|
|
1184
|
+
case L:
|
|
1185
1185
|
return yr("SuspenseList");
|
|
1186
1186
|
}
|
|
1187
1187
|
if (typeof e == "object")
|
|
@@ -1189,56 +1189,56 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1189
1189
|
case T:
|
|
1190
1190
|
return qt(e.render);
|
|
1191
1191
|
case q:
|
|
1192
|
-
return
|
|
1193
|
-
case
|
|
1194
|
-
var i = e,
|
|
1192
|
+
return hr(e.type, t, o);
|
|
1193
|
+
case re: {
|
|
1194
|
+
var i = e, l = i._payload, $ = i._init;
|
|
1195
1195
|
try {
|
|
1196
|
-
return
|
|
1196
|
+
return hr($(l), t, o);
|
|
1197
1197
|
} catch {
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
1201
|
return "";
|
|
1202
1202
|
}
|
|
1203
|
-
var st = {}, ct =
|
|
1203
|
+
var st = {}, ct = de.ReactDebugCurrentFrame;
|
|
1204
1204
|
function gr(e) {
|
|
1205
1205
|
if (e) {
|
|
1206
|
-
var t = e._owner, o =
|
|
1206
|
+
var t = e._owner, o = hr(e.type, e._source, t ? t.type : null);
|
|
1207
1207
|
ct.setExtraStackFrame(o);
|
|
1208
1208
|
} else
|
|
1209
1209
|
ct.setExtraStackFrame(null);
|
|
1210
1210
|
}
|
|
1211
|
-
function zt(e, t, o, i,
|
|
1211
|
+
function zt(e, t, o, i, l) {
|
|
1212
1212
|
{
|
|
1213
|
-
var
|
|
1214
|
-
for (var
|
|
1215
|
-
if (
|
|
1216
|
-
var
|
|
1213
|
+
var $ = Function.call.bind(Ye);
|
|
1214
|
+
for (var R in e)
|
|
1215
|
+
if ($(e, R)) {
|
|
1216
|
+
var M = void 0;
|
|
1217
1217
|
try {
|
|
1218
|
-
if (typeof e[
|
|
1219
|
-
var B = Error((i || "React class") + ": " + o + " type `" +
|
|
1218
|
+
if (typeof e[R] != "function") {
|
|
1219
|
+
var B = Error((i || "React class") + ": " + o + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1220
1220
|
throw B.name = "Invariant Violation", B;
|
|
1221
1221
|
}
|
|
1222
|
-
|
|
1223
|
-
} catch (
|
|
1224
|
-
|
|
1222
|
+
M = e[R](t, R, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1223
|
+
} catch (ee) {
|
|
1224
|
+
M = ee;
|
|
1225
1225
|
}
|
|
1226
|
-
|
|
1226
|
+
M && !(M instanceof Error) && (gr(l), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, R, typeof M), gr(null)), M instanceof Error && !(M.message in st) && (st[M.message] = !0, gr(l), S("Failed %s type: %s", o, M.message), gr(null));
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
function Ge(e) {
|
|
1231
1231
|
if (e) {
|
|
1232
|
-
var t = e._owner, o =
|
|
1233
|
-
|
|
1232
|
+
var t = e._owner, o = hr(e.type, e._source, t ? t.type : null);
|
|
1233
|
+
we(o);
|
|
1234
1234
|
} else
|
|
1235
|
-
|
|
1235
|
+
we(null);
|
|
1236
1236
|
}
|
|
1237
1237
|
var Lr;
|
|
1238
1238
|
Lr = !1;
|
|
1239
1239
|
function lt() {
|
|
1240
|
-
if (
|
|
1241
|
-
var e = Pe(
|
|
1240
|
+
if (ie.current) {
|
|
1241
|
+
var e = Pe(ie.current.type);
|
|
1242
1242
|
if (e)
|
|
1243
1243
|
return `
|
|
1244
1244
|
|
|
@@ -1276,24 +1276,24 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1276
1276
|
if (!ft[o]) {
|
|
1277
1277
|
ft[o] = !0;
|
|
1278
1278
|
var i = "";
|
|
1279
|
-
e && e._owner && e._owner !==
|
|
1279
|
+
e && e._owner && e._owner !== ie.current && (i = " It was passed a child from " + Pe(e._owner.type) + "."), Ge(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), Ge(null);
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
1283
|
function pt(e, t) {
|
|
1284
1284
|
if (typeof e == "object") {
|
|
1285
|
-
if (
|
|
1285
|
+
if (me(e))
|
|
1286
1286
|
for (var o = 0; o < e.length; o++) {
|
|
1287
1287
|
var i = e[o];
|
|
1288
|
-
|
|
1288
|
+
Ie(i) && dt(i, t);
|
|
1289
1289
|
}
|
|
1290
|
-
else if (
|
|
1290
|
+
else if (Ie(e))
|
|
1291
1291
|
e._store && (e._store.validated = !0);
|
|
1292
1292
|
else if (e) {
|
|
1293
|
-
var
|
|
1294
|
-
if (typeof
|
|
1295
|
-
for (var
|
|
1296
|
-
|
|
1293
|
+
var l = Q(e);
|
|
1294
|
+
if (typeof l == "function" && l !== e.entries)
|
|
1295
|
+
for (var $ = l.call(e), R; !(R = $.next()).done; )
|
|
1296
|
+
Ie(R.value) && dt(R.value, t);
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
@@ -1316,10 +1316,10 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1316
1316
|
zt(o, e.props, "prop", i, e);
|
|
1317
1317
|
} else if (t.PropTypes !== void 0 && !Lr) {
|
|
1318
1318
|
Lr = !0;
|
|
1319
|
-
var
|
|
1320
|
-
|
|
1319
|
+
var l = Pe(t);
|
|
1320
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
1321
1321
|
}
|
|
1322
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
1322
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1323
1323
|
}
|
|
1324
1324
|
}
|
|
1325
1325
|
function Jt(e) {
|
|
@@ -1327,46 +1327,46 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1327
1327
|
for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
|
|
1328
1328
|
var i = t[o];
|
|
1329
1329
|
if (i !== "children" && i !== "key") {
|
|
1330
|
-
Ge(e),
|
|
1330
|
+
Ge(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), Ge(null);
|
|
1331
1331
|
break;
|
|
1332
1332
|
}
|
|
1333
1333
|
}
|
|
1334
|
-
e.ref !== null && (Ge(e),
|
|
1334
|
+
e.ref !== null && (Ge(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), Ge(null));
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
1337
|
function yt(e, t, o) {
|
|
1338
1338
|
var i = u(e);
|
|
1339
1339
|
if (!i) {
|
|
1340
|
-
var
|
|
1341
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1342
|
-
var
|
|
1343
|
-
|
|
1344
|
-
var
|
|
1345
|
-
e === null ?
|
|
1346
|
-
}
|
|
1347
|
-
var
|
|
1348
|
-
if (
|
|
1349
|
-
return
|
|
1340
|
+
var l = "";
|
|
1341
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1342
|
+
var $ = Gt(t);
|
|
1343
|
+
$ ? l += $ : l += lt();
|
|
1344
|
+
var R;
|
|
1345
|
+
e === null ? R = "null" : me(e) ? R = "array" : e !== void 0 && e.$$typeof === w ? (R = "<" + (Pe(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, S("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, l);
|
|
1346
|
+
}
|
|
1347
|
+
var M = Cr.apply(this, arguments);
|
|
1348
|
+
if (M == null)
|
|
1349
|
+
return M;
|
|
1350
1350
|
if (i)
|
|
1351
1351
|
for (var B = 2; B < arguments.length; B++)
|
|
1352
1352
|
pt(arguments[B], e);
|
|
1353
|
-
return e ===
|
|
1353
|
+
return e === C ? Jt(M) : vt(M), M;
|
|
1354
1354
|
}
|
|
1355
|
-
var
|
|
1355
|
+
var mt = !1;
|
|
1356
1356
|
function Zt(e) {
|
|
1357
1357
|
var t = yt.bind(null, e);
|
|
1358
|
-
return t.type = e,
|
|
1358
|
+
return t.type = e, mt || (mt = !0, ce("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(t, "type", {
|
|
1359
1359
|
enumerable: !1,
|
|
1360
1360
|
get: function() {
|
|
1361
|
-
return
|
|
1361
|
+
return ce("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
1362
1362
|
value: e
|
|
1363
1363
|
}), e;
|
|
1364
1364
|
}
|
|
1365
1365
|
}), t;
|
|
1366
1366
|
}
|
|
1367
1367
|
function Xt(e, t, o) {
|
|
1368
|
-
for (var i = Sr.apply(this, arguments),
|
|
1369
|
-
pt(arguments[
|
|
1368
|
+
for (var i = Sr.apply(this, arguments), l = 2; l < arguments.length; l++)
|
|
1369
|
+
pt(arguments[l], i.type);
|
|
1370
1370
|
return vt(i), i;
|
|
1371
1371
|
}
|
|
1372
1372
|
function Qt(e, t) {
|
|
@@ -1378,22 +1378,22 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1378
1378
|
e();
|
|
1379
1379
|
} finally {
|
|
1380
1380
|
if (H.transition = o, o === null && i._updatedFibers) {
|
|
1381
|
-
var
|
|
1382
|
-
|
|
1381
|
+
var l = i._updatedFibers.size;
|
|
1382
|
+
l > 10 && ce("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), i._updatedFibers.clear();
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
|
-
var
|
|
1386
|
+
var ht = !1, br = null;
|
|
1387
1387
|
function en(e) {
|
|
1388
1388
|
if (br === null)
|
|
1389
1389
|
try {
|
|
1390
|
-
var t = ("require" + Math.random()).slice(0, 7), o =
|
|
1391
|
-
br = o.call(
|
|
1390
|
+
var t = ("require" + Math.random()).slice(0, 7), o = s && s[t];
|
|
1391
|
+
br = o.call(s, "timers").setImmediate;
|
|
1392
1392
|
} catch {
|
|
1393
|
-
br = function(
|
|
1394
|
-
|
|
1395
|
-
var
|
|
1396
|
-
|
|
1393
|
+
br = function(l) {
|
|
1394
|
+
ht === !1 && (ht = !0, typeof MessageChannel > "u" && S("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
1395
|
+
var $ = new MessageChannel();
|
|
1396
|
+
$.port1.onmessage = l, $.port2.postMessage(void 0);
|
|
1397
1397
|
};
|
|
1398
1398
|
}
|
|
1399
1399
|
return br(e);
|
|
@@ -1402,67 +1402,67 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1402
1402
|
function rn(e) {
|
|
1403
1403
|
{
|
|
1404
1404
|
var t = Ke;
|
|
1405
|
-
Ke++,
|
|
1406
|
-
var o =
|
|
1405
|
+
Ke++, c.current === null && (c.current = []);
|
|
1406
|
+
var o = c.isBatchingLegacy, i;
|
|
1407
1407
|
try {
|
|
1408
|
-
if (
|
|
1409
|
-
var
|
|
1410
|
-
|
|
1408
|
+
if (c.isBatchingLegacy = !0, i = e(), !o && c.didScheduleLegacyUpdate) {
|
|
1409
|
+
var l = c.current;
|
|
1410
|
+
l !== null && (c.didScheduleLegacyUpdate = !1, Wr(l));
|
|
1411
1411
|
}
|
|
1412
|
-
} catch (
|
|
1413
|
-
throw _r(t),
|
|
1412
|
+
} catch (se) {
|
|
1413
|
+
throw _r(t), se;
|
|
1414
1414
|
} finally {
|
|
1415
|
-
|
|
1415
|
+
c.isBatchingLegacy = o;
|
|
1416
1416
|
}
|
|
1417
1417
|
if (i !== null && typeof i == "object" && typeof i.then == "function") {
|
|
1418
|
-
var
|
|
1419
|
-
then: function(
|
|
1420
|
-
|
|
1421
|
-
_r(t), Ke === 0 ? Nr(
|
|
1422
|
-
}, function(
|
|
1423
|
-
_r(t),
|
|
1418
|
+
var $ = i, R = !1, M = {
|
|
1419
|
+
then: function(se, pe) {
|
|
1420
|
+
R = !0, $.then(function(ge) {
|
|
1421
|
+
_r(t), Ke === 0 ? Nr(ge, se, pe) : se(ge);
|
|
1422
|
+
}, function(ge) {
|
|
1423
|
+
_r(t), pe(ge);
|
|
1424
1424
|
});
|
|
1425
1425
|
}
|
|
1426
1426
|
};
|
|
1427
1427
|
return !gt && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1428
1428
|
}).then(function() {
|
|
1429
|
-
|
|
1430
|
-
}),
|
|
1429
|
+
R || (gt = !0, S("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
1430
|
+
}), M;
|
|
1431
1431
|
} else {
|
|
1432
1432
|
var B = i;
|
|
1433
1433
|
if (_r(t), Ke === 0) {
|
|
1434
|
-
var
|
|
1435
|
-
|
|
1436
|
-
var
|
|
1437
|
-
then: function(
|
|
1438
|
-
|
|
1434
|
+
var ee = c.current;
|
|
1435
|
+
ee !== null && (Wr(ee), c.current = null);
|
|
1436
|
+
var ae = {
|
|
1437
|
+
then: function(se, pe) {
|
|
1438
|
+
c.current === null ? (c.current = [], Nr(B, se, pe)) : se(B);
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
|
-
return
|
|
1441
|
+
return ae;
|
|
1442
1442
|
} else {
|
|
1443
|
-
var
|
|
1444
|
-
then: function(
|
|
1445
|
-
|
|
1443
|
+
var oe = {
|
|
1444
|
+
then: function(se, pe) {
|
|
1445
|
+
se(B);
|
|
1446
1446
|
}
|
|
1447
1447
|
};
|
|
1448
|
-
return
|
|
1448
|
+
return oe;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
function _r(e) {
|
|
1454
|
-
e !== Ke - 1 &&
|
|
1454
|
+
e !== Ke - 1 && S("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ke = e;
|
|
1455
1455
|
}
|
|
1456
1456
|
function Nr(e, t, o) {
|
|
1457
1457
|
{
|
|
1458
|
-
var i =
|
|
1458
|
+
var i = c.current;
|
|
1459
1459
|
if (i !== null)
|
|
1460
1460
|
try {
|
|
1461
1461
|
Wr(i), en(function() {
|
|
1462
|
-
i.length === 0 ? (
|
|
1462
|
+
i.length === 0 ? (c.current = null, t(e)) : Nr(e, t, o);
|
|
1463
1463
|
});
|
|
1464
|
-
} catch (
|
|
1465
|
-
o(
|
|
1464
|
+
} catch (l) {
|
|
1465
|
+
o(l);
|
|
1466
1466
|
}
|
|
1467
1467
|
else
|
|
1468
1468
|
t(e);
|
|
@@ -1495,7 +1495,7 @@ Check the top-level render call using <` + o + ">.");
|
|
|
1495
1495
|
toArray: jr,
|
|
1496
1496
|
only: dr
|
|
1497
1497
|
};
|
|
1498
|
-
|
|
1498
|
+
p.Children = on, p.Component = d, p.Fragment = C, p.Profiler = P, p.PureComponent = A, p.StrictMode = D, p.Suspense = x, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = de, p.cloneElement = nn, p.createContext = pr, p.createElement = tn, p.createFactory = an, p.createRef = ye, p.forwardRef = Ir, p.isValidElement = Ie, p.lazy = $r, p.memo = v, p.startTransition = Qt, p.unstable_act = rn, p.useCallback = Ee, p.useContext = z, p.useDebugValue = Oe, p.useDeferredValue = Lt, p.useEffect = he, p.useId = Nt, p.useImperativeHandle = vr, p.useInsertionEffect = ue, p.useLayoutEffect = le, p.useMemo = De, p.useReducer = V, p.useRef = W, p.useState = Z, p.useSyncExternalStore = Yt, p.useTransition = Mt, p.version = F, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1499
1499
|
}();
|
|
1500
1500
|
}(nr, nr.exports)), nr.exports;
|
|
1501
1501
|
}
|
|
@@ -1510,23 +1510,23 @@ var Je = Jr.exports;
|
|
|
1510
1510
|
* This source code is licensed under the MIT license found in the
|
|
1511
1511
|
* LICENSE file in the root directory of this source tree.
|
|
1512
1512
|
*/
|
|
1513
|
-
var
|
|
1513
|
+
var Ct;
|
|
1514
1514
|
function pn() {
|
|
1515
|
-
if (
|
|
1515
|
+
if (Ct)
|
|
1516
1516
|
return rr;
|
|
1517
|
-
|
|
1518
|
-
var
|
|
1519
|
-
function D(
|
|
1520
|
-
var T,
|
|
1521
|
-
I !== void 0 && (
|
|
1522
|
-
for (T in
|
|
1523
|
-
|
|
1524
|
-
if (
|
|
1525
|
-
for (T in
|
|
1526
|
-
|
|
1527
|
-
return { $$typeof:
|
|
1517
|
+
Ct = 1;
|
|
1518
|
+
var s = Je, p = Symbol.for("react.element"), F = Symbol.for("react.fragment"), w = Object.prototype.hasOwnProperty, j = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1519
|
+
function D(P, k, I) {
|
|
1520
|
+
var T, x = {}, L = null, q = null;
|
|
1521
|
+
I !== void 0 && (L = "" + I), k.key !== void 0 && (L = "" + k.key), k.ref !== void 0 && (q = k.ref);
|
|
1522
|
+
for (T in k)
|
|
1523
|
+
w.call(k, T) && !C.hasOwnProperty(T) && (x[T] = k[T]);
|
|
1524
|
+
if (P && P.defaultProps)
|
|
1525
|
+
for (T in k = P.defaultProps, k)
|
|
1526
|
+
x[T] === void 0 && (x[T] = k[T]);
|
|
1527
|
+
return { $$typeof: p, type: P, key: L, ref: q, props: x, _owner: j.current };
|
|
1528
1528
|
}
|
|
1529
|
-
return rr.Fragment =
|
|
1529
|
+
return rr.Fragment = F, rr.jsx = D, rr.jsxs = D, rr;
|
|
1530
1530
|
}
|
|
1531
1531
|
var tr = {};
|
|
1532
1532
|
/**
|
|
@@ -1541,65 +1541,65 @@ var tr = {};
|
|
|
1541
1541
|
var Tt;
|
|
1542
1542
|
function vn() {
|
|
1543
1543
|
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1544
|
-
var
|
|
1545
|
-
function
|
|
1544
|
+
var s = Je, p = Symbol.for("react.element"), F = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), P = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), re = Symbol.iterator, N = "@@iterator";
|
|
1545
|
+
function X(n) {
|
|
1546
1546
|
if (n === null || typeof n != "object")
|
|
1547
1547
|
return null;
|
|
1548
|
-
var u =
|
|
1548
|
+
var u = re && n[re] || n[N];
|
|
1549
1549
|
return typeof u == "function" ? u : null;
|
|
1550
1550
|
}
|
|
1551
|
-
var
|
|
1552
|
-
function
|
|
1551
|
+
var ne = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1552
|
+
function Q(n) {
|
|
1553
1553
|
{
|
|
1554
|
-
for (var u = arguments.length,
|
|
1555
|
-
|
|
1556
|
-
|
|
1554
|
+
for (var u = arguments.length, v = new Array(u > 1 ? u - 1 : 0), E = 1; E < u; E++)
|
|
1555
|
+
v[E - 1] = arguments[E];
|
|
1556
|
+
te("error", n, v);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1559
|
+
function te(n, u, v) {
|
|
1560
1560
|
{
|
|
1561
|
-
var
|
|
1562
|
-
z !== "" && (u += "%s",
|
|
1563
|
-
var
|
|
1561
|
+
var E = ne.ReactDebugCurrentFrame, z = E.getStackAddendum();
|
|
1562
|
+
z !== "" && (u += "%s", v = v.concat([z]));
|
|
1563
|
+
var Z = v.map(function(V) {
|
|
1564
1564
|
return String(V);
|
|
1565
1565
|
});
|
|
1566
|
-
|
|
1566
|
+
Z.unshift("Warning: " + u), Function.prototype.apply.call(console[n], console, Z);
|
|
1567
1567
|
}
|
|
1568
1568
|
}
|
|
1569
|
-
var H = !1,
|
|
1570
|
-
|
|
1571
|
-
function
|
|
1572
|
-
return !!(typeof n == "string" || typeof n == "function" || n ===
|
|
1569
|
+
var H = !1, c = !1, ie = !1, _e = !1, Re = !1, we;
|
|
1570
|
+
we = Symbol.for("react.module.reference");
|
|
1571
|
+
function Ce(n) {
|
|
1572
|
+
return !!(typeof n == "string" || typeof n == "function" || n === w || n === C || Re || n === j || n === I || n === T || _e || n === q || H || c || ie || typeof n == "object" && n !== null && (n.$$typeof === L || n.$$typeof === x || n.$$typeof === D || n.$$typeof === P || n.$$typeof === k || // This needs to include all possible module reference object
|
|
1573
1573
|
// types supported by any Flight configuration anywhere since
|
|
1574
1574
|
// we don't know which Flight build this will end up being used
|
|
1575
1575
|
// with.
|
|
1576
|
-
n.$$typeof ===
|
|
1576
|
+
n.$$typeof === we || n.getModuleId !== void 0));
|
|
1577
1577
|
}
|
|
1578
|
-
function xe(n, u,
|
|
1579
|
-
var
|
|
1580
|
-
if (
|
|
1581
|
-
return
|
|
1578
|
+
function xe(n, u, v) {
|
|
1579
|
+
var E = n.displayName;
|
|
1580
|
+
if (E)
|
|
1581
|
+
return E;
|
|
1582
1582
|
var z = u.displayName || u.name || "";
|
|
1583
|
-
return z !== "" ?
|
|
1583
|
+
return z !== "" ? v + "(" + z + ")" : v;
|
|
1584
1584
|
}
|
|
1585
1585
|
function Te(n) {
|
|
1586
1586
|
return n.displayName || "Context";
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function ve(n) {
|
|
1589
1589
|
if (n == null)
|
|
1590
1590
|
return null;
|
|
1591
|
-
if (typeof n.tag == "number" &&
|
|
1591
|
+
if (typeof n.tag == "number" && Q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
1592
1592
|
return n.displayName || n.name || null;
|
|
1593
1593
|
if (typeof n == "string")
|
|
1594
1594
|
return n;
|
|
1595
1595
|
switch (n) {
|
|
1596
|
-
case
|
|
1596
|
+
case w:
|
|
1597
1597
|
return "Fragment";
|
|
1598
|
-
case
|
|
1598
|
+
case F:
|
|
1599
1599
|
return "Portal";
|
|
1600
|
-
case
|
|
1600
|
+
case C:
|
|
1601
1601
|
return "Profiler";
|
|
1602
|
-
case
|
|
1602
|
+
case j:
|
|
1603
1603
|
return "StrictMode";
|
|
1604
1604
|
case I:
|
|
1605
1605
|
return "Suspense";
|
|
@@ -1608,21 +1608,21 @@ function vn() {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
if (typeof n == "object")
|
|
1610
1610
|
switch (n.$$typeof) {
|
|
1611
|
-
case
|
|
1611
|
+
case P:
|
|
1612
1612
|
var u = n;
|
|
1613
1613
|
return Te(u) + ".Consumer";
|
|
1614
1614
|
case D:
|
|
1615
|
-
var
|
|
1616
|
-
return Te(
|
|
1617
|
-
case
|
|
1615
|
+
var v = n;
|
|
1616
|
+
return Te(v._context) + ".Provider";
|
|
1617
|
+
case k:
|
|
1618
1618
|
return xe(n, n.render, "ForwardRef");
|
|
1619
|
-
case
|
|
1620
|
-
var
|
|
1621
|
-
return
|
|
1622
|
-
case
|
|
1623
|
-
var z = n,
|
|
1619
|
+
case x:
|
|
1620
|
+
var E = n.displayName || null;
|
|
1621
|
+
return E !== null ? E : ve(n.type) || "Memo";
|
|
1622
|
+
case L: {
|
|
1623
|
+
var z = n, Z = z._payload, V = z._init;
|
|
1624
1624
|
try {
|
|
1625
|
-
return
|
|
1625
|
+
return ve(V(Z));
|
|
1626
1626
|
} catch {
|
|
1627
1627
|
return null;
|
|
1628
1628
|
}
|
|
@@ -1630,18 +1630,18 @@ function vn() {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
return null;
|
|
1632
1632
|
}
|
|
1633
|
-
var
|
|
1634
|
-
function
|
|
1633
|
+
var fe = Object.assign, de = 0, ce, S, be, Se, r, a, f;
|
|
1634
|
+
function m() {
|
|
1635
1635
|
}
|
|
1636
|
-
|
|
1636
|
+
m.__reactDisabledLog = !0;
|
|
1637
1637
|
function d() {
|
|
1638
1638
|
{
|
|
1639
|
-
if (
|
|
1640
|
-
|
|
1639
|
+
if (de === 0) {
|
|
1640
|
+
ce = console.log, S = console.info, be = console.warn, Se = console.error, r = console.group, a = console.groupCollapsed, f = console.groupEnd;
|
|
1641
1641
|
var n = {
|
|
1642
1642
|
configurable: !0,
|
|
1643
1643
|
enumerable: !0,
|
|
1644
|
-
value:
|
|
1644
|
+
value: m,
|
|
1645
1645
|
writable: !0
|
|
1646
1646
|
};
|
|
1647
1647
|
Object.defineProperties(console, {
|
|
@@ -1654,77 +1654,77 @@ function vn() {
|
|
|
1654
1654
|
groupEnd: n
|
|
1655
1655
|
});
|
|
1656
1656
|
}
|
|
1657
|
-
|
|
1657
|
+
de++;
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function O() {
|
|
1661
1661
|
{
|
|
1662
|
-
if (
|
|
1662
|
+
if (de--, de === 0) {
|
|
1663
1663
|
var n = {
|
|
1664
1664
|
configurable: !0,
|
|
1665
1665
|
enumerable: !0,
|
|
1666
1666
|
writable: !0
|
|
1667
1667
|
};
|
|
1668
1668
|
Object.defineProperties(console, {
|
|
1669
|
-
log:
|
|
1670
|
-
value:
|
|
1669
|
+
log: fe({}, n, {
|
|
1670
|
+
value: ce
|
|
1671
1671
|
}),
|
|
1672
|
-
info:
|
|
1673
|
-
value:
|
|
1672
|
+
info: fe({}, n, {
|
|
1673
|
+
value: S
|
|
1674
1674
|
}),
|
|
1675
|
-
warn:
|
|
1676
|
-
value:
|
|
1675
|
+
warn: fe({}, n, {
|
|
1676
|
+
value: be
|
|
1677
1677
|
}),
|
|
1678
|
-
error:
|
|
1678
|
+
error: fe({}, n, {
|
|
1679
1679
|
value: Se
|
|
1680
1680
|
}),
|
|
1681
|
-
group:
|
|
1681
|
+
group: fe({}, n, {
|
|
1682
1682
|
value: r
|
|
1683
1683
|
}),
|
|
1684
|
-
groupCollapsed:
|
|
1684
|
+
groupCollapsed: fe({}, n, {
|
|
1685
1685
|
value: a
|
|
1686
1686
|
}),
|
|
1687
|
-
groupEnd:
|
|
1687
|
+
groupEnd: fe({}, n, {
|
|
1688
1688
|
value: f
|
|
1689
1689
|
})
|
|
1690
1690
|
});
|
|
1691
1691
|
}
|
|
1692
|
-
|
|
1692
|
+
de < 0 && Q("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
var
|
|
1696
|
-
function
|
|
1695
|
+
var b = ne.ReactCurrentDispatcher, h;
|
|
1696
|
+
function _(n, u, v) {
|
|
1697
1697
|
{
|
|
1698
|
-
if (
|
|
1698
|
+
if (h === void 0)
|
|
1699
1699
|
try {
|
|
1700
1700
|
throw Error();
|
|
1701
1701
|
} catch (z) {
|
|
1702
|
-
var
|
|
1703
|
-
|
|
1702
|
+
var E = z.stack.trim().match(/\n( *(at )?)/);
|
|
1703
|
+
h = E && E[1] || "";
|
|
1704
1704
|
}
|
|
1705
1705
|
return `
|
|
1706
|
-
` +
|
|
1706
|
+
` + h + n;
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
1709
|
-
var
|
|
1709
|
+
var A = !1, Y;
|
|
1710
1710
|
{
|
|
1711
|
-
var
|
|
1712
|
-
|
|
1711
|
+
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1712
|
+
Y = new ye();
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1715
|
-
if (!n ||
|
|
1714
|
+
function y(n, u) {
|
|
1715
|
+
if (!n || A)
|
|
1716
1716
|
return "";
|
|
1717
1717
|
{
|
|
1718
|
-
var
|
|
1719
|
-
if (
|
|
1720
|
-
return
|
|
1718
|
+
var v = Y.get(n);
|
|
1719
|
+
if (v !== void 0)
|
|
1720
|
+
return v;
|
|
1721
1721
|
}
|
|
1722
|
-
var
|
|
1723
|
-
|
|
1722
|
+
var E;
|
|
1723
|
+
A = !0;
|
|
1724
1724
|
var z = Error.prepareStackTrace;
|
|
1725
1725
|
Error.prepareStackTrace = void 0;
|
|
1726
|
-
var
|
|
1727
|
-
|
|
1726
|
+
var Z;
|
|
1727
|
+
Z = b.current, b.current = null, d();
|
|
1728
1728
|
try {
|
|
1729
1729
|
if (u) {
|
|
1730
1730
|
var V = function() {
|
|
@@ -1738,14 +1738,14 @@ function vn() {
|
|
|
1738
1738
|
try {
|
|
1739
1739
|
Reflect.construct(V, []);
|
|
1740
1740
|
} catch (Oe) {
|
|
1741
|
-
|
|
1741
|
+
E = Oe;
|
|
1742
1742
|
}
|
|
1743
1743
|
Reflect.construct(n, [], V);
|
|
1744
1744
|
} else {
|
|
1745
1745
|
try {
|
|
1746
1746
|
V.call();
|
|
1747
1747
|
} catch (Oe) {
|
|
1748
|
-
|
|
1748
|
+
E = Oe;
|
|
1749
1749
|
}
|
|
1750
1750
|
n.call(V.prototype);
|
|
1751
1751
|
}
|
|
@@ -1753,95 +1753,95 @@ function vn() {
|
|
|
1753
1753
|
try {
|
|
1754
1754
|
throw Error();
|
|
1755
1755
|
} catch (Oe) {
|
|
1756
|
-
|
|
1756
|
+
E = Oe;
|
|
1757
1757
|
}
|
|
1758
1758
|
n();
|
|
1759
1759
|
}
|
|
1760
1760
|
} catch (Oe) {
|
|
1761
|
-
if (Oe &&
|
|
1762
|
-
for (var
|
|
1763
|
-
`), he =
|
|
1764
|
-
`),
|
|
1765
|
-
|
|
1766
|
-
for (;
|
|
1767
|
-
if (
|
|
1768
|
-
if (
|
|
1761
|
+
if (Oe && E && typeof Oe.stack == "string") {
|
|
1762
|
+
for (var W = Oe.stack.split(`
|
|
1763
|
+
`), he = E.stack.split(`
|
|
1764
|
+
`), ue = W.length - 1, le = he.length - 1; ue >= 1 && le >= 0 && W[ue] !== he[le]; )
|
|
1765
|
+
le--;
|
|
1766
|
+
for (; ue >= 1 && le >= 0; ue--, le--)
|
|
1767
|
+
if (W[ue] !== he[le]) {
|
|
1768
|
+
if (ue !== 1 || le !== 1)
|
|
1769
1769
|
do
|
|
1770
|
-
if (
|
|
1771
|
-
var
|
|
1772
|
-
` +
|
|
1773
|
-
return n.displayName &&
|
|
1770
|
+
if (ue--, le--, le < 0 || W[ue] !== he[le]) {
|
|
1771
|
+
var Ee = `
|
|
1772
|
+
` + W[ue].replace(" at new ", " at ");
|
|
1773
|
+
return n.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", n.displayName)), typeof n == "function" && Y.set(n, Ee), Ee;
|
|
1774
1774
|
}
|
|
1775
|
-
while (
|
|
1775
|
+
while (ue >= 1 && le >= 0);
|
|
1776
1776
|
break;
|
|
1777
1777
|
}
|
|
1778
1778
|
}
|
|
1779
1779
|
} finally {
|
|
1780
|
-
|
|
1780
|
+
A = !1, b.current = Z, O(), Error.prepareStackTrace = z;
|
|
1781
1781
|
}
|
|
1782
|
-
var De = n ? n.displayName || n.name : "", vr = De ?
|
|
1783
|
-
return typeof n == "function" &&
|
|
1782
|
+
var De = n ? n.displayName || n.name : "", vr = De ? _(De) : "";
|
|
1783
|
+
return typeof n == "function" && Y.set(n, vr), vr;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1786
|
-
return
|
|
1785
|
+
function me(n, u, v) {
|
|
1786
|
+
return y(n, !1);
|
|
1787
1787
|
}
|
|
1788
1788
|
function Ae(n) {
|
|
1789
1789
|
var u = n.prototype;
|
|
1790
1790
|
return !!(u && u.isReactComponent);
|
|
1791
1791
|
}
|
|
1792
|
-
function je(n, u,
|
|
1792
|
+
function je(n, u, v) {
|
|
1793
1793
|
if (n == null)
|
|
1794
1794
|
return "";
|
|
1795
1795
|
if (typeof n == "function")
|
|
1796
|
-
return
|
|
1796
|
+
return y(n, Ae(n));
|
|
1797
1797
|
if (typeof n == "string")
|
|
1798
|
-
return
|
|
1798
|
+
return _(n);
|
|
1799
1799
|
switch (n) {
|
|
1800
1800
|
case I:
|
|
1801
|
-
return
|
|
1801
|
+
return _("Suspense");
|
|
1802
1802
|
case T:
|
|
1803
|
-
return
|
|
1803
|
+
return _("SuspenseList");
|
|
1804
1804
|
}
|
|
1805
1805
|
if (typeof n == "object")
|
|
1806
1806
|
switch (n.$$typeof) {
|
|
1807
|
-
case
|
|
1808
|
-
return
|
|
1809
|
-
case
|
|
1810
|
-
return je(n.type, u,
|
|
1811
|
-
case
|
|
1812
|
-
var
|
|
1807
|
+
case k:
|
|
1808
|
+
return me(n.render);
|
|
1809
|
+
case x:
|
|
1810
|
+
return je(n.type, u, v);
|
|
1811
|
+
case L: {
|
|
1812
|
+
var E = n, z = E._payload, Z = E._init;
|
|
1813
1813
|
try {
|
|
1814
|
-
return je(
|
|
1814
|
+
return je(Z(z), u, v);
|
|
1815
1815
|
} catch {
|
|
1816
1816
|
}
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
1819
1819
|
return "";
|
|
1820
1820
|
}
|
|
1821
|
-
var Me = Object.prototype.hasOwnProperty, Le = {}, ar =
|
|
1821
|
+
var Me = Object.prototype.hasOwnProperty, Le = {}, ar = ne.ReactDebugCurrentFrame;
|
|
1822
1822
|
function Ne(n) {
|
|
1823
1823
|
if (n) {
|
|
1824
|
-
var u = n._owner,
|
|
1825
|
-
ar.setExtraStackFrame(
|
|
1824
|
+
var u = n._owner, v = je(n.type, n._source, u ? u.type : null);
|
|
1825
|
+
ar.setExtraStackFrame(v);
|
|
1826
1826
|
} else
|
|
1827
1827
|
ar.setExtraStackFrame(null);
|
|
1828
1828
|
}
|
|
1829
|
-
function Pe(n, u,
|
|
1829
|
+
function Pe(n, u, v, E, z) {
|
|
1830
1830
|
{
|
|
1831
|
-
var
|
|
1831
|
+
var Z = Function.call.bind(Me);
|
|
1832
1832
|
for (var V in n)
|
|
1833
|
-
if (
|
|
1834
|
-
var
|
|
1833
|
+
if (Z(n, V)) {
|
|
1834
|
+
var W = void 0;
|
|
1835
1835
|
try {
|
|
1836
1836
|
if (typeof n[V] != "function") {
|
|
1837
|
-
var he = Error((
|
|
1837
|
+
var he = Error((E || "React class") + ": " + v + " type `" + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[V] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1838
1838
|
throw he.name = "Invariant Violation", he;
|
|
1839
1839
|
}
|
|
1840
|
-
|
|
1841
|
-
} catch (
|
|
1842
|
-
|
|
1840
|
+
W = n[V](u, V, E, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1841
|
+
} catch (ue) {
|
|
1842
|
+
W = ue;
|
|
1843
1843
|
}
|
|
1844
|
-
|
|
1844
|
+
W && !(W instanceof Error) && (Ne(z), Q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", E || "React class", v, V, typeof W), Ne(null)), W instanceof Error && !(W.message in Le) && (Le[W.message] = !0, Ne(z), Q("Failed %s type: %s", v, W.message), Ne(null));
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
@@ -1851,8 +1851,8 @@ function vn() {
|
|
|
1851
1851
|
}
|
|
1852
1852
|
function or(n) {
|
|
1853
1853
|
{
|
|
1854
|
-
var u = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1855
|
-
return
|
|
1854
|
+
var u = typeof Symbol == "function" && Symbol.toStringTag, v = u && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
1855
|
+
return v;
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
function ir(n) {
|
|
@@ -1867,16 +1867,16 @@ function vn() {
|
|
|
1867
1867
|
}
|
|
1868
1868
|
function Ze(n) {
|
|
1869
1869
|
if (ir(n))
|
|
1870
|
-
return
|
|
1870
|
+
return Q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", or(n)), ze(n);
|
|
1871
1871
|
}
|
|
1872
|
-
var
|
|
1872
|
+
var $e = ne.ReactCurrentOwner, wr = {
|
|
1873
1873
|
key: !0,
|
|
1874
1874
|
ref: !0,
|
|
1875
1875
|
__self: !0,
|
|
1876
1876
|
__source: !0
|
|
1877
1877
|
}, ur, sr, We;
|
|
1878
1878
|
We = {};
|
|
1879
|
-
function
|
|
1879
|
+
function Cr(n) {
|
|
1880
1880
|
if (Me.call(n, "ref")) {
|
|
1881
1881
|
var u = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
1882
1882
|
if (u && u.isReactWarning)
|
|
@@ -1893,97 +1893,97 @@ function vn() {
|
|
|
1893
1893
|
return n.key !== void 0;
|
|
1894
1894
|
}
|
|
1895
1895
|
function Sr(n, u) {
|
|
1896
|
-
if (typeof n.ref == "string" &&
|
|
1897
|
-
var
|
|
1898
|
-
We[
|
|
1896
|
+
if (typeof n.ref == "string" && $e.current && u && $e.current.stateNode !== u) {
|
|
1897
|
+
var v = ve($e.current.type);
|
|
1898
|
+
We[v] || (Q('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ve($e.current.type), n.ref), We[v] = !0);
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
|
-
function
|
|
1901
|
+
function Ie(n, u) {
|
|
1902
1902
|
{
|
|
1903
|
-
var
|
|
1904
|
-
ur || (ur = !0,
|
|
1903
|
+
var v = function() {
|
|
1904
|
+
ur || (ur = !0, Q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
1905
1905
|
};
|
|
1906
|
-
|
|
1907
|
-
get:
|
|
1906
|
+
v.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
1907
|
+
get: v,
|
|
1908
1908
|
configurable: !0
|
|
1909
1909
|
});
|
|
1910
1910
|
}
|
|
1911
1911
|
}
|
|
1912
1912
|
function cr(n, u) {
|
|
1913
1913
|
{
|
|
1914
|
-
var
|
|
1915
|
-
sr || (sr = !0,
|
|
1914
|
+
var v = function() {
|
|
1915
|
+
sr || (sr = !0, Q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
1916
1916
|
};
|
|
1917
|
-
|
|
1918
|
-
get:
|
|
1917
|
+
v.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
1918
|
+
get: v,
|
|
1919
1919
|
configurable: !0
|
|
1920
1920
|
});
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
|
-
var Or = function(n, u,
|
|
1924
|
-
var
|
|
1923
|
+
var Or = function(n, u, v, E, z, Z, V) {
|
|
1924
|
+
var W = {
|
|
1925
1925
|
// This tag allows us to uniquely identify this as a React Element
|
|
1926
|
-
$$typeof:
|
|
1926
|
+
$$typeof: p,
|
|
1927
1927
|
// Built-in properties that belong on the element
|
|
1928
1928
|
type: n,
|
|
1929
1929
|
key: u,
|
|
1930
|
-
ref:
|
|
1930
|
+
ref: v,
|
|
1931
1931
|
props: V,
|
|
1932
1932
|
// Record the component responsible for creating this element.
|
|
1933
|
-
_owner:
|
|
1933
|
+
_owner: Z
|
|
1934
1934
|
};
|
|
1935
|
-
return
|
|
1935
|
+
return W._store = {}, Object.defineProperty(W._store, "validated", {
|
|
1936
1936
|
configurable: !1,
|
|
1937
1937
|
enumerable: !1,
|
|
1938
1938
|
writable: !0,
|
|
1939
1939
|
value: !1
|
|
1940
|
-
}), Object.defineProperty(
|
|
1940
|
+
}), Object.defineProperty(W, "_self", {
|
|
1941
1941
|
configurable: !1,
|
|
1942
1942
|
enumerable: !1,
|
|
1943
1943
|
writable: !1,
|
|
1944
|
-
value:
|
|
1945
|
-
}), Object.defineProperty(
|
|
1944
|
+
value: E
|
|
1945
|
+
}), Object.defineProperty(W, "_source", {
|
|
1946
1946
|
configurable: !1,
|
|
1947
1947
|
enumerable: !1,
|
|
1948
1948
|
writable: !1,
|
|
1949
1949
|
value: z
|
|
1950
|
-
}), Object.freeze && (Object.freeze(
|
|
1950
|
+
}), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
|
|
1951
1951
|
};
|
|
1952
|
-
function xr(n, u,
|
|
1952
|
+
function xr(n, u, v, E, z) {
|
|
1953
1953
|
{
|
|
1954
|
-
var
|
|
1955
|
-
|
|
1956
|
-
for (
|
|
1957
|
-
Me.call(u,
|
|
1954
|
+
var Z, V = {}, W = null, he = null;
|
|
1955
|
+
v !== void 0 && (Ze(v), W = "" + v), Tr(u) && (Ze(u.key), W = "" + u.key), Cr(u) && (he = u.ref, Sr(u, z));
|
|
1956
|
+
for (Z in u)
|
|
1957
|
+
Me.call(u, Z) && !wr.hasOwnProperty(Z) && (V[Z] = u[Z]);
|
|
1958
1958
|
if (n && n.defaultProps) {
|
|
1959
|
-
var
|
|
1960
|
-
for (
|
|
1961
|
-
V[
|
|
1959
|
+
var ue = n.defaultProps;
|
|
1960
|
+
for (Z in ue)
|
|
1961
|
+
V[Z] === void 0 && (V[Z] = ue[Z]);
|
|
1962
1962
|
}
|
|
1963
|
-
if (
|
|
1964
|
-
var
|
|
1965
|
-
|
|
1963
|
+
if (W || he) {
|
|
1964
|
+
var le = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
1965
|
+
W && Ie(V, le), he && cr(V, le);
|
|
1966
1966
|
}
|
|
1967
|
-
return Or(n,
|
|
1967
|
+
return Or(n, W, he, z, E, $e.current, V);
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
|
-
var He =
|
|
1970
|
+
var He = ne.ReactCurrentOwner, lr = ne.ReactDebugCurrentFrame;
|
|
1971
1971
|
function ke(n) {
|
|
1972
1972
|
if (n) {
|
|
1973
|
-
var u = n._owner,
|
|
1974
|
-
lr.setExtraStackFrame(
|
|
1973
|
+
var u = n._owner, v = je(n.type, n._source, u ? u.type : null);
|
|
1974
|
+
lr.setExtraStackFrame(v);
|
|
1975
1975
|
} else
|
|
1976
1976
|
lr.setExtraStackFrame(null);
|
|
1977
1977
|
}
|
|
1978
1978
|
var Ue;
|
|
1979
1979
|
Ue = !1;
|
|
1980
|
-
function
|
|
1981
|
-
return typeof n == "object" && n !== null && n.$$typeof ===
|
|
1980
|
+
function Fe(n) {
|
|
1981
|
+
return typeof n == "object" && n !== null && n.$$typeof === p;
|
|
1982
1982
|
}
|
|
1983
1983
|
function Ve() {
|
|
1984
1984
|
{
|
|
1985
1985
|
if (He.current) {
|
|
1986
|
-
var n =
|
|
1986
|
+
var n = ve(He.current.type);
|
|
1987
1987
|
if (n)
|
|
1988
1988
|
return `
|
|
1989
1989
|
|
|
@@ -1995,10 +1995,10 @@ Check the render method of \`` + n + "`.";
|
|
|
1995
1995
|
function Pr(n) {
|
|
1996
1996
|
{
|
|
1997
1997
|
if (n !== void 0) {
|
|
1998
|
-
var u = n.fileName.replace(/^.*[\\\/]/, ""),
|
|
1998
|
+
var u = n.fileName.replace(/^.*[\\\/]/, ""), v = n.lineNumber;
|
|
1999
1999
|
return `
|
|
2000
2000
|
|
|
2001
|
-
Check your code at ` + u + ":" +
|
|
2001
|
+
Check your code at ` + u + ":" + v + ".";
|
|
2002
2002
|
}
|
|
2003
2003
|
return "";
|
|
2004
2004
|
}
|
|
@@ -2008,10 +2008,10 @@ Check your code at ` + u + ":" + p + ".";
|
|
|
2008
2008
|
{
|
|
2009
2009
|
var u = Ve();
|
|
2010
2010
|
if (!u) {
|
|
2011
|
-
var
|
|
2012
|
-
|
|
2011
|
+
var v = typeof n == "string" ? n : n.displayName || n.name;
|
|
2012
|
+
v && (u = `
|
|
2013
2013
|
|
|
2014
|
-
Check the top-level render call using <` +
|
|
2014
|
+
Check the top-level render call using <` + v + ">.");
|
|
2015
2015
|
}
|
|
2016
2016
|
return u;
|
|
2017
2017
|
}
|
|
@@ -2021,12 +2021,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
2021
2021
|
if (!n._store || n._store.validated || n.key != null)
|
|
2022
2022
|
return;
|
|
2023
2023
|
n._store.validated = !0;
|
|
2024
|
-
var
|
|
2025
|
-
if (fr[
|
|
2024
|
+
var v = jr(u);
|
|
2025
|
+
if (fr[v])
|
|
2026
2026
|
return;
|
|
2027
|
-
fr[
|
|
2028
|
-
var
|
|
2029
|
-
n && n._owner && n._owner !== He.current && (
|
|
2027
|
+
fr[v] = !0;
|
|
2028
|
+
var E = "";
|
|
2029
|
+
n && n._owner && n._owner !== He.current && (E = " It was passed a child from " + ve(n._owner.type) + "."), ke(n), Q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, E), ke(null);
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
function pr(n, u) {
|
|
@@ -2034,17 +2034,17 @@ Check the top-level render call using <` + p + ">.");
|
|
|
2034
2034
|
if (typeof n != "object")
|
|
2035
2035
|
return;
|
|
2036
2036
|
if (Be(n))
|
|
2037
|
-
for (var
|
|
2038
|
-
var
|
|
2039
|
-
|
|
2037
|
+
for (var v = 0; v < n.length; v++) {
|
|
2038
|
+
var E = n[v];
|
|
2039
|
+
Fe(E) && dr(E, u);
|
|
2040
2040
|
}
|
|
2041
|
-
else if (
|
|
2041
|
+
else if (Fe(n))
|
|
2042
2042
|
n._store && (n._store.validated = !0);
|
|
2043
2043
|
else if (n) {
|
|
2044
|
-
var z =
|
|
2044
|
+
var z = X(n);
|
|
2045
2045
|
if (typeof z == "function" && z !== n.entries)
|
|
2046
|
-
for (var
|
|
2047
|
-
|
|
2046
|
+
for (var Z = z.call(n), V; !(V = Z.next()).done; )
|
|
2047
|
+
Fe(V.value) && dr(V.value, u);
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
2050
|
}
|
|
@@ -2053,80 +2053,80 @@ Check the top-level render call using <` + p + ">.");
|
|
|
2053
2053
|
var u = n.type;
|
|
2054
2054
|
if (u == null || typeof u == "string")
|
|
2055
2055
|
return;
|
|
2056
|
-
var
|
|
2056
|
+
var v;
|
|
2057
2057
|
if (typeof u == "function")
|
|
2058
|
-
|
|
2059
|
-
else if (typeof u == "object" && (u.$$typeof ===
|
|
2058
|
+
v = u.propTypes;
|
|
2059
|
+
else if (typeof u == "object" && (u.$$typeof === k || // Note: Memo only checks outer props here.
|
|
2060
2060
|
// Inner props are checked in the reconciler.
|
|
2061
|
-
u.$$typeof ===
|
|
2062
|
-
|
|
2061
|
+
u.$$typeof === x))
|
|
2062
|
+
v = u.propTypes;
|
|
2063
2063
|
else
|
|
2064
2064
|
return;
|
|
2065
|
-
if (
|
|
2066
|
-
var
|
|
2067
|
-
Pe(
|
|
2065
|
+
if (v) {
|
|
2066
|
+
var E = ve(u);
|
|
2067
|
+
Pe(v, n.props, "prop", E, n);
|
|
2068
2068
|
} else if (u.PropTypes !== void 0 && !Ue) {
|
|
2069
2069
|
Ue = !0;
|
|
2070
|
-
var z =
|
|
2071
|
-
|
|
2070
|
+
var z = ve(u);
|
|
2071
|
+
Q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
2072
2072
|
}
|
|
2073
|
-
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved &&
|
|
2073
|
+
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && Q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
function Xe(n) {
|
|
2077
2077
|
{
|
|
2078
|
-
for (var u = Object.keys(n.props),
|
|
2079
|
-
var
|
|
2080
|
-
if (
|
|
2081
|
-
ke(n),
|
|
2078
|
+
for (var u = Object.keys(n.props), v = 0; v < u.length; v++) {
|
|
2079
|
+
var E = u[v];
|
|
2080
|
+
if (E !== "children" && E !== "key") {
|
|
2081
|
+
ke(n), Q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), ke(null);
|
|
2082
2082
|
break;
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
|
-
n.ref !== null && (ke(n),
|
|
2085
|
+
n.ref !== null && (ke(n), Q("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
|
-
function Qe(n, u,
|
|
2088
|
+
function Qe(n, u, v, E, z, Z) {
|
|
2089
2089
|
{
|
|
2090
|
-
var V =
|
|
2090
|
+
var V = Ce(n);
|
|
2091
2091
|
if (!V) {
|
|
2092
|
-
var
|
|
2093
|
-
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (
|
|
2092
|
+
var W = "";
|
|
2093
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (W += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2094
2094
|
var he = Pr(z);
|
|
2095
|
-
he ?
|
|
2096
|
-
var
|
|
2097
|
-
n === null ?
|
|
2095
|
+
he ? W += he : W += Ve();
|
|
2096
|
+
var ue;
|
|
2097
|
+
n === null ? ue = "null" : Be(n) ? ue = "array" : n !== void 0 && n.$$typeof === p ? (ue = "<" + (ve(n.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof n, Q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, W);
|
|
2098
2098
|
}
|
|
2099
|
-
var
|
|
2100
|
-
if (
|
|
2101
|
-
return
|
|
2099
|
+
var le = xr(n, u, v, z, Z);
|
|
2100
|
+
if (le == null)
|
|
2101
|
+
return le;
|
|
2102
2102
|
if (V) {
|
|
2103
|
-
var
|
|
2104
|
-
if (
|
|
2105
|
-
if (
|
|
2106
|
-
if (Be(
|
|
2107
|
-
for (var De = 0; De <
|
|
2108
|
-
pr(
|
|
2109
|
-
Object.freeze && Object.freeze(
|
|
2103
|
+
var Ee = u.children;
|
|
2104
|
+
if (Ee !== void 0)
|
|
2105
|
+
if (E)
|
|
2106
|
+
if (Be(Ee)) {
|
|
2107
|
+
for (var De = 0; De < Ee.length; De++)
|
|
2108
|
+
pr(Ee[De], n);
|
|
2109
|
+
Object.freeze && Object.freeze(Ee);
|
|
2110
2110
|
} else
|
|
2111
|
-
|
|
2111
|
+
Q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2112
2112
|
else
|
|
2113
|
-
pr(
|
|
2113
|
+
pr(Ee, n);
|
|
2114
2114
|
}
|
|
2115
|
-
return n ===
|
|
2115
|
+
return n === w ? Xe(le) : qe(le), le;
|
|
2116
2116
|
}
|
|
2117
2117
|
}
|
|
2118
|
-
function kr(n, u,
|
|
2119
|
-
return Qe(n, u,
|
|
2118
|
+
function kr(n, u, v) {
|
|
2119
|
+
return Qe(n, u, v, !0);
|
|
2120
2120
|
}
|
|
2121
|
-
function Ar(n, u,
|
|
2122
|
-
return Qe(n, u,
|
|
2121
|
+
function Ar(n, u, v) {
|
|
2122
|
+
return Qe(n, u, v, !1);
|
|
2123
2123
|
}
|
|
2124
|
-
var
|
|
2125
|
-
tr.Fragment =
|
|
2124
|
+
var $r = Ar, Ir = kr;
|
|
2125
|
+
tr.Fragment = w, tr.jsx = $r, tr.jsxs = Ir;
|
|
2126
2126
|
}()), tr;
|
|
2127
2127
|
}
|
|
2128
2128
|
process.env.NODE_ENV === "production" ? Kr.exports = pn() : Kr.exports = vn();
|
|
2129
|
-
var
|
|
2129
|
+
var g = Kr.exports, Zr = { exports: {} }, Rr = { exports: {} }, G = {};
|
|
2130
2130
|
/** @license React v16.13.1
|
|
2131
2131
|
* react-is.production.min.js
|
|
2132
2132
|
*
|
|
@@ -2140,67 +2140,67 @@ function yn() {
|
|
|
2140
2140
|
if (St)
|
|
2141
2141
|
return G;
|
|
2142
2142
|
St = 1;
|
|
2143
|
-
var
|
|
2144
|
-
function
|
|
2145
|
-
if (typeof
|
|
2146
|
-
var
|
|
2147
|
-
switch (
|
|
2148
|
-
case
|
|
2149
|
-
switch (
|
|
2150
|
-
case
|
|
2143
|
+
var s = typeof Symbol == "function" && Symbol.for, p = s ? Symbol.for("react.element") : 60103, F = s ? Symbol.for("react.portal") : 60106, w = s ? Symbol.for("react.fragment") : 60107, j = s ? Symbol.for("react.strict_mode") : 60108, C = s ? Symbol.for("react.profiler") : 60114, D = s ? Symbol.for("react.provider") : 60109, P = s ? Symbol.for("react.context") : 60110, k = s ? Symbol.for("react.async_mode") : 60111, I = s ? Symbol.for("react.concurrent_mode") : 60111, T = s ? Symbol.for("react.forward_ref") : 60112, x = s ? Symbol.for("react.suspense") : 60113, L = s ? Symbol.for("react.suspense_list") : 60120, q = s ? Symbol.for("react.memo") : 60115, re = s ? Symbol.for("react.lazy") : 60116, N = s ? Symbol.for("react.block") : 60121, X = s ? Symbol.for("react.fundamental") : 60117, ne = s ? Symbol.for("react.responder") : 60118, Q = s ? Symbol.for("react.scope") : 60119;
|
|
2144
|
+
function te(c) {
|
|
2145
|
+
if (typeof c == "object" && c !== null) {
|
|
2146
|
+
var ie = c.$$typeof;
|
|
2147
|
+
switch (ie) {
|
|
2148
|
+
case p:
|
|
2149
|
+
switch (c = c.type, c) {
|
|
2150
|
+
case k:
|
|
2151
2151
|
case I:
|
|
2152
|
-
case
|
|
2153
|
-
case
|
|
2154
|
-
case
|
|
2155
|
-
case
|
|
2156
|
-
return
|
|
2152
|
+
case w:
|
|
2153
|
+
case C:
|
|
2154
|
+
case j:
|
|
2155
|
+
case x:
|
|
2156
|
+
return c;
|
|
2157
2157
|
default:
|
|
2158
|
-
switch (
|
|
2159
|
-
case
|
|
2158
|
+
switch (c = c && c.$$typeof, c) {
|
|
2159
|
+
case P:
|
|
2160
2160
|
case T:
|
|
2161
|
-
case
|
|
2161
|
+
case re:
|
|
2162
2162
|
case q:
|
|
2163
2163
|
case D:
|
|
2164
|
-
return
|
|
2164
|
+
return c;
|
|
2165
2165
|
default:
|
|
2166
|
-
return
|
|
2166
|
+
return ie;
|
|
2167
2167
|
}
|
|
2168
2168
|
}
|
|
2169
|
-
case
|
|
2170
|
-
return
|
|
2169
|
+
case F:
|
|
2170
|
+
return ie;
|
|
2171
2171
|
}
|
|
2172
2172
|
}
|
|
2173
2173
|
}
|
|
2174
|
-
function H(
|
|
2175
|
-
return
|
|
2174
|
+
function H(c) {
|
|
2175
|
+
return te(c) === I;
|
|
2176
2176
|
}
|
|
2177
|
-
return G.AsyncMode =
|
|
2178
|
-
return H(
|
|
2179
|
-
}, G.isConcurrentMode = H, G.isContextConsumer = function(
|
|
2180
|
-
return
|
|
2181
|
-
}, G.isContextProvider = function(
|
|
2182
|
-
return
|
|
2183
|
-
}, G.isElement = function(
|
|
2184
|
-
return typeof
|
|
2185
|
-
}, G.isForwardRef = function(
|
|
2186
|
-
return
|
|
2187
|
-
}, G.isFragment = function(
|
|
2188
|
-
return
|
|
2189
|
-
}, G.isLazy = function(
|
|
2190
|
-
return
|
|
2191
|
-
}, G.isMemo = function(
|
|
2192
|
-
return
|
|
2193
|
-
}, G.isPortal = function(
|
|
2194
|
-
return
|
|
2195
|
-
}, G.isProfiler = function(
|
|
2196
|
-
return
|
|
2197
|
-
}, G.isStrictMode = function(
|
|
2198
|
-
return
|
|
2199
|
-
}, G.isSuspense = function(
|
|
2200
|
-
return
|
|
2201
|
-
}, G.isValidElementType = function(
|
|
2202
|
-
return typeof
|
|
2203
|
-
}, G.typeOf =
|
|
2177
|
+
return G.AsyncMode = k, G.ConcurrentMode = I, G.ContextConsumer = P, G.ContextProvider = D, G.Element = p, G.ForwardRef = T, G.Fragment = w, G.Lazy = re, G.Memo = q, G.Portal = F, G.Profiler = C, G.StrictMode = j, G.Suspense = x, G.isAsyncMode = function(c) {
|
|
2178
|
+
return H(c) || te(c) === k;
|
|
2179
|
+
}, G.isConcurrentMode = H, G.isContextConsumer = function(c) {
|
|
2180
|
+
return te(c) === P;
|
|
2181
|
+
}, G.isContextProvider = function(c) {
|
|
2182
|
+
return te(c) === D;
|
|
2183
|
+
}, G.isElement = function(c) {
|
|
2184
|
+
return typeof c == "object" && c !== null && c.$$typeof === p;
|
|
2185
|
+
}, G.isForwardRef = function(c) {
|
|
2186
|
+
return te(c) === T;
|
|
2187
|
+
}, G.isFragment = function(c) {
|
|
2188
|
+
return te(c) === w;
|
|
2189
|
+
}, G.isLazy = function(c) {
|
|
2190
|
+
return te(c) === re;
|
|
2191
|
+
}, G.isMemo = function(c) {
|
|
2192
|
+
return te(c) === q;
|
|
2193
|
+
}, G.isPortal = function(c) {
|
|
2194
|
+
return te(c) === F;
|
|
2195
|
+
}, G.isProfiler = function(c) {
|
|
2196
|
+
return te(c) === C;
|
|
2197
|
+
}, G.isStrictMode = function(c) {
|
|
2198
|
+
return te(c) === j;
|
|
2199
|
+
}, G.isSuspense = function(c) {
|
|
2200
|
+
return te(c) === x;
|
|
2201
|
+
}, G.isValidElementType = function(c) {
|
|
2202
|
+
return typeof c == "string" || typeof c == "function" || c === w || c === I || c === C || c === j || c === x || c === L || typeof c == "object" && c !== null && (c.$$typeof === re || c.$$typeof === q || c.$$typeof === D || c.$$typeof === P || c.$$typeof === T || c.$$typeof === X || c.$$typeof === ne || c.$$typeof === Q || c.$$typeof === N);
|
|
2203
|
+
}, G.typeOf = te, G;
|
|
2204
2204
|
}
|
|
2205
2205
|
var K = {};
|
|
2206
2206
|
/** @license React v16.13.1
|
|
@@ -2212,91 +2212,91 @@ var K = {};
|
|
|
2212
2212
|
* LICENSE file in the root directory of this source tree.
|
|
2213
2213
|
*/
|
|
2214
2214
|
var Ot;
|
|
2215
|
-
function
|
|
2215
|
+
function mn() {
|
|
2216
2216
|
return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2217
|
-
var
|
|
2218
|
-
function
|
|
2219
|
-
return typeof
|
|
2220
|
-
|
|
2221
|
-
}
|
|
2222
|
-
function H(
|
|
2223
|
-
if (typeof
|
|
2224
|
-
var
|
|
2225
|
-
switch (
|
|
2226
|
-
case
|
|
2227
|
-
var Ae =
|
|
2217
|
+
var s = typeof Symbol == "function" && Symbol.for, p = s ? Symbol.for("react.element") : 60103, F = s ? Symbol.for("react.portal") : 60106, w = s ? Symbol.for("react.fragment") : 60107, j = s ? Symbol.for("react.strict_mode") : 60108, C = s ? Symbol.for("react.profiler") : 60114, D = s ? Symbol.for("react.provider") : 60109, P = s ? Symbol.for("react.context") : 60110, k = s ? Symbol.for("react.async_mode") : 60111, I = s ? Symbol.for("react.concurrent_mode") : 60111, T = s ? Symbol.for("react.forward_ref") : 60112, x = s ? Symbol.for("react.suspense") : 60113, L = s ? Symbol.for("react.suspense_list") : 60120, q = s ? Symbol.for("react.memo") : 60115, re = s ? Symbol.for("react.lazy") : 60116, N = s ? Symbol.for("react.block") : 60121, X = s ? Symbol.for("react.fundamental") : 60117, ne = s ? Symbol.for("react.responder") : 60118, Q = s ? Symbol.for("react.scope") : 60119;
|
|
2218
|
+
function te(y) {
|
|
2219
|
+
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2220
|
+
y === w || y === I || y === C || y === j || y === x || y === L || typeof y == "object" && y !== null && (y.$$typeof === re || y.$$typeof === q || y.$$typeof === D || y.$$typeof === P || y.$$typeof === T || y.$$typeof === X || y.$$typeof === ne || y.$$typeof === Q || y.$$typeof === N);
|
|
2221
|
+
}
|
|
2222
|
+
function H(y) {
|
|
2223
|
+
if (typeof y == "object" && y !== null) {
|
|
2224
|
+
var me = y.$$typeof;
|
|
2225
|
+
switch (me) {
|
|
2226
|
+
case p:
|
|
2227
|
+
var Ae = y.type;
|
|
2228
2228
|
switch (Ae) {
|
|
2229
|
-
case
|
|
2229
|
+
case k:
|
|
2230
2230
|
case I:
|
|
2231
|
-
case
|
|
2232
|
-
case
|
|
2233
|
-
case
|
|
2234
|
-
case
|
|
2231
|
+
case w:
|
|
2232
|
+
case C:
|
|
2233
|
+
case j:
|
|
2234
|
+
case x:
|
|
2235
2235
|
return Ae;
|
|
2236
2236
|
default:
|
|
2237
2237
|
var je = Ae && Ae.$$typeof;
|
|
2238
2238
|
switch (je) {
|
|
2239
|
-
case
|
|
2239
|
+
case P:
|
|
2240
2240
|
case T:
|
|
2241
|
-
case
|
|
2241
|
+
case re:
|
|
2242
2242
|
case q:
|
|
2243
2243
|
case D:
|
|
2244
2244
|
return je;
|
|
2245
2245
|
default:
|
|
2246
|
-
return
|
|
2246
|
+
return me;
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
|
-
case
|
|
2250
|
-
return
|
|
2249
|
+
case F:
|
|
2250
|
+
return me;
|
|
2251
2251
|
}
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
|
-
var
|
|
2255
|
-
function Se(
|
|
2256
|
-
return
|
|
2254
|
+
var c = k, ie = I, _e = P, Re = D, we = p, Ce = T, xe = w, Te = re, ve = q, fe = F, de = C, ce = j, S = x, be = !1;
|
|
2255
|
+
function Se(y) {
|
|
2256
|
+
return be || (be = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), r(y) || H(y) === k;
|
|
2257
2257
|
}
|
|
2258
|
-
function r(
|
|
2259
|
-
return H(
|
|
2258
|
+
function r(y) {
|
|
2259
|
+
return H(y) === I;
|
|
2260
2260
|
}
|
|
2261
|
-
function a(
|
|
2262
|
-
return H(
|
|
2261
|
+
function a(y) {
|
|
2262
|
+
return H(y) === P;
|
|
2263
2263
|
}
|
|
2264
|
-
function f(
|
|
2265
|
-
return H(
|
|
2264
|
+
function f(y) {
|
|
2265
|
+
return H(y) === D;
|
|
2266
2266
|
}
|
|
2267
|
-
function y
|
|
2268
|
-
return typeof
|
|
2267
|
+
function m(y) {
|
|
2268
|
+
return typeof y == "object" && y !== null && y.$$typeof === p;
|
|
2269
2269
|
}
|
|
2270
|
-
function d(
|
|
2271
|
-
return H(
|
|
2270
|
+
function d(y) {
|
|
2271
|
+
return H(y) === T;
|
|
2272
2272
|
}
|
|
2273
|
-
function
|
|
2274
|
-
return H(
|
|
2273
|
+
function O(y) {
|
|
2274
|
+
return H(y) === w;
|
|
2275
2275
|
}
|
|
2276
|
-
function
|
|
2277
|
-
return H(
|
|
2276
|
+
function b(y) {
|
|
2277
|
+
return H(y) === re;
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2280
|
-
return H(
|
|
2279
|
+
function h(y) {
|
|
2280
|
+
return H(y) === q;
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2283
|
-
return H(
|
|
2282
|
+
function _(y) {
|
|
2283
|
+
return H(y) === F;
|
|
2284
2284
|
}
|
|
2285
|
-
function
|
|
2286
|
-
return H(
|
|
2285
|
+
function A(y) {
|
|
2286
|
+
return H(y) === C;
|
|
2287
2287
|
}
|
|
2288
|
-
function
|
|
2289
|
-
return H(
|
|
2288
|
+
function Y(y) {
|
|
2289
|
+
return H(y) === j;
|
|
2290
2290
|
}
|
|
2291
|
-
function
|
|
2292
|
-
return H(
|
|
2291
|
+
function ye(y) {
|
|
2292
|
+
return H(y) === x;
|
|
2293
2293
|
}
|
|
2294
|
-
K.AsyncMode =
|
|
2294
|
+
K.AsyncMode = c, K.ConcurrentMode = ie, K.ContextConsumer = _e, K.ContextProvider = Re, K.Element = we, K.ForwardRef = Ce, K.Fragment = xe, K.Lazy = Te, K.Memo = ve, K.Portal = fe, K.Profiler = de, K.StrictMode = ce, K.Suspense = S, K.isAsyncMode = Se, K.isConcurrentMode = r, K.isContextConsumer = a, K.isContextProvider = f, K.isElement = m, K.isForwardRef = d, K.isFragment = O, K.isLazy = b, K.isMemo = h, K.isPortal = _, K.isProfiler = A, K.isStrictMode = Y, K.isSuspense = ye, K.isValidElementType = te, K.typeOf = H;
|
|
2295
2295
|
}()), K;
|
|
2296
2296
|
}
|
|
2297
2297
|
var xt;
|
|
2298
|
-
function
|
|
2299
|
-
return xt || (xt = 1, process.env.NODE_ENV === "production" ? Rr.exports = yn() : Rr.exports =
|
|
2298
|
+
function Ft() {
|
|
2299
|
+
return xt || (xt = 1, process.env.NODE_ENV === "production" ? Rr.exports = yn() : Rr.exports = mn()), Rr.exports;
|
|
2300
2300
|
}
|
|
2301
2301
|
/*
|
|
2302
2302
|
object-assign
|
|
@@ -2304,29 +2304,29 @@ object-assign
|
|
|
2304
2304
|
@license MIT
|
|
2305
2305
|
*/
|
|
2306
2306
|
var Vr, Pt;
|
|
2307
|
-
function
|
|
2307
|
+
function hn() {
|
|
2308
2308
|
if (Pt)
|
|
2309
2309
|
return Vr;
|
|
2310
2310
|
Pt = 1;
|
|
2311
|
-
var
|
|
2312
|
-
function
|
|
2313
|
-
if (
|
|
2311
|
+
var s = Object.getOwnPropertySymbols, p = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
2312
|
+
function w(C) {
|
|
2313
|
+
if (C == null)
|
|
2314
2314
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
2315
|
-
return Object(
|
|
2315
|
+
return Object(C);
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2317
|
+
function j() {
|
|
2318
2318
|
try {
|
|
2319
2319
|
if (!Object.assign)
|
|
2320
2320
|
return !1;
|
|
2321
|
-
var
|
|
2322
|
-
if (
|
|
2321
|
+
var C = new String("abc");
|
|
2322
|
+
if (C[5] = "de", Object.getOwnPropertyNames(C)[0] === "5")
|
|
2323
2323
|
return !1;
|
|
2324
|
-
for (var D = {},
|
|
2325
|
-
D["_" + String.fromCharCode(
|
|
2326
|
-
var
|
|
2324
|
+
for (var D = {}, P = 0; P < 10; P++)
|
|
2325
|
+
D["_" + String.fromCharCode(P)] = P;
|
|
2326
|
+
var k = Object.getOwnPropertyNames(D).map(function(T) {
|
|
2327
2327
|
return D[T];
|
|
2328
2328
|
});
|
|
2329
|
-
if (
|
|
2329
|
+
if (k.join("") !== "0123456789")
|
|
2330
2330
|
return !1;
|
|
2331
2331
|
var I = {};
|
|
2332
2332
|
return "abcdefghijklmnopqrst".split("").forEach(function(T) {
|
|
@@ -2336,18 +2336,18 @@ function mn() {
|
|
|
2336
2336
|
return !1;
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
|
-
return Vr =
|
|
2340
|
-
for (var
|
|
2341
|
-
|
|
2342
|
-
for (var
|
|
2343
|
-
|
|
2344
|
-
if (
|
|
2345
|
-
I =
|
|
2346
|
-
for (var
|
|
2347
|
-
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
return
|
|
2339
|
+
return Vr = j() ? Object.assign : function(C, D) {
|
|
2340
|
+
for (var P, k = w(C), I, T = 1; T < arguments.length; T++) {
|
|
2341
|
+
P = Object(arguments[T]);
|
|
2342
|
+
for (var x in P)
|
|
2343
|
+
p.call(P, x) && (k[x] = P[x]);
|
|
2344
|
+
if (s) {
|
|
2345
|
+
I = s(P);
|
|
2346
|
+
for (var L = 0; L < I.length; L++)
|
|
2347
|
+
F.call(P, I[L]) && (k[I[L]] = P[I[L]]);
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
return k;
|
|
2351
2351
|
}, Vr;
|
|
2352
2352
|
}
|
|
2353
2353
|
var qr, jt;
|
|
@@ -2355,8 +2355,8 @@ function Xr() {
|
|
|
2355
2355
|
if (jt)
|
|
2356
2356
|
return qr;
|
|
2357
2357
|
jt = 1;
|
|
2358
|
-
var
|
|
2359
|
-
return qr =
|
|
2358
|
+
var s = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2359
|
+
return qr = s, qr;
|
|
2360
2360
|
}
|
|
2361
2361
|
var Br, kt;
|
|
2362
2362
|
function Dt() {
|
|
@@ -2367,12 +2367,12 @@ function gn() {
|
|
|
2367
2367
|
if (At)
|
|
2368
2368
|
return zr;
|
|
2369
2369
|
At = 1;
|
|
2370
|
-
var
|
|
2370
|
+
var s = function() {
|
|
2371
2371
|
};
|
|
2372
2372
|
if (process.env.NODE_ENV !== "production") {
|
|
2373
|
-
var
|
|
2374
|
-
|
|
2375
|
-
var D = "Warning: " +
|
|
2373
|
+
var p = Xr(), F = {}, w = Dt();
|
|
2374
|
+
s = function(C) {
|
|
2375
|
+
var D = "Warning: " + C;
|
|
2376
2376
|
typeof console < "u" && console.error(D);
|
|
2377
2377
|
try {
|
|
2378
2378
|
throw new Error(D);
|
|
@@ -2380,289 +2380,289 @@ function gn() {
|
|
|
2380
2380
|
}
|
|
2381
2381
|
};
|
|
2382
2382
|
}
|
|
2383
|
-
function
|
|
2383
|
+
function j(C, D, P, k, I) {
|
|
2384
2384
|
if (process.env.NODE_ENV !== "production") {
|
|
2385
|
-
for (var T in
|
|
2386
|
-
if (
|
|
2387
|
-
var
|
|
2385
|
+
for (var T in C)
|
|
2386
|
+
if (w(C, T)) {
|
|
2387
|
+
var x;
|
|
2388
2388
|
try {
|
|
2389
|
-
if (typeof
|
|
2390
|
-
var
|
|
2391
|
-
(
|
|
2389
|
+
if (typeof C[T] != "function") {
|
|
2390
|
+
var L = Error(
|
|
2391
|
+
(k || "React class") + ": " + P + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof C[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2392
2392
|
);
|
|
2393
|
-
throw
|
|
2393
|
+
throw L.name = "Invariant Violation", L;
|
|
2394
2394
|
}
|
|
2395
|
-
|
|
2396
|
-
} catch (
|
|
2397
|
-
|
|
2395
|
+
x = C[T](D, T, k, P, null, p);
|
|
2396
|
+
} catch (re) {
|
|
2397
|
+
x = re;
|
|
2398
2398
|
}
|
|
2399
|
-
if (
|
|
2400
|
-
(
|
|
2401
|
-
),
|
|
2402
|
-
|
|
2399
|
+
if (x && !(x instanceof Error) && s(
|
|
2400
|
+
(k || "React class") + ": type specification of " + P + " `" + T + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof x + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2401
|
+
), x instanceof Error && !(x.message in F)) {
|
|
2402
|
+
F[x.message] = !0;
|
|
2403
2403
|
var q = I ? I() : "";
|
|
2404
|
-
|
|
2405
|
-
"Failed " +
|
|
2404
|
+
s(
|
|
2405
|
+
"Failed " + P + " type: " + x.message + (q ?? "")
|
|
2406
2406
|
);
|
|
2407
2407
|
}
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
2410
2410
|
}
|
|
2411
|
-
return
|
|
2412
|
-
process.env.NODE_ENV !== "production" && (
|
|
2413
|
-
}, zr =
|
|
2411
|
+
return j.resetWarningCache = function() {
|
|
2412
|
+
process.env.NODE_ENV !== "production" && (F = {});
|
|
2413
|
+
}, zr = j, zr;
|
|
2414
2414
|
}
|
|
2415
|
-
var Hr,
|
|
2415
|
+
var Hr, $t;
|
|
2416
2416
|
function bn() {
|
|
2417
|
-
if (
|
|
2417
|
+
if ($t)
|
|
2418
2418
|
return Hr;
|
|
2419
|
-
|
|
2420
|
-
var
|
|
2419
|
+
$t = 1;
|
|
2420
|
+
var s = Ft(), p = hn(), F = Xr(), w = Dt(), j = gn(), C = function() {
|
|
2421
2421
|
};
|
|
2422
|
-
process.env.NODE_ENV !== "production" && (
|
|
2423
|
-
var
|
|
2424
|
-
typeof console < "u" && console.error(
|
|
2422
|
+
process.env.NODE_ENV !== "production" && (C = function(P) {
|
|
2423
|
+
var k = "Warning: " + P;
|
|
2424
|
+
typeof console < "u" && console.error(k);
|
|
2425
2425
|
try {
|
|
2426
|
-
throw new Error(
|
|
2426
|
+
throw new Error(k);
|
|
2427
2427
|
} catch {
|
|
2428
2428
|
}
|
|
2429
2429
|
});
|
|
2430
2430
|
function D() {
|
|
2431
2431
|
return null;
|
|
2432
2432
|
}
|
|
2433
|
-
return Hr = function(
|
|
2433
|
+
return Hr = function(P, k) {
|
|
2434
2434
|
var I = typeof Symbol == "function" && Symbol.iterator, T = "@@iterator";
|
|
2435
|
-
function
|
|
2435
|
+
function x(r) {
|
|
2436
2436
|
var a = r && (I && r[I] || r[T]);
|
|
2437
2437
|
if (typeof a == "function")
|
|
2438
2438
|
return a;
|
|
2439
2439
|
}
|
|
2440
|
-
var
|
|
2441
|
-
array:
|
|
2442
|
-
bigint:
|
|
2443
|
-
bool:
|
|
2444
|
-
func:
|
|
2445
|
-
number:
|
|
2446
|
-
object:
|
|
2447
|
-
string:
|
|
2448
|
-
symbol:
|
|
2449
|
-
any:
|
|
2450
|
-
arrayOf:
|
|
2440
|
+
var L = "<<anonymous>>", q = {
|
|
2441
|
+
array: ne("array"),
|
|
2442
|
+
bigint: ne("bigint"),
|
|
2443
|
+
bool: ne("boolean"),
|
|
2444
|
+
func: ne("function"),
|
|
2445
|
+
number: ne("number"),
|
|
2446
|
+
object: ne("object"),
|
|
2447
|
+
string: ne("string"),
|
|
2448
|
+
symbol: ne("symbol"),
|
|
2449
|
+
any: Q(),
|
|
2450
|
+
arrayOf: te,
|
|
2451
2451
|
element: H(),
|
|
2452
|
-
elementType:
|
|
2453
|
-
instanceOf:
|
|
2454
|
-
node:
|
|
2455
|
-
objectOf:
|
|
2456
|
-
oneOf:
|
|
2457
|
-
oneOfType:
|
|
2452
|
+
elementType: c(),
|
|
2453
|
+
instanceOf: ie,
|
|
2454
|
+
node: Ce(),
|
|
2455
|
+
objectOf: Re,
|
|
2456
|
+
oneOf: _e,
|
|
2457
|
+
oneOfType: we,
|
|
2458
2458
|
shape: Te,
|
|
2459
|
-
exact:
|
|
2459
|
+
exact: ve
|
|
2460
2460
|
};
|
|
2461
|
-
function
|
|
2461
|
+
function re(r, a) {
|
|
2462
2462
|
return r === a ? r !== 0 || 1 / r === 1 / a : r !== r && a !== a;
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function N(r, a) {
|
|
2465
2465
|
this.message = r, this.data = a && typeof a == "object" ? a : {}, this.stack = "";
|
|
2466
2466
|
}
|
|
2467
|
-
|
|
2468
|
-
function
|
|
2467
|
+
N.prototype = Error.prototype;
|
|
2468
|
+
function X(r) {
|
|
2469
2469
|
if (process.env.NODE_ENV !== "production")
|
|
2470
2470
|
var a = {}, f = 0;
|
|
2471
|
-
function
|
|
2472
|
-
if (
|
|
2473
|
-
if (
|
|
2474
|
-
var
|
|
2471
|
+
function m(O, b, h, _, A, Y, ye) {
|
|
2472
|
+
if (_ = _ || L, Y = Y || h, ye !== F) {
|
|
2473
|
+
if (k) {
|
|
2474
|
+
var y = new Error(
|
|
2475
2475
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2476
2476
|
);
|
|
2477
|
-
throw
|
|
2477
|
+
throw y.name = "Invariant Violation", y;
|
|
2478
2478
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2479
|
-
var
|
|
2480
|
-
!a[
|
|
2481
|
-
f < 3 && (
|
|
2482
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
2483
|
-
), a[
|
|
2479
|
+
var me = _ + ":" + h;
|
|
2480
|
+
!a[me] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2481
|
+
f < 3 && (C(
|
|
2482
|
+
"You are manually calling a React.PropTypes validation function for the `" + Y + "` prop on `" + _ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2483
|
+
), a[me] = !0, f++);
|
|
2484
2484
|
}
|
|
2485
2485
|
}
|
|
2486
|
-
return
|
|
2486
|
+
return b[h] == null ? O ? b[h] === null ? new N("The " + A + " `" + Y + "` is marked as required " + ("in `" + _ + "`, but its value is `null`.")) : new N("The " + A + " `" + Y + "` is marked as required in " + ("`" + _ + "`, but its value is `undefined`.")) : null : r(b, h, _, A, Y);
|
|
2487
2487
|
}
|
|
2488
|
-
var d =
|
|
2489
|
-
return d.isRequired =
|
|
2488
|
+
var d = m.bind(null, !1);
|
|
2489
|
+
return d.isRequired = m.bind(null, !0), d;
|
|
2490
2490
|
}
|
|
2491
|
-
function
|
|
2492
|
-
function a(f,
|
|
2493
|
-
var
|
|
2494
|
-
if (
|
|
2495
|
-
var
|
|
2496
|
-
return new
|
|
2497
|
-
"Invalid " +
|
|
2491
|
+
function ne(r) {
|
|
2492
|
+
function a(f, m, d, O, b, h) {
|
|
2493
|
+
var _ = f[m], A = ce(_);
|
|
2494
|
+
if (A !== r) {
|
|
2495
|
+
var Y = S(_);
|
|
2496
|
+
return new N(
|
|
2497
|
+
"Invalid " + O + " `" + b + "` of type " + ("`" + Y + "` supplied to `" + d + "`, expected ") + ("`" + r + "`."),
|
|
2498
2498
|
{ expectedType: r }
|
|
2499
2499
|
);
|
|
2500
2500
|
}
|
|
2501
2501
|
return null;
|
|
2502
2502
|
}
|
|
2503
|
-
return
|
|
2503
|
+
return X(a);
|
|
2504
2504
|
}
|
|
2505
|
-
function
|
|
2506
|
-
return
|
|
2505
|
+
function Q() {
|
|
2506
|
+
return X(D);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2509
|
-
function a(f,
|
|
2508
|
+
function te(r) {
|
|
2509
|
+
function a(f, m, d, O, b) {
|
|
2510
2510
|
if (typeof r != "function")
|
|
2511
|
-
return new
|
|
2512
|
-
var
|
|
2513
|
-
if (!Array.isArray(
|
|
2514
|
-
var
|
|
2515
|
-
return new
|
|
2511
|
+
return new N("Property `" + b + "` of component `" + d + "` has invalid PropType notation inside arrayOf.");
|
|
2512
|
+
var h = f[m];
|
|
2513
|
+
if (!Array.isArray(h)) {
|
|
2514
|
+
var _ = ce(h);
|
|
2515
|
+
return new N("Invalid " + O + " `" + b + "` of type " + ("`" + _ + "` supplied to `" + d + "`, expected an array."));
|
|
2516
2516
|
}
|
|
2517
|
-
for (var
|
|
2518
|
-
var
|
|
2519
|
-
if (
|
|
2520
|
-
return
|
|
2517
|
+
for (var A = 0; A < h.length; A++) {
|
|
2518
|
+
var Y = r(h, A, d, O, b + "[" + A + "]", F);
|
|
2519
|
+
if (Y instanceof Error)
|
|
2520
|
+
return Y;
|
|
2521
2521
|
}
|
|
2522
2522
|
return null;
|
|
2523
2523
|
}
|
|
2524
|
-
return
|
|
2524
|
+
return X(a);
|
|
2525
2525
|
}
|
|
2526
2526
|
function H() {
|
|
2527
|
-
function r(a, f,
|
|
2528
|
-
var
|
|
2529
|
-
if (!
|
|
2530
|
-
var
|
|
2531
|
-
return new
|
|
2527
|
+
function r(a, f, m, d, O) {
|
|
2528
|
+
var b = a[f];
|
|
2529
|
+
if (!P(b)) {
|
|
2530
|
+
var h = ce(b);
|
|
2531
|
+
return new N("Invalid " + d + " `" + O + "` of type " + ("`" + h + "` supplied to `" + m + "`, expected a single ReactElement."));
|
|
2532
2532
|
}
|
|
2533
2533
|
return null;
|
|
2534
2534
|
}
|
|
2535
|
-
return
|
|
2535
|
+
return X(r);
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2538
|
-
function r(a, f,
|
|
2539
|
-
var
|
|
2540
|
-
if (!
|
|
2541
|
-
var
|
|
2542
|
-
return new
|
|
2537
|
+
function c() {
|
|
2538
|
+
function r(a, f, m, d, O) {
|
|
2539
|
+
var b = a[f];
|
|
2540
|
+
if (!s.isValidElementType(b)) {
|
|
2541
|
+
var h = ce(b);
|
|
2542
|
+
return new N("Invalid " + d + " `" + O + "` of type " + ("`" + h + "` supplied to `" + m + "`, expected a single ReactElement type."));
|
|
2543
2543
|
}
|
|
2544
2544
|
return null;
|
|
2545
2545
|
}
|
|
2546
|
-
return
|
|
2546
|
+
return X(r);
|
|
2547
2547
|
}
|
|
2548
|
-
function
|
|
2549
|
-
function a(f,
|
|
2550
|
-
if (!(f[
|
|
2551
|
-
var
|
|
2552
|
-
return new
|
|
2548
|
+
function ie(r) {
|
|
2549
|
+
function a(f, m, d, O, b) {
|
|
2550
|
+
if (!(f[m] instanceof r)) {
|
|
2551
|
+
var h = r.name || L, _ = Se(f[m]);
|
|
2552
|
+
return new N("Invalid " + O + " `" + b + "` of type " + ("`" + _ + "` supplied to `" + d + "`, expected ") + ("instance of `" + h + "`."));
|
|
2553
2553
|
}
|
|
2554
2554
|
return null;
|
|
2555
2555
|
}
|
|
2556
|
-
return
|
|
2556
|
+
return X(a);
|
|
2557
2557
|
}
|
|
2558
|
-
function
|
|
2558
|
+
function _e(r) {
|
|
2559
2559
|
if (!Array.isArray(r))
|
|
2560
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
2560
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? C(
|
|
2561
2561
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2562
|
-
) :
|
|
2563
|
-
function a(f,
|
|
2564
|
-
for (var
|
|
2565
|
-
if (
|
|
2562
|
+
) : C("Invalid argument supplied to oneOf, expected an array.")), D;
|
|
2563
|
+
function a(f, m, d, O, b) {
|
|
2564
|
+
for (var h = f[m], _ = 0; _ < r.length; _++)
|
|
2565
|
+
if (re(h, r[_]))
|
|
2566
2566
|
return null;
|
|
2567
|
-
var
|
|
2568
|
-
var
|
|
2569
|
-
return
|
|
2567
|
+
var A = JSON.stringify(r, function(ye, y) {
|
|
2568
|
+
var me = S(y);
|
|
2569
|
+
return me === "symbol" ? String(y) : y;
|
|
2570
2570
|
});
|
|
2571
|
-
return new
|
|
2571
|
+
return new N("Invalid " + O + " `" + b + "` of value `" + String(h) + "` " + ("supplied to `" + d + "`, expected one of " + A + "."));
|
|
2572
2572
|
}
|
|
2573
|
-
return
|
|
2573
|
+
return X(a);
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2576
|
-
function a(f,
|
|
2575
|
+
function Re(r) {
|
|
2576
|
+
function a(f, m, d, O, b) {
|
|
2577
2577
|
if (typeof r != "function")
|
|
2578
|
-
return new
|
|
2579
|
-
var
|
|
2580
|
-
if (
|
|
2581
|
-
return new
|
|
2582
|
-
for (var
|
|
2583
|
-
if (
|
|
2584
|
-
var
|
|
2585
|
-
if (
|
|
2586
|
-
return
|
|
2578
|
+
return new N("Property `" + b + "` of component `" + d + "` has invalid PropType notation inside objectOf.");
|
|
2579
|
+
var h = f[m], _ = ce(h);
|
|
2580
|
+
if (_ !== "object")
|
|
2581
|
+
return new N("Invalid " + O + " `" + b + "` of type " + ("`" + _ + "` supplied to `" + d + "`, expected an object."));
|
|
2582
|
+
for (var A in h)
|
|
2583
|
+
if (w(h, A)) {
|
|
2584
|
+
var Y = r(h, A, d, O, b + "." + A, F);
|
|
2585
|
+
if (Y instanceof Error)
|
|
2586
|
+
return Y;
|
|
2587
2587
|
}
|
|
2588
2588
|
return null;
|
|
2589
2589
|
}
|
|
2590
|
-
return
|
|
2590
|
+
return X(a);
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function we(r) {
|
|
2593
2593
|
if (!Array.isArray(r))
|
|
2594
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2594
|
+
return process.env.NODE_ENV !== "production" && C("Invalid argument supplied to oneOfType, expected an instance of array."), D;
|
|
2595
2595
|
for (var a = 0; a < r.length; a++) {
|
|
2596
2596
|
var f = r[a];
|
|
2597
2597
|
if (typeof f != "function")
|
|
2598
|
-
return
|
|
2599
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
2598
|
+
return C(
|
|
2599
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + be(f) + " at index " + a + "."
|
|
2600
2600
|
), D;
|
|
2601
2601
|
}
|
|
2602
|
-
function
|
|
2603
|
-
for (var
|
|
2604
|
-
var
|
|
2605
|
-
if (
|
|
2602
|
+
function m(d, O, b, h, _) {
|
|
2603
|
+
for (var A = [], Y = 0; Y < r.length; Y++) {
|
|
2604
|
+
var ye = r[Y], y = ye(d, O, b, h, _, F);
|
|
2605
|
+
if (y == null)
|
|
2606
2606
|
return null;
|
|
2607
|
-
|
|
2607
|
+
y.data && w(y.data, "expectedType") && A.push(y.data.expectedType);
|
|
2608
2608
|
}
|
|
2609
|
-
var
|
|
2610
|
-
return new
|
|
2609
|
+
var me = A.length > 0 ? ", expected one of type [" + A.join(", ") + "]" : "";
|
|
2610
|
+
return new N("Invalid " + h + " `" + _ + "` supplied to " + ("`" + b + "`" + me + "."));
|
|
2611
2611
|
}
|
|
2612
|
-
return
|
|
2612
|
+
return X(m);
|
|
2613
2613
|
}
|
|
2614
|
-
function
|
|
2615
|
-
function r(a, f,
|
|
2616
|
-
return
|
|
2614
|
+
function Ce() {
|
|
2615
|
+
function r(a, f, m, d, O) {
|
|
2616
|
+
return fe(a[f]) ? null : new N("Invalid " + d + " `" + O + "` supplied to " + ("`" + m + "`, expected a ReactNode."));
|
|
2617
2617
|
}
|
|
2618
|
-
return
|
|
2618
|
+
return X(r);
|
|
2619
2619
|
}
|
|
2620
|
-
function xe(r, a, f,
|
|
2621
|
-
return new
|
|
2622
|
-
(r || "React class") + ": " + a + " type `" + f + "." +
|
|
2620
|
+
function xe(r, a, f, m, d) {
|
|
2621
|
+
return new N(
|
|
2622
|
+
(r || "React class") + ": " + a + " type `" + f + "." + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + d + "`."
|
|
2623
2623
|
);
|
|
2624
2624
|
}
|
|
2625
2625
|
function Te(r) {
|
|
2626
|
-
function a(f,
|
|
2627
|
-
var
|
|
2628
|
-
if (
|
|
2629
|
-
return new
|
|
2630
|
-
for (var
|
|
2631
|
-
var
|
|
2632
|
-
if (typeof
|
|
2633
|
-
return xe(d,
|
|
2634
|
-
var
|
|
2635
|
-
if (
|
|
2636
|
-
return
|
|
2626
|
+
function a(f, m, d, O, b) {
|
|
2627
|
+
var h = f[m], _ = ce(h);
|
|
2628
|
+
if (_ !== "object")
|
|
2629
|
+
return new N("Invalid " + O + " `" + b + "` of type `" + _ + "` " + ("supplied to `" + d + "`, expected `object`."));
|
|
2630
|
+
for (var A in r) {
|
|
2631
|
+
var Y = r[A];
|
|
2632
|
+
if (typeof Y != "function")
|
|
2633
|
+
return xe(d, O, b, A, S(Y));
|
|
2634
|
+
var ye = Y(h, A, d, O, b + "." + A, F);
|
|
2635
|
+
if (ye)
|
|
2636
|
+
return ye;
|
|
2637
2637
|
}
|
|
2638
2638
|
return null;
|
|
2639
2639
|
}
|
|
2640
|
-
return
|
|
2641
|
-
}
|
|
2642
|
-
function
|
|
2643
|
-
function a(f,
|
|
2644
|
-
var
|
|
2645
|
-
if (
|
|
2646
|
-
return new
|
|
2647
|
-
var
|
|
2648
|
-
for (var
|
|
2649
|
-
var
|
|
2650
|
-
if (
|
|
2651
|
-
return xe(d,
|
|
2652
|
-
if (!
|
|
2653
|
-
return new
|
|
2654
|
-
"Invalid " +
|
|
2640
|
+
return X(a);
|
|
2641
|
+
}
|
|
2642
|
+
function ve(r) {
|
|
2643
|
+
function a(f, m, d, O, b) {
|
|
2644
|
+
var h = f[m], _ = ce(h);
|
|
2645
|
+
if (_ !== "object")
|
|
2646
|
+
return new N("Invalid " + O + " `" + b + "` of type `" + _ + "` " + ("supplied to `" + d + "`, expected `object`."));
|
|
2647
|
+
var A = p({}, f[m], r);
|
|
2648
|
+
for (var Y in A) {
|
|
2649
|
+
var ye = r[Y];
|
|
2650
|
+
if (w(r, Y) && typeof ye != "function")
|
|
2651
|
+
return xe(d, O, b, Y, S(ye));
|
|
2652
|
+
if (!ye)
|
|
2653
|
+
return new N(
|
|
2654
|
+
"Invalid " + O + " `" + b + "` key `" + Y + "` supplied to `" + d + "`.\nBad object: " + JSON.stringify(f[m], null, " ") + `
|
|
2655
2655
|
Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
2656
2656
|
);
|
|
2657
|
-
var
|
|
2658
|
-
if (
|
|
2659
|
-
return
|
|
2657
|
+
var y = ye(h, Y, d, O, b + "." + Y, F);
|
|
2658
|
+
if (y)
|
|
2659
|
+
return y;
|
|
2660
2660
|
}
|
|
2661
2661
|
return null;
|
|
2662
2662
|
}
|
|
2663
|
-
return
|
|
2663
|
+
return X(a);
|
|
2664
2664
|
}
|
|
2665
|
-
function
|
|
2665
|
+
function fe(r) {
|
|
2666
2666
|
switch (typeof r) {
|
|
2667
2667
|
case "number":
|
|
2668
2668
|
case "string":
|
|
@@ -2672,20 +2672,20 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
2672
2672
|
return !r;
|
|
2673
2673
|
case "object":
|
|
2674
2674
|
if (Array.isArray(r))
|
|
2675
|
-
return r.every(
|
|
2676
|
-
if (r === null ||
|
|
2675
|
+
return r.every(fe);
|
|
2676
|
+
if (r === null || P(r))
|
|
2677
2677
|
return !0;
|
|
2678
|
-
var a =
|
|
2678
|
+
var a = x(r);
|
|
2679
2679
|
if (a) {
|
|
2680
|
-
var f = a.call(r),
|
|
2680
|
+
var f = a.call(r), m;
|
|
2681
2681
|
if (a !== r.entries) {
|
|
2682
|
-
for (; !(
|
|
2683
|
-
if (!
|
|
2682
|
+
for (; !(m = f.next()).done; )
|
|
2683
|
+
if (!fe(m.value))
|
|
2684
2684
|
return !1;
|
|
2685
2685
|
} else
|
|
2686
|
-
for (; !(
|
|
2687
|
-
var d =
|
|
2688
|
-
if (d && !
|
|
2686
|
+
for (; !(m = f.next()).done; ) {
|
|
2687
|
+
var d = m.value;
|
|
2688
|
+
if (d && !fe(d[1]))
|
|
2689
2689
|
return !1;
|
|
2690
2690
|
}
|
|
2691
2691
|
} else
|
|
@@ -2695,17 +2695,17 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
2695
2695
|
return !1;
|
|
2696
2696
|
}
|
|
2697
2697
|
}
|
|
2698
|
-
function
|
|
2698
|
+
function de(r, a) {
|
|
2699
2699
|
return r === "symbol" ? !0 : a ? a["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && a instanceof Symbol : !1;
|
|
2700
2700
|
}
|
|
2701
|
-
function
|
|
2701
|
+
function ce(r) {
|
|
2702
2702
|
var a = typeof r;
|
|
2703
|
-
return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" :
|
|
2703
|
+
return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : de(a, r) ? "symbol" : a;
|
|
2704
2704
|
}
|
|
2705
|
-
function
|
|
2705
|
+
function S(r) {
|
|
2706
2706
|
if (typeof r > "u" || r === null)
|
|
2707
2707
|
return "" + r;
|
|
2708
|
-
var a =
|
|
2708
|
+
var a = ce(r);
|
|
2709
2709
|
if (a === "object") {
|
|
2710
2710
|
if (r instanceof Date)
|
|
2711
2711
|
return "date";
|
|
@@ -2714,8 +2714,8 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
2714
2714
|
}
|
|
2715
2715
|
return a;
|
|
2716
2716
|
}
|
|
2717
|
-
function
|
|
2718
|
-
var a =
|
|
2717
|
+
function be(r) {
|
|
2718
|
+
var a = S(r);
|
|
2719
2719
|
switch (a) {
|
|
2720
2720
|
case "array":
|
|
2721
2721
|
case "object":
|
|
@@ -2729,80 +2729,80 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
2731
|
function Se(r) {
|
|
2732
|
-
return !r.constructor || !r.constructor.name ?
|
|
2732
|
+
return !r.constructor || !r.constructor.name ? L : r.constructor.name;
|
|
2733
2733
|
}
|
|
2734
|
-
return q.checkPropTypes =
|
|
2734
|
+
return q.checkPropTypes = j, q.resetWarningCache = j.resetWarningCache, q.PropTypes = q, q;
|
|
2735
2735
|
}, Hr;
|
|
2736
2736
|
}
|
|
2737
|
-
var Gr,
|
|
2737
|
+
var Gr, It;
|
|
2738
2738
|
function _n() {
|
|
2739
|
-
if (
|
|
2739
|
+
if (It)
|
|
2740
2740
|
return Gr;
|
|
2741
|
-
|
|
2742
|
-
var
|
|
2743
|
-
function
|
|
2741
|
+
It = 1;
|
|
2742
|
+
var s = Xr();
|
|
2743
|
+
function p() {
|
|
2744
2744
|
}
|
|
2745
|
-
function
|
|
2745
|
+
function F() {
|
|
2746
2746
|
}
|
|
2747
|
-
return
|
|
2748
|
-
function
|
|
2749
|
-
if (
|
|
2750
|
-
var
|
|
2747
|
+
return F.resetWarningCache = p, Gr = function() {
|
|
2748
|
+
function w(D, P, k, I, T, x) {
|
|
2749
|
+
if (x !== s) {
|
|
2750
|
+
var L = new Error(
|
|
2751
2751
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2752
2752
|
);
|
|
2753
|
-
throw
|
|
2754
|
-
}
|
|
2755
|
-
}
|
|
2756
|
-
|
|
2757
|
-
function
|
|
2758
|
-
return
|
|
2759
|
-
}
|
|
2760
|
-
var
|
|
2761
|
-
array:
|
|
2762
|
-
bigint:
|
|
2763
|
-
bool:
|
|
2764
|
-
func:
|
|
2765
|
-
number:
|
|
2766
|
-
object:
|
|
2767
|
-
string:
|
|
2768
|
-
symbol:
|
|
2769
|
-
any:
|
|
2770
|
-
arrayOf:
|
|
2771
|
-
element:
|
|
2772
|
-
elementType:
|
|
2773
|
-
instanceOf:
|
|
2774
|
-
node:
|
|
2775
|
-
objectOf:
|
|
2776
|
-
oneOf:
|
|
2777
|
-
oneOfType:
|
|
2778
|
-
shape:
|
|
2779
|
-
exact:
|
|
2780
|
-
checkPropTypes:
|
|
2781
|
-
resetWarningCache:
|
|
2753
|
+
throw L.name = "Invariant Violation", L;
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
w.isRequired = w;
|
|
2757
|
+
function j() {
|
|
2758
|
+
return w;
|
|
2759
|
+
}
|
|
2760
|
+
var C = {
|
|
2761
|
+
array: w,
|
|
2762
|
+
bigint: w,
|
|
2763
|
+
bool: w,
|
|
2764
|
+
func: w,
|
|
2765
|
+
number: w,
|
|
2766
|
+
object: w,
|
|
2767
|
+
string: w,
|
|
2768
|
+
symbol: w,
|
|
2769
|
+
any: w,
|
|
2770
|
+
arrayOf: j,
|
|
2771
|
+
element: w,
|
|
2772
|
+
elementType: w,
|
|
2773
|
+
instanceOf: j,
|
|
2774
|
+
node: w,
|
|
2775
|
+
objectOf: j,
|
|
2776
|
+
oneOf: j,
|
|
2777
|
+
oneOfType: j,
|
|
2778
|
+
shape: j,
|
|
2779
|
+
exact: j,
|
|
2780
|
+
checkPropTypes: F,
|
|
2781
|
+
resetWarningCache: p
|
|
2782
2782
|
};
|
|
2783
|
-
return
|
|
2783
|
+
return C.PropTypes = C, C;
|
|
2784
2784
|
}, Gr;
|
|
2785
2785
|
}
|
|
2786
2786
|
if (process.env.NODE_ENV !== "production") {
|
|
2787
|
-
var En =
|
|
2787
|
+
var En = Ft(), Rn = !0;
|
|
2788
2788
|
Zr.exports = bn()(En.isElement, Rn);
|
|
2789
2789
|
} else
|
|
2790
2790
|
Zr.exports = _n()();
|
|
2791
|
-
var
|
|
2792
|
-
const
|
|
2793
|
-
/* @__PURE__ */
|
|
2794
|
-
/* @__PURE__ */
|
|
2795
|
-
/* @__PURE__ */
|
|
2796
|
-
/* @__PURE__ */
|
|
2791
|
+
var wn = Zr.exports;
|
|
2792
|
+
const J = /* @__PURE__ */ ln(wn), Cn = ({ title: s = "", id: p = "", children: F = /* @__PURE__ */ g.jsx("div", {}) }) => /* @__PURE__ */ g.jsxs("div", { className: "u-accordion", children: [
|
|
2793
|
+
/* @__PURE__ */ g.jsx("div", { className: "u-accordion-title", children: s }),
|
|
2794
|
+
/* @__PURE__ */ g.jsx("input", { className: "u-accordion-input", type: "checkbox", id: `u-accordion${p}` }),
|
|
2795
|
+
/* @__PURE__ */ g.jsx("label", { className: "u-accordion-toggle", htmlFor: `u-accordion${p}` }),
|
|
2796
|
+
/* @__PURE__ */ g.jsx("div", { className: "u-accordion-content", children: F })
|
|
2797
2797
|
] });
|
|
2798
|
-
|
|
2799
|
-
title:
|
|
2800
|
-
id:
|
|
2801
|
-
children:
|
|
2798
|
+
Cn.propTypes = {
|
|
2799
|
+
title: J.string,
|
|
2800
|
+
id: J.string,
|
|
2801
|
+
children: J.node
|
|
2802
2802
|
};
|
|
2803
|
-
const Tn = ({ onClick:
|
|
2804
|
-
const T = (
|
|
2805
|
-
switch (
|
|
2803
|
+
const Tn = ({ onClick: s, variant: p = "primary", size: F = "medium", type: w = "button", icon: j = "", iconLeft: C = !1, iconOnly: D = !1, iconSize: P, disabled: k = !1, children: I = "ОК" }) => {
|
|
2804
|
+
const T = (N) => {
|
|
2805
|
+
switch (N) {
|
|
2806
2806
|
case "primary":
|
|
2807
2807
|
return "u-button";
|
|
2808
2808
|
case "danger":
|
|
@@ -2817,11 +2817,9 @@ const Tn = ({ onClick: l, variant: h = "primary", size: N = "medium", type: P =
|
|
|
2817
2817
|
return "u-button-text";
|
|
2818
2818
|
case "text-danger":
|
|
2819
2819
|
return "u-button-text u-button-text-danger";
|
|
2820
|
-
default:
|
|
2821
|
-
return "u-button";
|
|
2822
2820
|
}
|
|
2823
|
-
},
|
|
2824
|
-
switch (
|
|
2821
|
+
}, x = (N) => {
|
|
2822
|
+
switch (N) {
|
|
2825
2823
|
case "medium":
|
|
2826
2824
|
return "";
|
|
2827
2825
|
case "small":
|
|
@@ -2829,29 +2827,29 @@ const Tn = ({ onClick: l, variant: h = "primary", size: N = "medium", type: P =
|
|
|
2829
2827
|
default:
|
|
2830
2828
|
return "";
|
|
2831
2829
|
}
|
|
2832
|
-
},
|
|
2833
|
-
return /* @__PURE__ */
|
|
2830
|
+
}, L = (N) => N ? " u-button-text-icon-left" : "", q = (N) => N ? " icon-only" : "", re = (N) => typeof N == "number" ? `${N}px` : String(N);
|
|
2831
|
+
return /* @__PURE__ */ g.jsxs(
|
|
2834
2832
|
"button",
|
|
2835
2833
|
{
|
|
2836
|
-
className: `${T(
|
|
2837
|
-
type:
|
|
2838
|
-
onClick:
|
|
2839
|
-
disabled:
|
|
2834
|
+
className: `${T(p)}${x(F)}${L(C)}`,
|
|
2835
|
+
type: w,
|
|
2836
|
+
onClick: s,
|
|
2837
|
+
disabled: k,
|
|
2840
2838
|
children: [
|
|
2841
2839
|
I,
|
|
2842
2840
|
" ",
|
|
2843
|
-
|
|
2841
|
+
j && /* @__PURE__ */ g.jsx("i", { style: P && { fontSize: re(P) }, className: `u-icon${q(D)} icon-${j}` })
|
|
2844
2842
|
]
|
|
2845
2843
|
}
|
|
2846
2844
|
);
|
|
2847
2845
|
};
|
|
2848
2846
|
Tn.propTypes = {
|
|
2849
|
-
variant:
|
|
2850
|
-
type:
|
|
2851
|
-
size:
|
|
2852
|
-
children:
|
|
2853
|
-
onClick:
|
|
2854
|
-
icon:
|
|
2847
|
+
variant: J.oneOf(["primary", "danger", "outline", "danger-outline", "simple", "text", "text-danger"]),
|
|
2848
|
+
type: J.string,
|
|
2849
|
+
size: J.string,
|
|
2850
|
+
children: J.string,
|
|
2851
|
+
onClick: J.func,
|
|
2852
|
+
icon: J.oneOf([
|
|
2855
2853
|
"active",
|
|
2856
2854
|
"application",
|
|
2857
2855
|
"attention",
|
|
@@ -2942,108 +2940,297 @@ Tn.propTypes = {
|
|
|
2942
2940
|
"zip"
|
|
2943
2941
|
])
|
|
2944
2942
|
};
|
|
2945
|
-
const Sn = ({
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2943
|
+
const Sn = ({ name: s = "", size: p = "", color: F = "" }) => {
|
|
2944
|
+
const w = (j) => typeof j == "number" ? `${j}px` : String(j);
|
|
2945
|
+
return /* @__PURE__ */ g.jsx("i", { style: { fontSize: w(p), color: F }, className: `u-icon icon-${s}` });
|
|
2946
|
+
};
|
|
2947
|
+
Sn.propTypes = {
|
|
2948
|
+
size: J.string,
|
|
2949
|
+
color: J.string,
|
|
2950
|
+
name: J.oneOf([
|
|
2951
|
+
"active",
|
|
2952
|
+
"application",
|
|
2953
|
+
"attention",
|
|
2954
|
+
"basket",
|
|
2955
|
+
"block",
|
|
2956
|
+
"briefcase",
|
|
2957
|
+
"calculator",
|
|
2958
|
+
"calendar",
|
|
2959
|
+
"catalog",
|
|
2960
|
+
"chat",
|
|
2961
|
+
"check",
|
|
2962
|
+
"clock",
|
|
2963
|
+
"cloud",
|
|
2964
|
+
"copy",
|
|
2965
|
+
"correct",
|
|
2966
|
+
"cross",
|
|
2967
|
+
"cup",
|
|
2968
|
+
"directory",
|
|
2969
|
+
"doc",
|
|
2970
|
+
"document",
|
|
2971
|
+
"documents",
|
|
2972
|
+
"down",
|
|
2973
|
+
"down-arrow",
|
|
2974
|
+
"download",
|
|
2975
|
+
"download-line",
|
|
2976
|
+
"dropdown",
|
|
2977
|
+
"dropdown-horisontal",
|
|
2978
|
+
"entrance",
|
|
2979
|
+
"extracurricular-activities",
|
|
2980
|
+
"filter",
|
|
2981
|
+
"filter-mobile",
|
|
2982
|
+
"folder",
|
|
2983
|
+
"folders",
|
|
2984
|
+
"full-screen",
|
|
2985
|
+
"hidden",
|
|
2986
|
+
"home",
|
|
2987
|
+
"img",
|
|
2988
|
+
"information",
|
|
2989
|
+
"jpg",
|
|
2990
|
+
"left",
|
|
2991
|
+
"left-arrow",
|
|
2992
|
+
"letter",
|
|
2993
|
+
"like",
|
|
2994
|
+
"link",
|
|
2995
|
+
"list-view",
|
|
2996
|
+
"lk-role",
|
|
2997
|
+
"minus",
|
|
2998
|
+
"moderation",
|
|
2999
|
+
"news",
|
|
3000
|
+
"notify",
|
|
3001
|
+
"ok",
|
|
3002
|
+
"pdf",
|
|
3003
|
+
"pencil",
|
|
3004
|
+
"people",
|
|
3005
|
+
"plus",
|
|
3006
|
+
"png",
|
|
3007
|
+
"ppt",
|
|
3008
|
+
"question",
|
|
3009
|
+
"rating",
|
|
3010
|
+
"right",
|
|
3011
|
+
"right-arrow",
|
|
3012
|
+
"role",
|
|
3013
|
+
"save",
|
|
3014
|
+
"search",
|
|
3015
|
+
"setting",
|
|
3016
|
+
"settlement",
|
|
3017
|
+
"sorting",
|
|
3018
|
+
"star",
|
|
3019
|
+
"star-top20",
|
|
3020
|
+
"star-top50",
|
|
3021
|
+
"submenu",
|
|
3022
|
+
"svg",
|
|
3023
|
+
"table-view",
|
|
3024
|
+
"telephone",
|
|
3025
|
+
"test-tube",
|
|
3026
|
+
"top100",
|
|
3027
|
+
"top20",
|
|
3028
|
+
"top50",
|
|
3029
|
+
"union",
|
|
3030
|
+
"university",
|
|
3031
|
+
"unlink",
|
|
3032
|
+
"up",
|
|
3033
|
+
"up-arrow",
|
|
3034
|
+
"upload",
|
|
3035
|
+
"user",
|
|
3036
|
+
"warning",
|
|
3037
|
+
"xls",
|
|
3038
|
+
"zip"
|
|
3039
|
+
])
|
|
3040
|
+
};
|
|
3041
|
+
const On = ({ title: s = "", defaultValue: p = "", onChange: F, required: w = !1, disabled: j = !1, lineUp: C = !1, rowGap: D = 4, columnGap: P = 20, styleInputContainer: k, styleTitle: I, styleInput: T }) => {
|
|
3042
|
+
const x = (L) => typeof L == "number" ? `${L}px` : String(L);
|
|
3043
|
+
return /* @__PURE__ */ g.jsxs(
|
|
3044
|
+
"div",
|
|
3045
|
+
{
|
|
3046
|
+
className: "u-react-input-container",
|
|
3047
|
+
style: Object.assign(
|
|
3048
|
+
{
|
|
3049
|
+
display: "flex",
|
|
3050
|
+
flexDirection: C ? "row" : "column",
|
|
3051
|
+
rowGap: C ? null : x(D),
|
|
3052
|
+
columnGap: C ? x(P) : null
|
|
3053
|
+
},
|
|
3054
|
+
k
|
|
3055
|
+
),
|
|
3056
|
+
children: [
|
|
3057
|
+
s && /* @__PURE__ */ g.jsx("div", { className: `${w && "u-required"} u-react-input-title`, style: I, children: s }),
|
|
3058
|
+
/* @__PURE__ */ g.jsx("input", { className: "u-react-input u-input", style: T, type: "text", placeholder: "введите", value: p, disabled: j, onChange: F })
|
|
3059
|
+
]
|
|
3060
|
+
}
|
|
3061
|
+
);
|
|
3062
|
+
};
|
|
3063
|
+
On.propTypes = {
|
|
3064
|
+
title: J.string,
|
|
3065
|
+
required: J.bool,
|
|
3066
|
+
disabled: J.bool,
|
|
3067
|
+
lineUp: J.bool,
|
|
3068
|
+
rowGap: J.bool,
|
|
3069
|
+
columnGap: J.bool,
|
|
3070
|
+
styleInputContainer: J.object,
|
|
3071
|
+
styleTitle: J.object,
|
|
3072
|
+
styleInput: J.object
|
|
3073
|
+
};
|
|
3074
|
+
const xn = ({ size: s = "medium", variant: p = "info", children: F }) => {
|
|
3075
|
+
const w = (j, C) => {
|
|
3076
|
+
switch (`${j}-${C}`) {
|
|
3077
|
+
case "medium-info":
|
|
3078
|
+
return "u-message";
|
|
3079
|
+
case "medium-fail":
|
|
3080
|
+
return "u-message-fail";
|
|
3081
|
+
case "medium-success":
|
|
3082
|
+
return "u-message-success";
|
|
3083
|
+
case "medium-warning":
|
|
3084
|
+
return "u-message-warning";
|
|
3085
|
+
case "small-info":
|
|
3086
|
+
return "u-message-small";
|
|
3087
|
+
case "small-fail":
|
|
3088
|
+
return "u-message-small-fail";
|
|
3089
|
+
case "small-success":
|
|
3090
|
+
return "u-message-small-success";
|
|
3091
|
+
case "small-warning":
|
|
3092
|
+
return "u-message-small-warning";
|
|
3093
|
+
}
|
|
3094
|
+
};
|
|
3095
|
+
return /* @__PURE__ */ g.jsx("div", { className: w(s, p), children: F });
|
|
3096
|
+
};
|
|
3097
|
+
xn.propTypes = {
|
|
3098
|
+
size: J.string,
|
|
3099
|
+
variant: J.string,
|
|
3100
|
+
children: J.node
|
|
3101
|
+
};
|
|
3102
|
+
const Pn = ({ variant: s = "small-primary" }) => /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
3103
|
+
s === "small-primary" && /* @__PURE__ */ g.jsx("div", { className: "u-preloader-mini", children: /* @__PURE__ */ g.jsxs("svg", { className: "u-preloader-mini-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3104
|
+
/* @__PURE__ */ g.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "#1E4391", "stroke-width": "2" }),
|
|
3105
|
+
/* @__PURE__ */ g.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "#1E4391" })
|
|
2949
3106
|
] }) }),
|
|
2950
|
-
|
|
2951
|
-
/* @__PURE__ */
|
|
2952
|
-
/* @__PURE__ */
|
|
2953
|
-
/* @__PURE__ */
|
|
2954
|
-
/* @__PURE__ */
|
|
2955
|
-
/* @__PURE__ */
|
|
2956
|
-
/* @__PURE__ */
|
|
2957
|
-
/* @__PURE__ */
|
|
3107
|
+
s === "small-special" && /* @__PURE__ */ g.jsx("div", { className: "u-preloader-mini-gradient", children: /* @__PURE__ */ g.jsxs("svg", { className: "u-preloader-mini-gradient-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3108
|
+
/* @__PURE__ */ g.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "url(#paint0_linear_8025_35626)", "stroke-width": "2" }),
|
|
3109
|
+
/* @__PURE__ */ g.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "url(#paint0_linear_8025_35627)" }),
|
|
3110
|
+
/* @__PURE__ */ g.jsxs("defs", { children: [
|
|
3111
|
+
/* @__PURE__ */ g.jsxs("linearGradient", { id: "paint0_linear_8025_35626", x1: "54.3387", y1: "23.9985", x2: "6", y2: "23.9985", gradientUnits: "userSpaceOnUse", children: [
|
|
3112
|
+
/* @__PURE__ */ g.jsx("stop", { "stop-color": "#FF2D7F" }),
|
|
3113
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
|
|
3114
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
|
|
2958
3115
|
] }),
|
|
2959
|
-
/* @__PURE__ */
|
|
2960
|
-
/* @__PURE__ */
|
|
2961
|
-
/* @__PURE__ */
|
|
2962
|
-
/* @__PURE__ */
|
|
3116
|
+
/* @__PURE__ */ g.jsxs("linearGradient", { id: "paint0_linear_8025_35627", x1: "0.50109", y1: "13", x2: "8.00065", y2: "0.000589107", gradientUnits: "userSpaceOnUse", children: [
|
|
3117
|
+
/* @__PURE__ */ g.jsx("stop", { "stop-color": "#FF2D7F" }),
|
|
3118
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "0.192259", "stop-color": "#FB3727" }),
|
|
3119
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
|
|
2963
3120
|
] })
|
|
2964
3121
|
] })
|
|
2965
3122
|
] }) }),
|
|
2966
|
-
|
|
2967
|
-
/* @__PURE__ */
|
|
2968
|
-
/* @__PURE__ */
|
|
2969
|
-
/* @__PURE__ */
|
|
3123
|
+
s === "large-primary" && /* @__PURE__ */ g.jsx("div", { className: "u-preloader", children: /* @__PURE__ */ g.jsxs("svg", { className: "u-preloader-container", width: "76", height: "76", viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3124
|
+
/* @__PURE__ */ g.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M38 74C57.8823 74 74 57.8823 74 38C74 18.1177 57.8823 2 38 2C18.1177 2 2 18.1177 2 38C2 57.8823 18.1177 74 38 74ZM38 76C58.9868 76 76 58.9868 76 38C76 17.0132 58.9868 0 38 0C17.0132 0 0 17.0132 0 38C0 58.9868 17.0132 76 38 76Z", fill: "#1E4391" }),
|
|
3125
|
+
/* @__PURE__ */ g.jsx("path", { className: "u-preloader-dot", d: "M12.2573 17.5283C12.2573 20.0136 10.2426 22.0283 7.75732 22.0283C5.27204 22.0283 3.25732 20.0136 3.25732 17.5283C3.25732 15.043 5.27204 13.0283 7.75732 13.0283C10.2426 13.0283 12.2573 15.043 12.2573 17.5283Z", fill: "#1E4391" }),
|
|
3126
|
+
/* @__PURE__ */ g.jsx("path", { className: "u-preloader-logo", d: "M52.5974 25.4219C52.9649 24.721 53.5215 24.137 54.2039 23.7362C54.8864 23.3354 55.6675 23.1338 56.4587 23.1542L56.8417 21.7254H45.4303L45.0472 23.1542C46.9626 23.1542 49.575 23.9203 49.7512 25.4219H52.5897H52.5974ZM19.543 23.1542C22.4274 23.1542 23.6456 25.1653 24.9441 27.3219L35.5588 45.525C36.0606 46.4329 36.5509 47.5322 36.5356 48.5589C36.4973 51.2403 33.0229 52.2171 30.9429 52.3167C29.4339 52.3686 27.9339 52.0642 26.5645 51.428L25.7179 52.5159C26.2121 54.6151 28.1542 57.1663 30.8242 57.1471C35.463 57.1126 37.8993 52.8721 39.7648 49.4169L43.2124 43.016L33.1838 25.8203C32.2568 24.288 33.7776 23.1618 35.3941 23.1389L35.7771 21.7139H19.9145L19.543 23.1542Z", fill: "#1E4391" })
|
|
2970
3127
|
] }) }),
|
|
2971
|
-
|
|
2972
|
-
/* @__PURE__ */
|
|
2973
|
-
/* @__PURE__ */
|
|
2974
|
-
/* @__PURE__ */
|
|
2975
|
-
/* @__PURE__ */
|
|
2976
|
-
/* @__PURE__ */
|
|
2977
|
-
/* @__PURE__ */
|
|
2978
|
-
/* @__PURE__ */
|
|
2979
|
-
/* @__PURE__ */
|
|
3128
|
+
s === "large-special" && /* @__PURE__ */ g.jsx("div", { className: "u-preloader-gradient", children: /* @__PURE__ */ g.jsxs("svg", { className: "u-preloader-gradient-container", width: "76", height: "76", viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3129
|
+
/* @__PURE__ */ g.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M38 74C57.8823 74 74 57.8823 74 38C74 18.1177 57.8823 2 38 2C18.1177 2 2 18.1177 2 38C2 57.8823 18.1177 74 38 74ZM38 76C58.9868 76 76 58.9868 76 38C76 17.0132 58.9868 0 38 0C17.0132 0 0 17.0132 0 38C0 58.9868 17.0132 76 38 76Z", fill: "url(#paint0_linear_1804_4939)" }),
|
|
3130
|
+
/* @__PURE__ */ g.jsx("path", { className: "u-preloader-gradient-dot", d: "M12.2573 17.5283C12.2573 20.0136 10.2426 22.0283 7.75732 22.0283C5.27204 22.0283 3.25732 20.0136 3.25732 17.5283C3.25732 15.043 5.27204 13.0283 7.75732 13.0283C10.2426 13.0283 12.2573 15.043 12.2573 17.5283Z", fill: "url(#paint1_linear_1804_4939)" }),
|
|
3131
|
+
/* @__PURE__ */ g.jsx("path", { className: "u-preloader-gradient-logo", d: "M52.5974 25.4219C52.9649 24.721 53.5215 24.137 54.2039 23.7362C54.8864 23.3354 55.6675 23.1338 56.4587 23.1542L56.8417 21.7254H45.4303L45.0472 23.1542C46.9626 23.1542 49.575 23.9203 49.7512 25.4219H52.5897H52.5974ZM19.543 23.1542C22.4274 23.1542 23.6456 25.1653 24.9441 27.3219L35.5588 45.525C36.0606 46.4329 36.5509 47.5322 36.5356 48.5589C36.4973 51.2403 33.0229 52.2171 30.9429 52.3167C29.4339 52.3686 27.9339 52.0642 26.5645 51.428L25.7179 52.5159C26.2121 54.6151 28.1542 57.1663 30.8242 57.1471C35.463 57.1126 37.8993 52.8721 39.7648 49.4169L43.2124 43.016L33.1838 25.8203C32.2568 24.288 33.7776 23.1618 35.3941 23.1389L35.7771 21.7139H19.9145L19.543 23.1542Z", fill: "url(#paint2_linear_1804_4939)" }),
|
|
3132
|
+
/* @__PURE__ */ g.jsxs("defs", { children: [
|
|
3133
|
+
/* @__PURE__ */ g.jsxs("linearGradient", { id: "paint0_linear_1804_4939", x1: "76.5363", y1: "37.9977", x2: "1.9146e-07", y2: "37.9977", gradientUnits: "userSpaceOnUse", children: [
|
|
3134
|
+
/* @__PURE__ */ g.jsx("stop", { "stop-color": "#FF2D7F" }),
|
|
3135
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
|
|
3136
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
|
|
2980
3137
|
] }),
|
|
2981
|
-
/* @__PURE__ */
|
|
2982
|
-
/* @__PURE__ */
|
|
2983
|
-
/* @__PURE__ */
|
|
2984
|
-
/* @__PURE__ */
|
|
3138
|
+
/* @__PURE__ */ g.jsxs("linearGradient", { id: "paint1_linear_1804_4939", x1: "5.06202", y1: "20.769", x2: "11.2799", y2: "12.9983", gradientUnits: "userSpaceOnUse", children: [
|
|
3139
|
+
/* @__PURE__ */ g.jsx("stop", { "stop-color": "#FF2D7F" }),
|
|
3140
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
|
|
3141
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
|
|
2985
3142
|
] }),
|
|
2986
|
-
/* @__PURE__ */
|
|
2987
|
-
/* @__PURE__ */
|
|
2988
|
-
/* @__PURE__ */
|
|
2989
|
-
/* @__PURE__ */
|
|
3143
|
+
/* @__PURE__ */ g.jsxs("linearGradient", { id: "paint2_linear_1804_4939", x1: "35.9984", y1: "21.9995", x2: "36.4978", y2: "56.9995", gradientUnits: "userSpaceOnUse", children: [
|
|
3144
|
+
/* @__PURE__ */ g.jsx("stop", { "stop-color": "#FF2D7F" }),
|
|
3145
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
|
|
3146
|
+
/* @__PURE__ */ g.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
|
|
2990
3147
|
] })
|
|
2991
3148
|
] })
|
|
2992
3149
|
] }) })
|
|
2993
3150
|
] });
|
|
2994
|
-
|
|
2995
|
-
variant:
|
|
3151
|
+
Pn.propTypes = {
|
|
3152
|
+
variant: J.string
|
|
2996
3153
|
};
|
|
2997
|
-
const
|
|
2998
|
-
const [
|
|
2999
|
-
D(
|
|
3000
|
-
}, children:
|
|
3154
|
+
const jn = ({ options: s, placeholder: p = "Не выбрано", defaultValue: F }) => {
|
|
3155
|
+
const [w, j] = Je.useState(!1), [C, D] = Je.useState(F), [P, k] = Je.useState(!0), I = s.map((x, L) => /* @__PURE__ */ g.jsx("div", { className: "u-selectbox-option", onClick: () => {
|
|
3156
|
+
D(x), k(!0);
|
|
3157
|
+
}, children: x.label }, L));
|
|
3001
3158
|
Je.useEffect(() => (document.addEventListener("click", T), () => document.removeEventListener("click", T)), []);
|
|
3002
|
-
const T = (
|
|
3003
|
-
|
|
3159
|
+
const T = (x) => {
|
|
3160
|
+
x.target.closest(".u-selectbox") || j(!1);
|
|
3004
3161
|
};
|
|
3005
|
-
return /* @__PURE__ */
|
|
3006
|
-
/* @__PURE__ */
|
|
3162
|
+
return /* @__PURE__ */ g.jsxs("div", { className: "u-selectbox", children: [
|
|
3163
|
+
/* @__PURE__ */ g.jsxs(
|
|
3007
3164
|
"div",
|
|
3008
3165
|
{
|
|
3009
|
-
className:
|
|
3166
|
+
className: w ? "u-selectbox-select u-selectbox-select-open" : "u-selectbox-select",
|
|
3010
3167
|
onClick: () => {
|
|
3011
|
-
|
|
3168
|
+
j(!w);
|
|
3012
3169
|
},
|
|
3013
3170
|
children: [
|
|
3014
|
-
/* @__PURE__ */
|
|
3015
|
-
|
|
3171
|
+
/* @__PURE__ */ g.jsx("span", { className: "u-selectbox-select-title", children: C.label }),
|
|
3172
|
+
P ? /* @__PURE__ */ g.jsx(
|
|
3016
3173
|
"i",
|
|
3017
3174
|
{
|
|
3018
3175
|
className: "u-selectbox-select-icon-cross",
|
|
3019
|
-
onClick: (
|
|
3020
|
-
D({ label:
|
|
3176
|
+
onClick: (x) => {
|
|
3177
|
+
D({ label: p, value: null }), k(!1), x.stopPropagation();
|
|
3021
3178
|
}
|
|
3022
3179
|
}
|
|
3023
|
-
) : /* @__PURE__ */
|
|
3024
|
-
/* @__PURE__ */
|
|
3180
|
+
) : /* @__PURE__ */ g.jsx(g.Fragment, {}),
|
|
3181
|
+
/* @__PURE__ */ g.jsx("i", { className: "u-selectbox-select-icon-arrow" })
|
|
3025
3182
|
]
|
|
3026
3183
|
}
|
|
3027
3184
|
),
|
|
3028
|
-
/* @__PURE__ */
|
|
3185
|
+
/* @__PURE__ */ g.jsx(
|
|
3029
3186
|
"div",
|
|
3030
3187
|
{
|
|
3031
3188
|
className: "u-selectbox-options",
|
|
3032
3189
|
onClick: () => {
|
|
3033
|
-
|
|
3190
|
+
j(!1);
|
|
3034
3191
|
},
|
|
3035
3192
|
children: I
|
|
3036
3193
|
}
|
|
3037
3194
|
)
|
|
3038
3195
|
] });
|
|
3039
3196
|
};
|
|
3040
|
-
|
|
3041
|
-
options:
|
|
3042
|
-
placeholder:
|
|
3197
|
+
jn.propTypes = {
|
|
3198
|
+
options: J.array,
|
|
3199
|
+
placeholder: J.string
|
|
3200
|
+
};
|
|
3201
|
+
const kn = ({ size: s = "medium", variant: p = "", children: F }) => {
|
|
3202
|
+
const w = (j) => {
|
|
3203
|
+
switch (j) {
|
|
3204
|
+
case "warning":
|
|
3205
|
+
return "u-status-warning";
|
|
3206
|
+
case "info":
|
|
3207
|
+
return "u-status-info";
|
|
3208
|
+
case "neutral":
|
|
3209
|
+
return "u-status-neutral";
|
|
3210
|
+
case "success":
|
|
3211
|
+
return "u-status-success";
|
|
3212
|
+
case "danger":
|
|
3213
|
+
return "u-status-danger";
|
|
3214
|
+
case "intermediate":
|
|
3215
|
+
return "u-status-intermediate";
|
|
3216
|
+
case "prepared":
|
|
3217
|
+
return "u-status-prepared";
|
|
3218
|
+
}
|
|
3219
|
+
};
|
|
3220
|
+
return /* @__PURE__ */ g.jsx("div", { className: `u-status ${s === "large" ? "u-status-large" : ""} ${w(p)}`, children: F });
|
|
3221
|
+
};
|
|
3222
|
+
kn.propTypes = {
|
|
3223
|
+
children: J.string,
|
|
3224
|
+
variant: J.string,
|
|
3225
|
+
size: J.string
|
|
3043
3226
|
};
|
|
3044
3227
|
export {
|
|
3045
|
-
|
|
3228
|
+
Cn as Accordion,
|
|
3046
3229
|
Tn as Button,
|
|
3047
|
-
Sn as
|
|
3048
|
-
On as
|
|
3230
|
+
Sn as Icon,
|
|
3231
|
+
On as Input,
|
|
3232
|
+
xn as Message,
|
|
3233
|
+
Pn as Preloader,
|
|
3234
|
+
jn as Select,
|
|
3235
|
+
kn as Status
|
|
3049
3236
|
};
|