urfu-ui-kit-react 0.0.9 → 0.0.10
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/urfu-ui-kit-react.js +1104 -1045
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function fn(
|
|
2
|
-
return
|
|
1
|
+
function fn(u) {
|
|
2
|
+
return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
|
|
3
3
|
}
|
|
4
|
-
var Qr = { exports: {} }, tr = {}, Cr = { exports: {} },
|
|
4
|
+
var Qr = { exports: {} }, tr = {}, Cr = { exports: {} }, z = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
7
7
|
* react.production.min.js
|
|
@@ -14,60 +14,60 @@ var Qr = { exports: {} }, tr = {}, Cr = { exports: {} }, q = {};
|
|
|
14
14
|
var St;
|
|
15
15
|
function dn() {
|
|
16
16
|
if (St)
|
|
17
|
-
return
|
|
17
|
+
return z;
|
|
18
18
|
St = 1;
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
return n === null || typeof n != "object" ? null : (n =
|
|
19
|
+
var u = Symbol.for("react.element"), p = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), N = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), L = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), j = Symbol.iterator;
|
|
20
|
+
function U(n) {
|
|
21
|
+
return n === null || typeof n != "object" ? null : (n = j && n[j] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
22
22
|
}
|
|
23
|
-
var
|
|
23
|
+
var A = { isMounted: function() {
|
|
24
24
|
return !1;
|
|
25
25
|
}, enqueueForceUpdate: function() {
|
|
26
26
|
}, enqueueReplaceState: function() {
|
|
27
27
|
}, enqueueSetState: function() {
|
|
28
|
-
} }, G = Object.assign,
|
|
29
|
-
function
|
|
30
|
-
this.props = n, this.context = i, this.refs =
|
|
28
|
+
} }, G = Object.assign, P = {};
|
|
29
|
+
function V(n, i, h) {
|
|
30
|
+
this.props = n, this.context = i, this.refs = P, this.updater = h || A;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
V.prototype.isReactComponent = {}, V.prototype.setState = function(n, i) {
|
|
33
33
|
if (typeof n != "object" && typeof n != "function" && n != 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, n, i, "setState");
|
|
36
|
-
},
|
|
36
|
+
}, V.prototype.forceUpdate = function(n) {
|
|
37
37
|
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
|
38
38
|
};
|
|
39
|
-
function
|
|
39
|
+
function te() {
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
function
|
|
43
|
-
this.props = n, this.context = i, this.refs =
|
|
41
|
+
te.prototype = V.prototype;
|
|
42
|
+
function J(n, i, h) {
|
|
43
|
+
this.props = n, this.context = i, this.refs = P, this.updater = h || A;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
var
|
|
45
|
+
var ne = J.prototype = new te();
|
|
46
|
+
ne.constructor = J, G(ne, V.prototype), ne.isPureReactComponent = !0;
|
|
47
|
+
var Z = Array.isArray, f = Object.prototype.hasOwnProperty, ie = { current: null }, Ee = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
48
48
|
function we(n, i, h) {
|
|
49
|
-
var y,
|
|
49
|
+
var y, b = {}, _ = null, E = null;
|
|
50
50
|
if (i != null)
|
|
51
|
-
for (y in i.ref !== void 0 && (
|
|
52
|
-
f.call(i, y) && !Ee.hasOwnProperty(y) && (
|
|
51
|
+
for (y in i.ref !== void 0 && (E = i.ref), i.key !== void 0 && (_ = "" + i.key), i)
|
|
52
|
+
f.call(i, y) && !Ee.hasOwnProperty(y) && (b[y] = i[y]);
|
|
53
53
|
var T = arguments.length - 2;
|
|
54
54
|
if (T === 1)
|
|
55
|
-
|
|
55
|
+
b.children = h;
|
|
56
56
|
else if (1 < T) {
|
|
57
|
-
for (var
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
for (var x = Array(T), $ = 0; $ < T; $++)
|
|
58
|
+
x[$] = arguments[$ + 2];
|
|
59
|
+
b.children = x;
|
|
60
60
|
}
|
|
61
61
|
if (n && n.defaultProps)
|
|
62
62
|
for (y in T = n.defaultProps, T)
|
|
63
|
-
|
|
64
|
-
return { $$typeof:
|
|
63
|
+
b[y] === void 0 && (b[y] = T[y]);
|
|
64
|
+
return { $$typeof: u, type: n, key: _, ref: E, props: b, _owner: ie.current };
|
|
65
65
|
}
|
|
66
66
|
function Ce(n, i) {
|
|
67
|
-
return { $$typeof:
|
|
67
|
+
return { $$typeof: u, type: n.type, key: i, ref: n.ref, props: n.props, _owner: n._owner };
|
|
68
68
|
}
|
|
69
69
|
function Te(n) {
|
|
70
|
-
return typeof n == "object" && n !== null && n.$$typeof ===
|
|
70
|
+
return typeof n == "object" && n !== null && n.$$typeof === u;
|
|
71
71
|
}
|
|
72
72
|
function Oe(n) {
|
|
73
73
|
var i = { "=": "=0", ":": "=2" };
|
|
@@ -79,48 +79,48 @@ function dn() {
|
|
|
79
79
|
function pe(n, i) {
|
|
80
80
|
return typeof n == "object" && n !== null && n.key != null ? Oe("" + n.key) : i.toString(36);
|
|
81
81
|
}
|
|
82
|
-
function fe(n, i, h, y,
|
|
83
|
-
var
|
|
84
|
-
(
|
|
85
|
-
var
|
|
82
|
+
function fe(n, i, h, y, b) {
|
|
83
|
+
var _ = typeof n;
|
|
84
|
+
(_ === "undefined" || _ === "boolean") && (n = null);
|
|
85
|
+
var E = !1;
|
|
86
86
|
if (n === null)
|
|
87
|
-
|
|
87
|
+
E = !0;
|
|
88
88
|
else
|
|
89
|
-
switch (
|
|
89
|
+
switch (_) {
|
|
90
90
|
case "string":
|
|
91
91
|
case "number":
|
|
92
|
-
|
|
92
|
+
E = !0;
|
|
93
93
|
break;
|
|
94
94
|
case "object":
|
|
95
95
|
switch (n.$$typeof) {
|
|
96
|
-
case
|
|
96
|
+
case u:
|
|
97
97
|
case p:
|
|
98
|
-
|
|
98
|
+
E = !0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
102
|
-
return
|
|
103
|
-
return
|
|
104
|
-
})) :
|
|
105
|
-
if (
|
|
101
|
+
if (E)
|
|
102
|
+
return E = n, b = b(E), n = y === "" ? "." + pe(E, 0) : y, Z(b) ? (h = "", n != null && (h = n.replace(Se, "$&/") + "/"), fe(b, i, h, "", function($) {
|
|
103
|
+
return $;
|
|
104
|
+
})) : b != null && (Te(b) && (b = Ce(b, h + (!b.key || E && E.key === b.key ? "" : ("" + b.key).replace(Se, "$&/") + "/") + n)), i.push(b)), 1;
|
|
105
|
+
if (E = 0, y = y === "" ? "." : y + ":", Z(n))
|
|
106
106
|
for (var T = 0; T < n.length; T++) {
|
|
107
|
-
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
else if (
|
|
112
|
-
for (n =
|
|
113
|
-
|
|
114
|
-
else if (
|
|
107
|
+
_ = n[T];
|
|
108
|
+
var x = y + pe(_, T);
|
|
109
|
+
E += fe(_, i, h, x, b);
|
|
110
|
+
}
|
|
111
|
+
else if (x = U(n), typeof x == "function")
|
|
112
|
+
for (n = x.call(n), T = 0; !(_ = n.next()).done; )
|
|
113
|
+
_ = _.value, x = y + pe(_, T++), E += fe(_, i, h, x, b);
|
|
114
|
+
else if (_ === "object")
|
|
115
115
|
throw i = String(n), Error("Objects are not valid as a React child (found: " + (i === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : i) + "). If you meant to render a collection of children, use an array instead.");
|
|
116
|
-
return
|
|
116
|
+
return E;
|
|
117
117
|
}
|
|
118
118
|
function de(n, i, h) {
|
|
119
119
|
if (n == null)
|
|
120
120
|
return n;
|
|
121
|
-
var y = [],
|
|
122
|
-
return fe(n, y, "", "", function(
|
|
123
|
-
return i.call(h,
|
|
121
|
+
var y = [], b = 0;
|
|
122
|
+
return fe(n, y, "", "", function(_) {
|
|
123
|
+
return i.call(h, _, b++);
|
|
124
124
|
}), y;
|
|
125
125
|
}
|
|
126
126
|
function ce(n) {
|
|
@@ -136,11 +136,11 @@ function dn() {
|
|
|
136
136
|
return n._result.default;
|
|
137
137
|
throw n._result;
|
|
138
138
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
139
|
+
var S = { current: null }, _e = { transition: null }, xe = { ReactCurrentDispatcher: S, ReactCurrentBatchConfig: _e, ReactCurrentOwner: ie };
|
|
140
|
+
function c() {
|
|
141
141
|
throw Error("act(...) is not supported in production builds of React.");
|
|
142
142
|
}
|
|
143
|
-
return
|
|
143
|
+
return z.Children = { map: de, forEach: function(n, i, h) {
|
|
144
144
|
de(n, function() {
|
|
145
145
|
i.apply(this, arguments);
|
|
146
146
|
}, h);
|
|
@@ -157,40 +157,40 @@ function dn() {
|
|
|
157
157
|
if (!Te(n))
|
|
158
158
|
throw Error("React.Children.only expected to receive a single React element child.");
|
|
159
159
|
return n;
|
|
160
|
-
} },
|
|
160
|
+
} }, z.Component = V, z.Fragment = M, z.Profiler = I, z.PureComponent = J, z.StrictMode = w, z.Suspense = k, z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = xe, z.act = c, z.cloneElement = function(n, i, h) {
|
|
161
161
|
if (n == null)
|
|
162
162
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
|
163
|
-
var y = G({}, n.props),
|
|
163
|
+
var y = G({}, n.props), b = n.key, _ = n.ref, E = n._owner;
|
|
164
164
|
if (i != null) {
|
|
165
|
-
if (i.ref !== void 0 && (
|
|
165
|
+
if (i.ref !== void 0 && (_ = i.ref, E = ie.current), i.key !== void 0 && (b = "" + i.key), n.type && n.type.defaultProps)
|
|
166
166
|
var T = n.type.defaultProps;
|
|
167
|
-
for (
|
|
168
|
-
f.call(i,
|
|
167
|
+
for (x in i)
|
|
168
|
+
f.call(i, x) && !Ee.hasOwnProperty(x) && (y[x] = i[x] === void 0 && T !== void 0 ? T[x] : i[x]);
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
if (
|
|
170
|
+
var x = arguments.length - 2;
|
|
171
|
+
if (x === 1)
|
|
172
172
|
y.children = h;
|
|
173
|
-
else if (1 <
|
|
174
|
-
T = Array(
|
|
175
|
-
for (var
|
|
176
|
-
T[
|
|
173
|
+
else if (1 < x) {
|
|
174
|
+
T = Array(x);
|
|
175
|
+
for (var $ = 0; $ < x; $++)
|
|
176
|
+
T[$] = arguments[$ + 2];
|
|
177
177
|
y.children = T;
|
|
178
178
|
}
|
|
179
|
-
return { $$typeof:
|
|
180
|
-
},
|
|
181
|
-
return n = { $$typeof:
|
|
182
|
-
},
|
|
179
|
+
return { $$typeof: u, type: n.type, key: b, ref: _, props: y, _owner: E };
|
|
180
|
+
}, z.createContext = function(n) {
|
|
181
|
+
return n = { $$typeof: N, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: C, _context: n }, n.Consumer = n;
|
|
182
|
+
}, z.createElement = we, z.createFactory = function(n) {
|
|
183
183
|
var i = we.bind(null, n);
|
|
184
184
|
return i.type = n, i;
|
|
185
|
-
},
|
|
185
|
+
}, z.createRef = function() {
|
|
186
186
|
return { current: null };
|
|
187
|
-
},
|
|
188
|
-
return { $$typeof:
|
|
189
|
-
},
|
|
190
|
-
return { $$typeof:
|
|
191
|
-
},
|
|
192
|
-
return { $$typeof:
|
|
193
|
-
},
|
|
187
|
+
}, z.forwardRef = function(n) {
|
|
188
|
+
return { $$typeof: O, render: n };
|
|
189
|
+
}, z.isValidElement = Te, z.lazy = function(n) {
|
|
190
|
+
return { $$typeof: g, _payload: { _status: -1, _result: n }, _init: ce };
|
|
191
|
+
}, z.memo = function(n, i) {
|
|
192
|
+
return { $$typeof: L, type: n, compare: i === void 0 ? null : i };
|
|
193
|
+
}, z.startTransition = function(n) {
|
|
194
194
|
var i = _e.transition;
|
|
195
195
|
_e.transition = {};
|
|
196
196
|
try {
|
|
@@ -198,36 +198,36 @@ function dn() {
|
|
|
198
198
|
} finally {
|
|
199
199
|
_e.transition = i;
|
|
200
200
|
}
|
|
201
|
-
},
|
|
202
|
-
return
|
|
203
|
-
},
|
|
204
|
-
return
|
|
205
|
-
},
|
|
206
|
-
},
|
|
207
|
-
return
|
|
208
|
-
},
|
|
209
|
-
return
|
|
210
|
-
},
|
|
211
|
-
return
|
|
212
|
-
},
|
|
213
|
-
return
|
|
214
|
-
},
|
|
215
|
-
return
|
|
216
|
-
},
|
|
217
|
-
return
|
|
218
|
-
},
|
|
219
|
-
return
|
|
220
|
-
},
|
|
221
|
-
return
|
|
222
|
-
},
|
|
223
|
-
return
|
|
224
|
-
},
|
|
225
|
-
return
|
|
226
|
-
},
|
|
227
|
-
return
|
|
228
|
-
},
|
|
229
|
-
return
|
|
230
|
-
},
|
|
201
|
+
}, z.unstable_act = c, z.useCallback = function(n, i) {
|
|
202
|
+
return S.current.useCallback(n, i);
|
|
203
|
+
}, z.useContext = function(n) {
|
|
204
|
+
return S.current.useContext(n);
|
|
205
|
+
}, z.useDebugValue = function() {
|
|
206
|
+
}, z.useDeferredValue = function(n) {
|
|
207
|
+
return S.current.useDeferredValue(n);
|
|
208
|
+
}, z.useEffect = function(n, i) {
|
|
209
|
+
return S.current.useEffect(n, i);
|
|
210
|
+
}, z.useId = function() {
|
|
211
|
+
return S.current.useId();
|
|
212
|
+
}, z.useImperativeHandle = function(n, i, h) {
|
|
213
|
+
return S.current.useImperativeHandle(n, i, h);
|
|
214
|
+
}, z.useInsertionEffect = function(n, i) {
|
|
215
|
+
return S.current.useInsertionEffect(n, i);
|
|
216
|
+
}, z.useLayoutEffect = function(n, i) {
|
|
217
|
+
return S.current.useLayoutEffect(n, i);
|
|
218
|
+
}, z.useMemo = function(n, i) {
|
|
219
|
+
return S.current.useMemo(n, i);
|
|
220
|
+
}, z.useReducer = function(n, i, h) {
|
|
221
|
+
return S.current.useReducer(n, i, h);
|
|
222
|
+
}, z.useRef = function(n) {
|
|
223
|
+
return S.current.useRef(n);
|
|
224
|
+
}, z.useState = function(n) {
|
|
225
|
+
return S.current.useState(n);
|
|
226
|
+
}, z.useSyncExternalStore = function(n, i, h) {
|
|
227
|
+
return S.current.useSyncExternalStore(n, i, h);
|
|
228
|
+
}, z.useTransition = function() {
|
|
229
|
+
return S.current.useTransition();
|
|
230
|
+
}, z.version = "18.3.1", z;
|
|
231
231
|
}
|
|
232
232
|
var ar = { exports: {} };
|
|
233
233
|
/**
|
|
@@ -242,23 +242,23 @@ var ar = { exports: {} };
|
|
|
242
242
|
ar.exports;
|
|
243
243
|
var xt;
|
|
244
244
|
function pn() {
|
|
245
|
-
return xt || (xt = 1, function(
|
|
245
|
+
return xt || (xt = 1, function(u, p) {
|
|
246
246
|
process.env.NODE_ENV !== "production" && function() {
|
|
247
247
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
248
|
-
var
|
|
249
|
-
function
|
|
248
|
+
var M = "18.3.1", w = Symbol.for("react.element"), I = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), L = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), V = Symbol.iterator, te = "@@iterator";
|
|
249
|
+
function J(e) {
|
|
250
250
|
if (e === null || typeof e != "object")
|
|
251
251
|
return null;
|
|
252
|
-
var r =
|
|
252
|
+
var r = V && e[V] || e[te];
|
|
253
253
|
return typeof r == "function" ? r : null;
|
|
254
254
|
}
|
|
255
|
-
var
|
|
255
|
+
var ne = {
|
|
256
256
|
/**
|
|
257
257
|
* @internal
|
|
258
258
|
* @type {ReactComponent}
|
|
259
259
|
*/
|
|
260
260
|
current: null
|
|
261
|
-
},
|
|
261
|
+
}, Z = {
|
|
262
262
|
transition: null
|
|
263
263
|
}, f = {
|
|
264
264
|
current: null,
|
|
@@ -284,8 +284,8 @@ function pn() {
|
|
|
284
284
|
return r && (e += r() || ""), e;
|
|
285
285
|
};
|
|
286
286
|
var Te = !1, Oe = !1, Se = !1, pe = !1, fe = !1, de = {
|
|
287
|
-
ReactCurrentDispatcher:
|
|
288
|
-
ReactCurrentBatchConfig:
|
|
287
|
+
ReactCurrentDispatcher: ne,
|
|
288
|
+
ReactCurrentBatchConfig: Z,
|
|
289
289
|
ReactCurrentOwner: ie
|
|
290
290
|
};
|
|
291
291
|
de.ReactDebugCurrentFrame = Ee, de.ReactCurrentActQueue = f;
|
|
@@ -296,7 +296,7 @@ function pn() {
|
|
|
296
296
|
_e("warn", e, a);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function S(e) {
|
|
300
300
|
{
|
|
301
301
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
302
302
|
a[o - 1] = arguments[o];
|
|
@@ -307,19 +307,19 @@ function pn() {
|
|
|
307
307
|
{
|
|
308
308
|
var o = de.ReactDebugCurrentFrame, d = o.getStackAddendum();
|
|
309
309
|
d !== "" && (r += "%s", a = a.concat([d]));
|
|
310
|
-
var
|
|
311
|
-
return String(
|
|
310
|
+
var F = a.map(function(R) {
|
|
311
|
+
return String(R);
|
|
312
312
|
});
|
|
313
|
-
|
|
313
|
+
F.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, F);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
var xe = {};
|
|
317
|
-
function
|
|
317
|
+
function c(e, r) {
|
|
318
318
|
{
|
|
319
319
|
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", d = o + "." + r;
|
|
320
320
|
if (xe[d])
|
|
321
321
|
return;
|
|
322
|
-
|
|
322
|
+
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.", r, o), xe[d] = !0;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var n = {
|
|
@@ -349,7 +349,7 @@ function pn() {
|
|
|
349
349
|
* @internal
|
|
350
350
|
*/
|
|
351
351
|
enqueueForceUpdate: function(e, r, a) {
|
|
352
|
-
|
|
352
|
+
c(e, "forceUpdate");
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
355
|
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
@@ -365,7 +365,7 @@ function pn() {
|
|
|
365
365
|
* @internal
|
|
366
366
|
*/
|
|
367
367
|
enqueueReplaceState: function(e, r, a, o) {
|
|
368
|
-
|
|
368
|
+
c(e, "replaceState");
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* Sets a subset of the state. This only exists because _pendingState is
|
|
@@ -380,7 +380,7 @@ function pn() {
|
|
|
380
380
|
* @internal
|
|
381
381
|
*/
|
|
382
382
|
enqueueSetState: function(e, r, a, o) {
|
|
383
|
-
|
|
383
|
+
c(e, "setState");
|
|
384
384
|
}
|
|
385
385
|
}, i = Object.assign, h = {};
|
|
386
386
|
Object.freeze(h);
|
|
@@ -395,27 +395,27 @@ function pn() {
|
|
|
395
395
|
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
396
396
|
};
|
|
397
397
|
{
|
|
398
|
-
var
|
|
398
|
+
var b = {
|
|
399
399
|
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
400
400
|
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
401
|
-
},
|
|
401
|
+
}, _ = function(e, r) {
|
|
402
402
|
Object.defineProperty(y.prototype, e, {
|
|
403
403
|
get: function() {
|
|
404
404
|
ce("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
407
|
};
|
|
408
|
-
for (var
|
|
409
|
-
|
|
408
|
+
for (var E in b)
|
|
409
|
+
b.hasOwnProperty(E) && _(E, b[E]);
|
|
410
410
|
}
|
|
411
411
|
function T() {
|
|
412
412
|
}
|
|
413
413
|
T.prototype = y.prototype;
|
|
414
|
-
function
|
|
414
|
+
function x(e, r, a) {
|
|
415
415
|
this.props = e, this.context = r, this.refs = h, this.updater = a || n;
|
|
416
416
|
}
|
|
417
|
-
var
|
|
418
|
-
|
|
417
|
+
var $ = x.prototype = new T();
|
|
418
|
+
$.constructor = x, i($, y.prototype), $.isPureReactComponent = !0;
|
|
419
419
|
function ye() {
|
|
420
420
|
var e = {
|
|
421
421
|
current: null
|
|
@@ -444,7 +444,7 @@ function pn() {
|
|
|
444
444
|
}
|
|
445
445
|
function Le(e) {
|
|
446
446
|
if (Pe(e))
|
|
447
|
-
return
|
|
447
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(e)), Ie(e);
|
|
448
448
|
}
|
|
449
449
|
function or(e, r, a) {
|
|
450
450
|
var o = e.displayName;
|
|
@@ -459,41 +459,41 @@ function pn() {
|
|
|
459
459
|
function je(e) {
|
|
460
460
|
if (e == null)
|
|
461
461
|
return null;
|
|
462
|
-
if (typeof e.tag == "number" &&
|
|
462
|
+
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")
|
|
463
463
|
return e.displayName || e.name || null;
|
|
464
464
|
if (typeof e == "string")
|
|
465
465
|
return e;
|
|
466
466
|
switch (e) {
|
|
467
|
-
case
|
|
467
|
+
case C:
|
|
468
468
|
return "Fragment";
|
|
469
|
-
case
|
|
469
|
+
case I:
|
|
470
470
|
return "Portal";
|
|
471
|
-
case
|
|
471
|
+
case O:
|
|
472
472
|
return "Profiler";
|
|
473
|
-
case
|
|
473
|
+
case N:
|
|
474
474
|
return "StrictMode";
|
|
475
|
-
case
|
|
475
|
+
case j:
|
|
476
476
|
return "Suspense";
|
|
477
|
-
case
|
|
477
|
+
case U:
|
|
478
478
|
return "SuspenseList";
|
|
479
479
|
}
|
|
480
480
|
if (typeof e == "object")
|
|
481
481
|
switch (e.$$typeof) {
|
|
482
|
-
case
|
|
482
|
+
case L:
|
|
483
483
|
var r = e;
|
|
484
484
|
return Ye(r) + ".Consumer";
|
|
485
|
-
case
|
|
485
|
+
case k:
|
|
486
486
|
var a = e;
|
|
487
487
|
return Ye(a._context) + ".Provider";
|
|
488
|
-
case
|
|
488
|
+
case g:
|
|
489
489
|
return or(e, e.render, "ForwardRef");
|
|
490
|
-
case
|
|
490
|
+
case A:
|
|
491
491
|
var o = e.displayName || null;
|
|
492
492
|
return o !== null ? o : je(e.type) || "Memo";
|
|
493
493
|
case G: {
|
|
494
|
-
var d = e,
|
|
494
|
+
var d = e, F = d._payload, R = d._init;
|
|
495
495
|
try {
|
|
496
|
-
return je(
|
|
496
|
+
return je(R(F));
|
|
497
497
|
} catch {
|
|
498
498
|
return null;
|
|
499
499
|
}
|
|
@@ -506,8 +506,8 @@ function pn() {
|
|
|
506
506
|
ref: !0,
|
|
507
507
|
__self: !0,
|
|
508
508
|
__source: !0
|
|
509
|
-
}, ir,
|
|
510
|
-
|
|
509
|
+
}, ir, sr, Ge;
|
|
510
|
+
Ge = {};
|
|
511
511
|
function Ze(e) {
|
|
512
512
|
if (We.call(e, "ref")) {
|
|
513
513
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -526,16 +526,16 @@ function pn() {
|
|
|
526
526
|
}
|
|
527
527
|
function Sr(e, r) {
|
|
528
528
|
var a = function() {
|
|
529
|
-
ir || (ir = !0,
|
|
529
|
+
ir || (ir = !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)", r));
|
|
530
530
|
};
|
|
531
531
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
532
532
|
get: a,
|
|
533
533
|
configurable: !0
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function ur(e, r) {
|
|
537
537
|
var a = function() {
|
|
538
|
-
|
|
538
|
+
sr || (sr = !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)", r));
|
|
539
539
|
};
|
|
540
540
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
541
541
|
get: a,
|
|
@@ -545,42 +545,42 @@ function pn() {
|
|
|
545
545
|
function cr(e) {
|
|
546
546
|
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
547
547
|
var r = je(ie.current.type);
|
|
548
|
-
|
|
548
|
+
Ge[r] || (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', r, e.ref), Ge[r] = !0);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
var Ue = function(e, r, a, o, d,
|
|
552
|
-
var
|
|
551
|
+
var Ue = function(e, r, a, o, d, F, R) {
|
|
552
|
+
var W = {
|
|
553
553
|
// This tag allows us to uniquely identify this as a React Element
|
|
554
|
-
$$typeof:
|
|
554
|
+
$$typeof: w,
|
|
555
555
|
// Built-in properties that belong on the element
|
|
556
556
|
type: e,
|
|
557
557
|
key: r,
|
|
558
558
|
ref: a,
|
|
559
|
-
props:
|
|
559
|
+
props: R,
|
|
560
560
|
// Record the component responsible for creating this element.
|
|
561
|
-
_owner:
|
|
561
|
+
_owner: F
|
|
562
562
|
};
|
|
563
|
-
return
|
|
563
|
+
return W._store = {}, Object.defineProperty(W._store, "validated", {
|
|
564
564
|
configurable: !1,
|
|
565
565
|
enumerable: !1,
|
|
566
566
|
writable: !0,
|
|
567
567
|
value: !1
|
|
568
|
-
}), Object.defineProperty(
|
|
568
|
+
}), Object.defineProperty(W, "_self", {
|
|
569
569
|
configurable: !1,
|
|
570
570
|
enumerable: !1,
|
|
571
571
|
writable: !1,
|
|
572
572
|
value: o
|
|
573
|
-
}), Object.defineProperty(
|
|
573
|
+
}), Object.defineProperty(W, "_source", {
|
|
574
574
|
configurable: !1,
|
|
575
575
|
enumerable: !1,
|
|
576
576
|
writable: !1,
|
|
577
577
|
value: d
|
|
578
|
-
}), Object.freeze && (Object.freeze(
|
|
578
|
+
}), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
|
|
579
579
|
};
|
|
580
580
|
function xr(e, r, a) {
|
|
581
|
-
var o, d = {},
|
|
581
|
+
var o, d = {}, F = null, R = null, W = null, H = null;
|
|
582
582
|
if (r != null) {
|
|
583
|
-
Ze(r) && (
|
|
583
|
+
Ze(r) && (R = r.ref, cr(r)), Fe(r) && (Le(r.key), F = "" + r.key), W = r.__self === void 0 ? null : r.__self, H = r.__source === void 0 ? null : r.__source;
|
|
584
584
|
for (o in r)
|
|
585
585
|
We.call(r, o) && !Be.hasOwnProperty(o) && (d[o] = r[o]);
|
|
586
586
|
}
|
|
@@ -593,15 +593,15 @@ function pn() {
|
|
|
593
593
|
Object.freeze && Object.freeze(ae), d.children = ae;
|
|
594
594
|
}
|
|
595
595
|
if (e && e.defaultProps) {
|
|
596
|
-
var
|
|
597
|
-
for (o in
|
|
598
|
-
d[o] === void 0 && (d[o] =
|
|
596
|
+
var ue = e.defaultProps;
|
|
597
|
+
for (o in ue)
|
|
598
|
+
d[o] === void 0 && (d[o] = ue[o]);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
600
|
+
if (F || R) {
|
|
601
601
|
var ve = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
602
|
-
|
|
602
|
+
F && Sr(d, ve), R && ur(d, ve);
|
|
603
603
|
}
|
|
604
|
-
return Ue(e,
|
|
604
|
+
return Ue(e, F, R, W, H, ie.current, d);
|
|
605
605
|
}
|
|
606
606
|
function Or(e, r) {
|
|
607
607
|
var a = Ue(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
@@ -610,9 +610,9 @@ function pn() {
|
|
|
610
610
|
function jr(e, r, a) {
|
|
611
611
|
if (e == null)
|
|
612
612
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
613
|
-
var o, d = i({}, e.props),
|
|
613
|
+
var o, d = i({}, e.props), F = e.key, R = e.ref, W = e._self, H = e._source, re = e._owner;
|
|
614
614
|
if (r != null) {
|
|
615
|
-
Ze(r) && (
|
|
615
|
+
Ze(r) && (R = r.ref, re = ie.current), Fe(r) && (Le(r.key), F = "" + r.key);
|
|
616
616
|
var ae;
|
|
617
617
|
e.type && e.type.defaultProps && (ae = e.type.defaultProps);
|
|
618
618
|
for (o in r)
|
|
@@ -622,14 +622,14 @@ function pn() {
|
|
|
622
622
|
if (oe === 1)
|
|
623
623
|
d.children = a;
|
|
624
624
|
else if (oe > 1) {
|
|
625
|
-
for (var
|
|
626
|
-
|
|
627
|
-
d.children =
|
|
625
|
+
for (var ue = Array(oe), ve = 0; ve < oe; ve++)
|
|
626
|
+
ue[ve] = arguments[ve + 2];
|
|
627
|
+
d.children = ue;
|
|
628
628
|
}
|
|
629
|
-
return Ue(e.type,
|
|
629
|
+
return Ue(e.type, F, R, W, H, re, d);
|
|
630
630
|
}
|
|
631
631
|
function De(e) {
|
|
632
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
632
|
+
return typeof e == "object" && e !== null && e.$$typeof === w;
|
|
633
633
|
}
|
|
634
634
|
var lr = ".", Pr = ":";
|
|
635
635
|
function kr(e) {
|
|
@@ -641,7 +641,7 @@ function pn() {
|
|
|
641
641
|
});
|
|
642
642
|
return "$" + o;
|
|
643
643
|
}
|
|
644
|
-
var
|
|
644
|
+
var He = !1, fr = /\/+/g;
|
|
645
645
|
function ke(e) {
|
|
646
646
|
return e.replace(fr, "$&/");
|
|
647
647
|
}
|
|
@@ -649,57 +649,57 @@ function pn() {
|
|
|
649
649
|
return typeof e == "object" && e !== null && e.key != null ? (Le(e.key), kr("" + e.key)) : r.toString(36);
|
|
650
650
|
}
|
|
651
651
|
function Me(e, r, a, o, d) {
|
|
652
|
-
var
|
|
653
|
-
(
|
|
654
|
-
var
|
|
652
|
+
var F = typeof e;
|
|
653
|
+
(F === "undefined" || F === "boolean") && (e = null);
|
|
654
|
+
var R = !1;
|
|
655
655
|
if (e === null)
|
|
656
|
-
|
|
656
|
+
R = !0;
|
|
657
657
|
else
|
|
658
|
-
switch (
|
|
658
|
+
switch (F) {
|
|
659
659
|
case "string":
|
|
660
660
|
case "number":
|
|
661
|
-
|
|
661
|
+
R = !0;
|
|
662
662
|
break;
|
|
663
663
|
case "object":
|
|
664
664
|
switch (e.$$typeof) {
|
|
665
|
-
case
|
|
666
|
-
case
|
|
667
|
-
|
|
665
|
+
case w:
|
|
666
|
+
case I:
|
|
667
|
+
R = !0;
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
if (
|
|
671
|
-
var
|
|
672
|
-
if (he(
|
|
670
|
+
if (R) {
|
|
671
|
+
var W = e, H = d(W), re = o === "" ? lr + Ve(W, 0) : o;
|
|
672
|
+
if (he(H)) {
|
|
673
673
|
var ae = "";
|
|
674
|
-
re != null && (ae = ke(re) + "/"), Me(
|
|
674
|
+
re != null && (ae = ke(re) + "/"), Me(H, r, ae, "", function(ln) {
|
|
675
675
|
return ln;
|
|
676
676
|
});
|
|
677
677
|
} else
|
|
678
|
-
|
|
679
|
-
|
|
678
|
+
H != null && (De(H) && (H.key && (!W || W.key !== H.key) && Le(H.key), H = Or(
|
|
679
|
+
H,
|
|
680
680
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
681
681
|
// traverseAllChildren used to do for objects as children
|
|
682
682
|
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
683
|
-
(
|
|
683
|
+
(H.key && (!W || W.key !== H.key) ? (
|
|
684
684
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
685
685
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
686
|
-
ke("" +
|
|
686
|
+
ke("" + H.key) + "/"
|
|
687
687
|
) : "") + re
|
|
688
|
-
)), r.push(
|
|
688
|
+
)), r.push(H));
|
|
689
689
|
return 1;
|
|
690
690
|
}
|
|
691
|
-
var oe,
|
|
691
|
+
var oe, ue, ve = 0, ge = o === "" ? lr : o + Pr;
|
|
692
692
|
if (he(e))
|
|
693
693
|
for (var wr = 0; wr < e.length; wr++)
|
|
694
|
-
oe = e[wr],
|
|
694
|
+
oe = e[wr], ue = ge + Ve(oe, wr), ve += Me(oe, r, a, ue, d);
|
|
695
695
|
else {
|
|
696
|
-
var Br =
|
|
696
|
+
var Br = J(e);
|
|
697
697
|
if (typeof Br == "function") {
|
|
698
698
|
var wt = e;
|
|
699
|
-
Br === wt.entries && (
|
|
700
|
-
for (var
|
|
701
|
-
oe = Ct.value,
|
|
702
|
-
} else if (
|
|
699
|
+
Br === wt.entries && (He || ce("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), He = !0);
|
|
700
|
+
for (var un = Br.call(wt), Ct, cn = 0; !(Ct = un.next()).done; )
|
|
701
|
+
oe = Ct.value, ue = ge + Ve(oe, cn++), ve += Me(oe, r, a, ue, d);
|
|
702
|
+
} else if (F === "object") {
|
|
703
703
|
var Tt = String(e);
|
|
704
704
|
throw new Error("Objects are not valid as a React child (found: " + (Tt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Tt) + "). If you meant to render a collection of children, use an array instead.");
|
|
705
705
|
}
|
|
@@ -710,8 +710,8 @@ function pn() {
|
|
|
710
710
|
if (e == null)
|
|
711
711
|
return e;
|
|
712
712
|
var o = [], d = 0;
|
|
713
|
-
return Me(e, o, "", "", function(
|
|
714
|
-
return r.call(a,
|
|
713
|
+
return Me(e, o, "", "", function(F) {
|
|
714
|
+
return r.call(a, F, d++);
|
|
715
715
|
}), o;
|
|
716
716
|
}
|
|
717
717
|
function Ar(e) {
|
|
@@ -737,7 +737,7 @@ function pn() {
|
|
|
737
737
|
}
|
|
738
738
|
function vr(e) {
|
|
739
739
|
var r = {
|
|
740
|
-
$$typeof:
|
|
740
|
+
$$typeof: L,
|
|
741
741
|
// As a workaround to support multiple concurrent renderers, we categorize
|
|
742
742
|
// some renderers as primary and others as secondary. We only expect
|
|
743
743
|
// there to be two concurrent renderers at most: React Native (primary) and
|
|
@@ -756,62 +756,62 @@ function pn() {
|
|
|
756
756
|
_globalName: null
|
|
757
757
|
};
|
|
758
758
|
r.Provider = {
|
|
759
|
-
$$typeof:
|
|
759
|
+
$$typeof: k,
|
|
760
760
|
_context: r
|
|
761
761
|
};
|
|
762
762
|
var a = !1, o = !1, d = !1;
|
|
763
763
|
{
|
|
764
|
-
var
|
|
765
|
-
$$typeof:
|
|
764
|
+
var F = {
|
|
765
|
+
$$typeof: L,
|
|
766
766
|
_context: r
|
|
767
767
|
};
|
|
768
|
-
Object.defineProperties(
|
|
768
|
+
Object.defineProperties(F, {
|
|
769
769
|
Provider: {
|
|
770
770
|
get: function() {
|
|
771
|
-
return o || (o = !0,
|
|
771
|
+
return o || (o = !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?")), r.Provider;
|
|
772
772
|
},
|
|
773
|
-
set: function(
|
|
774
|
-
r.Provider =
|
|
773
|
+
set: function(R) {
|
|
774
|
+
r.Provider = R;
|
|
775
775
|
}
|
|
776
776
|
},
|
|
777
777
|
_currentValue: {
|
|
778
778
|
get: function() {
|
|
779
779
|
return r._currentValue;
|
|
780
780
|
},
|
|
781
|
-
set: function(
|
|
782
|
-
r._currentValue =
|
|
781
|
+
set: function(R) {
|
|
782
|
+
r._currentValue = R;
|
|
783
783
|
}
|
|
784
784
|
},
|
|
785
785
|
_currentValue2: {
|
|
786
786
|
get: function() {
|
|
787
787
|
return r._currentValue2;
|
|
788
788
|
},
|
|
789
|
-
set: function(
|
|
790
|
-
r._currentValue2 =
|
|
789
|
+
set: function(R) {
|
|
790
|
+
r._currentValue2 = R;
|
|
791
791
|
}
|
|
792
792
|
},
|
|
793
793
|
_threadCount: {
|
|
794
794
|
get: function() {
|
|
795
795
|
return r._threadCount;
|
|
796
796
|
},
|
|
797
|
-
set: function(
|
|
798
|
-
r._threadCount =
|
|
797
|
+
set: function(R) {
|
|
798
|
+
r._threadCount = R;
|
|
799
799
|
}
|
|
800
800
|
},
|
|
801
801
|
Consumer: {
|
|
802
802
|
get: function() {
|
|
803
|
-
return a || (a = !0,
|
|
803
|
+
return a || (a = !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?")), r.Consumer;
|
|
804
804
|
}
|
|
805
805
|
},
|
|
806
806
|
displayName: {
|
|
807
807
|
get: function() {
|
|
808
808
|
return r.displayName;
|
|
809
809
|
},
|
|
810
|
-
set: function(
|
|
811
|
-
d || (ce("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",
|
|
810
|
+
set: function(R) {
|
|
811
|
+
d || (ce("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", R), d = !0);
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
-
}), r.Consumer =
|
|
814
|
+
}), r.Consumer = F;
|
|
815
815
|
}
|
|
816
816
|
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
817
817
|
}
|
|
@@ -819,15 +819,15 @@ function pn() {
|
|
|
819
819
|
function Ir(e) {
|
|
820
820
|
if (e._status === ze) {
|
|
821
821
|
var r = e._result, a = r();
|
|
822
|
-
if (a.then(function(
|
|
822
|
+
if (a.then(function(F) {
|
|
823
823
|
if (e._status === Xe || e._status === ze) {
|
|
824
|
-
var
|
|
825
|
-
|
|
824
|
+
var R = e;
|
|
825
|
+
R._status = Qe, R._result = F;
|
|
826
826
|
}
|
|
827
|
-
}, function(
|
|
827
|
+
}, function(F) {
|
|
828
828
|
if (e._status === Xe || e._status === ze) {
|
|
829
|
-
var
|
|
830
|
-
|
|
829
|
+
var R = e;
|
|
830
|
+
R._status = yr, R._result = F;
|
|
831
831
|
}
|
|
832
832
|
}), e._status === ze) {
|
|
833
833
|
var o = e;
|
|
@@ -836,12 +836,12 @@ function pn() {
|
|
|
836
836
|
}
|
|
837
837
|
if (e._status === Qe) {
|
|
838
838
|
var d = e._result;
|
|
839
|
-
return d === void 0 &&
|
|
839
|
+
return d === void 0 && S(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
840
840
|
|
|
841
841
|
Your code should look like:
|
|
842
842
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
843
843
|
|
|
844
|
-
Did you accidentally put curly braces around the import?`, d), "default" in d ||
|
|
844
|
+
Did you accidentally put curly braces around the import?`, d), "default" in d || S(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
845
845
|
|
|
846
846
|
Your code should look like:
|
|
847
847
|
const MyComponent = lazy(() => import('./MyComponent'))`, d), d.default;
|
|
@@ -866,8 +866,8 @@ Your code should look like:
|
|
|
866
866
|
get: function() {
|
|
867
867
|
return o;
|
|
868
868
|
},
|
|
869
|
-
set: function(
|
|
870
|
-
|
|
869
|
+
set: function(F) {
|
|
870
|
+
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."), o = F, Object.defineProperty(a, "defaultProps", {
|
|
871
871
|
enumerable: !0
|
|
872
872
|
});
|
|
873
873
|
}
|
|
@@ -877,8 +877,8 @@ Your code should look like:
|
|
|
877
877
|
get: function() {
|
|
878
878
|
return d;
|
|
879
879
|
},
|
|
880
|
-
set: function(
|
|
881
|
-
|
|
880
|
+
set: function(F) {
|
|
881
|
+
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."), d = F, Object.defineProperty(a, "propTypes", {
|
|
882
882
|
enumerable: !0
|
|
883
883
|
});
|
|
884
884
|
}
|
|
@@ -888,9 +888,9 @@ Your code should look like:
|
|
|
888
888
|
return a;
|
|
889
889
|
}
|
|
890
890
|
function Dr(e) {
|
|
891
|
-
e != null && e.$$typeof ===
|
|
891
|
+
e != null && e.$$typeof === A ? 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?");
|
|
892
892
|
var r = {
|
|
893
|
-
$$typeof:
|
|
893
|
+
$$typeof: g,
|
|
894
894
|
render: e
|
|
895
895
|
};
|
|
896
896
|
{
|
|
@@ -911,16 +911,16 @@ Your code should look like:
|
|
|
911
911
|
var hr;
|
|
912
912
|
hr = Symbol.for("react.module.reference");
|
|
913
913
|
function t(e) {
|
|
914
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
914
|
+
return !!(typeof e == "string" || typeof e == "function" || e === C || e === O || fe || e === N || e === j || e === U || pe || e === P || Te || Oe || Se || typeof e == "object" && e !== null && (e.$$typeof === G || e.$$typeof === A || e.$$typeof === k || e.$$typeof === L || e.$$typeof === g || // This needs to include all possible module reference object
|
|
915
915
|
// types supported by any Flight configuration anywhere since
|
|
916
916
|
// we don't know which Flight build this will end up being used
|
|
917
917
|
// with.
|
|
918
918
|
e.$$typeof === hr || e.getModuleId !== void 0));
|
|
919
919
|
}
|
|
920
|
-
function
|
|
921
|
-
t(e) ||
|
|
920
|
+
function s(e, r) {
|
|
921
|
+
t(e) || S("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
922
922
|
var a = {
|
|
923
|
-
$$typeof:
|
|
923
|
+
$$typeof: A,
|
|
924
924
|
type: e,
|
|
925
925
|
compare: r === void 0 ? null : r
|
|
926
926
|
};
|
|
@@ -940,22 +940,22 @@ Your code should look like:
|
|
|
940
940
|
return a;
|
|
941
941
|
}
|
|
942
942
|
function l() {
|
|
943
|
-
var e =
|
|
944
|
-
return e === null &&
|
|
943
|
+
var e = ne.current;
|
|
944
|
+
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:
|
|
945
945
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
946
946
|
2. You might be breaking the Rules of Hooks
|
|
947
947
|
3. You might have more than one copy of React in the same app
|
|
948
948
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Y(e) {
|
|
951
951
|
var r = l();
|
|
952
952
|
if (e._context !== void 0) {
|
|
953
953
|
var a = e._context;
|
|
954
|
-
a.Consumer === e ?
|
|
954
|
+
a.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?") : a.Provider === e && S("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
955
955
|
}
|
|
956
956
|
return r.useContext(e);
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function K(e) {
|
|
959
959
|
var r = l();
|
|
960
960
|
return r.useState(e);
|
|
961
961
|
}
|
|
@@ -963,11 +963,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
963
963
|
var o = l();
|
|
964
964
|
return o.useReducer(e, r, a);
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function B(e) {
|
|
967
967
|
var r = l();
|
|
968
968
|
return r.useRef(e);
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function q(e, r) {
|
|
971
971
|
var a = l();
|
|
972
972
|
return a.useEffect(e, r);
|
|
973
973
|
}
|
|
@@ -975,7 +975,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
975
975
|
var a = l();
|
|
976
976
|
return a.useInsertionEffect(e, r);
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function se(e, r) {
|
|
979
979
|
var a = l();
|
|
980
980
|
return a.useLayoutEffect(e, r);
|
|
981
981
|
}
|
|
@@ -1013,14 +1013,14 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1013
1013
|
var o = l();
|
|
1014
1014
|
return o.useSyncExternalStore(e, r, a);
|
|
1015
1015
|
}
|
|
1016
|
-
var rr = 0, tt, nt, at, ot, it,
|
|
1016
|
+
var rr = 0, tt, nt, at, ot, it, st, ut;
|
|
1017
1017
|
function ct() {
|
|
1018
1018
|
}
|
|
1019
1019
|
ct.__reactDisabledLog = !0;
|
|
1020
1020
|
function Vt() {
|
|
1021
1021
|
{
|
|
1022
1022
|
if (rr === 0) {
|
|
1023
|
-
tt = console.log, nt = console.info, at = console.warn, ot = console.error, it = console.group,
|
|
1023
|
+
tt = console.log, nt = console.info, at = console.warn, ot = console.error, it = console.group, st = console.groupCollapsed, ut = console.groupEnd;
|
|
1024
1024
|
var e = {
|
|
1025
1025
|
configurable: !0,
|
|
1026
1026
|
enumerable: !0,
|
|
@@ -1065,14 +1065,14 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1065
1065
|
value: it
|
|
1066
1066
|
}),
|
|
1067
1067
|
groupCollapsed: i({}, e, {
|
|
1068
|
-
value:
|
|
1068
|
+
value: st
|
|
1069
1069
|
}),
|
|
1070
1070
|
groupEnd: i({}, e, {
|
|
1071
|
-
value:
|
|
1071
|
+
value: ut
|
|
1072
1072
|
})
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
rr < 0 &&
|
|
1075
|
+
rr < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
1078
|
var Lr = de.ReactCurrentDispatcher, Yr;
|
|
@@ -1106,31 +1106,31 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1106
1106
|
Wr = !0;
|
|
1107
1107
|
var d = Error.prepareStackTrace;
|
|
1108
1108
|
Error.prepareStackTrace = void 0;
|
|
1109
|
-
var
|
|
1110
|
-
|
|
1109
|
+
var F;
|
|
1110
|
+
F = Lr.current, Lr.current = null, Vt();
|
|
1111
1111
|
try {
|
|
1112
1112
|
if (r) {
|
|
1113
|
-
var
|
|
1113
|
+
var R = function() {
|
|
1114
1114
|
throw Error();
|
|
1115
1115
|
};
|
|
1116
|
-
if (Object.defineProperty(
|
|
1116
|
+
if (Object.defineProperty(R.prototype, "props", {
|
|
1117
1117
|
set: function() {
|
|
1118
1118
|
throw Error();
|
|
1119
1119
|
}
|
|
1120
1120
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1121
1121
|
try {
|
|
1122
|
-
Reflect.construct(
|
|
1122
|
+
Reflect.construct(R, []);
|
|
1123
1123
|
} catch (ge) {
|
|
1124
1124
|
o = ge;
|
|
1125
1125
|
}
|
|
1126
|
-
Reflect.construct(e, [],
|
|
1126
|
+
Reflect.construct(e, [], R);
|
|
1127
1127
|
} else {
|
|
1128
1128
|
try {
|
|
1129
|
-
|
|
1129
|
+
R.call();
|
|
1130
1130
|
} catch (ge) {
|
|
1131
1131
|
o = ge;
|
|
1132
1132
|
}
|
|
1133
|
-
e.call(
|
|
1133
|
+
e.call(R.prototype);
|
|
1134
1134
|
}
|
|
1135
1135
|
} else {
|
|
1136
1136
|
try {
|
|
@@ -1142,17 +1142,17 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1142
1142
|
}
|
|
1143
1143
|
} catch (ge) {
|
|
1144
1144
|
if (ge && o && typeof ge.stack == "string") {
|
|
1145
|
-
for (var
|
|
1146
|
-
`),
|
|
1147
|
-
`), re =
|
|
1145
|
+
for (var W = ge.stack.split(`
|
|
1146
|
+
`), H = o.stack.split(`
|
|
1147
|
+
`), re = W.length - 1, ae = H.length - 1; re >= 1 && ae >= 0 && W[re] !== H[ae]; )
|
|
1148
1148
|
ae--;
|
|
1149
1149
|
for (; re >= 1 && ae >= 0; re--, ae--)
|
|
1150
|
-
if (
|
|
1150
|
+
if (W[re] !== H[ae]) {
|
|
1151
1151
|
if (re !== 1 || ae !== 1)
|
|
1152
1152
|
do
|
|
1153
|
-
if (re--, ae--, ae < 0 ||
|
|
1153
|
+
if (re--, ae--, ae < 0 || W[re] !== H[ae]) {
|
|
1154
1154
|
var oe = `
|
|
1155
|
-
` +
|
|
1155
|
+
` + W[re].replace(" at new ", " at ");
|
|
1156
1156
|
return e.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", e.displayName)), typeof e == "function" && gr.set(e, oe), oe;
|
|
1157
1157
|
}
|
|
1158
1158
|
while (re >= 1 && ae >= 0);
|
|
@@ -1160,15 +1160,15 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
1162
|
} finally {
|
|
1163
|
-
Wr = !1, Lr.current =
|
|
1163
|
+
Wr = !1, Lr.current = F, qt(), Error.prepareStackTrace = d;
|
|
1164
1164
|
}
|
|
1165
|
-
var
|
|
1165
|
+
var ue = e ? e.displayName || e.name : "", ve = ue ? mr(ue) : "";
|
|
1166
1166
|
return typeof e == "function" && gr.set(e, ve), ve;
|
|
1167
1167
|
}
|
|
1168
1168
|
function Bt(e, r, a) {
|
|
1169
1169
|
return lt(e, !1);
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function Gt(e) {
|
|
1172
1172
|
var r = e.prototype;
|
|
1173
1173
|
return !!(r && r.isReactComponent);
|
|
1174
1174
|
}
|
|
@@ -1176,25 +1176,25 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1176
1176
|
if (e == null)
|
|
1177
1177
|
return "";
|
|
1178
1178
|
if (typeof e == "function")
|
|
1179
|
-
return lt(e,
|
|
1179
|
+
return lt(e, Gt(e));
|
|
1180
1180
|
if (typeof e == "string")
|
|
1181
1181
|
return mr(e);
|
|
1182
1182
|
switch (e) {
|
|
1183
|
-
case
|
|
1183
|
+
case j:
|
|
1184
1184
|
return mr("Suspense");
|
|
1185
|
-
case
|
|
1185
|
+
case U:
|
|
1186
1186
|
return mr("SuspenseList");
|
|
1187
1187
|
}
|
|
1188
1188
|
if (typeof e == "object")
|
|
1189
1189
|
switch (e.$$typeof) {
|
|
1190
|
-
case
|
|
1190
|
+
case g:
|
|
1191
1191
|
return Bt(e.render);
|
|
1192
|
-
case
|
|
1192
|
+
case A:
|
|
1193
1193
|
return br(e.type, r, a);
|
|
1194
1194
|
case G: {
|
|
1195
|
-
var o = e, d = o._payload,
|
|
1195
|
+
var o = e, d = o._payload, F = o._init;
|
|
1196
1196
|
try {
|
|
1197
|
-
return br(
|
|
1197
|
+
return br(F(d), r, a);
|
|
1198
1198
|
} catch {
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
@@ -1209,22 +1209,22 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1209
1209
|
} else
|
|
1210
1210
|
dt.setExtraStackFrame(null);
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1212
|
+
function Ht(e, r, a, o, d) {
|
|
1213
1213
|
{
|
|
1214
|
-
var
|
|
1215
|
-
for (var
|
|
1216
|
-
if (
|
|
1217
|
-
var
|
|
1214
|
+
var F = Function.call.bind(We);
|
|
1215
|
+
for (var R in e)
|
|
1216
|
+
if (F(e, R)) {
|
|
1217
|
+
var W = void 0;
|
|
1218
1218
|
try {
|
|
1219
|
-
if (typeof e[
|
|
1220
|
-
var
|
|
1221
|
-
throw
|
|
1219
|
+
if (typeof e[R] != "function") {
|
|
1220
|
+
var H = Error((o || "React class") + ": " + a + " 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`.");
|
|
1221
|
+
throw H.name = "Invariant Violation", H;
|
|
1222
1222
|
}
|
|
1223
|
-
|
|
1223
|
+
W = e[R](r, R, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1224
1224
|
} catch (re) {
|
|
1225
|
-
|
|
1225
|
+
W = re;
|
|
1226
1226
|
}
|
|
1227
|
-
|
|
1227
|
+
W && !(W instanceof Error) && (_r(d), 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).", o || "React class", a, R, typeof W), _r(null)), W instanceof Error && !(W.message in ft) && (ft[W.message] = !0, _r(d), S("Failed %s type: %s", a, W.message), _r(null));
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
@@ -1277,7 +1277,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1277
1277
|
if (!vt[a]) {
|
|
1278
1278
|
vt[a] = !0;
|
|
1279
1279
|
var o = "";
|
|
1280
|
-
e && e._owner && e._owner !== ie.current && (o = " It was passed a child from " + je(e._owner.type) + "."), Ke(e),
|
|
1280
|
+
e && e._owner && e._owner !== ie.current && (o = " It was passed a child from " + je(e._owner.type) + "."), Ke(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.', a, o), Ke(null);
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
@@ -1291,10 +1291,10 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1291
1291
|
else if (De(e))
|
|
1292
1292
|
e._store && (e._store.validated = !0);
|
|
1293
1293
|
else if (e) {
|
|
1294
|
-
var d =
|
|
1294
|
+
var d = J(e);
|
|
1295
1295
|
if (typeof d == "function" && d !== e.entries)
|
|
1296
|
-
for (var
|
|
1297
|
-
De(
|
|
1296
|
+
for (var F = d.call(e), R; !(R = F.next()).done; )
|
|
1297
|
+
De(R.value) && yt(R.value, r);
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
@@ -1306,21 +1306,21 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1306
1306
|
var a;
|
|
1307
1307
|
if (typeof r == "function")
|
|
1308
1308
|
a = r.propTypes;
|
|
1309
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
1309
|
+
else if (typeof r == "object" && (r.$$typeof === g || // Note: Memo only checks outer props here.
|
|
1310
1310
|
// Inner props are checked in the reconciler.
|
|
1311
|
-
r.$$typeof ===
|
|
1311
|
+
r.$$typeof === A))
|
|
1312
1312
|
a = r.propTypes;
|
|
1313
1313
|
else
|
|
1314
1314
|
return;
|
|
1315
1315
|
if (a) {
|
|
1316
1316
|
var o = je(r);
|
|
1317
|
-
|
|
1317
|
+
Ht(a, e.props, "prop", o, e);
|
|
1318
1318
|
} else if (r.PropTypes !== void 0 && !Ur) {
|
|
1319
1319
|
Ur = !0;
|
|
1320
1320
|
var d = je(r);
|
|
1321
|
-
|
|
1321
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
1322
1322
|
}
|
|
1323
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
1323
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
1326
|
function Xt(e) {
|
|
@@ -1328,11 +1328,11 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1328
1328
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
1329
1329
|
var o = r[a];
|
|
1330
1330
|
if (o !== "children" && o !== "key") {
|
|
1331
|
-
Ke(e),
|
|
1331
|
+
Ke(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Ke(null);
|
|
1332
1332
|
break;
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
e.ref !== null && (Ke(e),
|
|
1335
|
+
e.ref !== null && (Ke(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), Ke(null));
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
1338
|
function gt(e, r, a) {
|
|
@@ -1340,18 +1340,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1340
1340
|
if (!o) {
|
|
1341
1341
|
var d = "";
|
|
1342
1342
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1343
|
-
var
|
|
1344
|
-
|
|
1345
|
-
var
|
|
1346
|
-
e === null ?
|
|
1347
|
-
}
|
|
1348
|
-
var
|
|
1349
|
-
if (
|
|
1350
|
-
return
|
|
1343
|
+
var F = Jt(r);
|
|
1344
|
+
F ? d += F : d += pt();
|
|
1345
|
+
var R;
|
|
1346
|
+
e === null ? R = "null" : he(e) ? R = "array" : e !== void 0 && e.$$typeof === w ? (R = "<" + (je(e.type) || "Unknown") + " />", d = " 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, d);
|
|
1347
|
+
}
|
|
1348
|
+
var W = xr.apply(this, arguments);
|
|
1349
|
+
if (W == null)
|
|
1350
|
+
return W;
|
|
1351
1351
|
if (o)
|
|
1352
|
-
for (var
|
|
1353
|
-
ht(arguments[
|
|
1354
|
-
return e ===
|
|
1352
|
+
for (var H = 2; H < arguments.length; H++)
|
|
1353
|
+
ht(arguments[H], e);
|
|
1354
|
+
return e === C ? Xt(W) : mt(W), W;
|
|
1355
1355
|
}
|
|
1356
1356
|
var bt = !1;
|
|
1357
1357
|
function Qt(e) {
|
|
@@ -1371,14 +1371,14 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1371
1371
|
return mt(o), o;
|
|
1372
1372
|
}
|
|
1373
1373
|
function rn(e, r) {
|
|
1374
|
-
var a =
|
|
1375
|
-
|
|
1376
|
-
var o =
|
|
1377
|
-
|
|
1374
|
+
var a = Z.transition;
|
|
1375
|
+
Z.transition = {};
|
|
1376
|
+
var o = Z.transition;
|
|
1377
|
+
Z.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1378
1378
|
try {
|
|
1379
1379
|
e();
|
|
1380
1380
|
} finally {
|
|
1381
|
-
if (
|
|
1381
|
+
if (Z.transition = a, a === null && o._updatedFibers) {
|
|
1382
1382
|
var d = o._updatedFibers.size;
|
|
1383
1383
|
d > 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."), o._updatedFibers.clear();
|
|
1384
1384
|
}
|
|
@@ -1388,13 +1388,13 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1388
1388
|
function tn(e) {
|
|
1389
1389
|
if (Er === null)
|
|
1390
1390
|
try {
|
|
1391
|
-
var r = ("require" + Math.random()).slice(0, 7), a =
|
|
1392
|
-
Er = a.call(
|
|
1391
|
+
var r = ("require" + Math.random()).slice(0, 7), a = u && u[r];
|
|
1392
|
+
Er = a.call(u, "timers").setImmediate;
|
|
1393
1393
|
} catch {
|
|
1394
1394
|
Er = function(d) {
|
|
1395
|
-
_t === !1 && (_t = !0, typeof MessageChannel > "u" &&
|
|
1396
|
-
var
|
|
1397
|
-
|
|
1395
|
+
_t === !1 && (_t = !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."));
|
|
1396
|
+
var F = new MessageChannel();
|
|
1397
|
+
F.port1.onmessage = d, F.port2.postMessage(void 0);
|
|
1398
1398
|
};
|
|
1399
1399
|
}
|
|
1400
1400
|
return Er(e);
|
|
@@ -1410,16 +1410,16 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1410
1410
|
var d = f.current;
|
|
1411
1411
|
d !== null && (f.didScheduleLegacyUpdate = !1, zr(d));
|
|
1412
1412
|
}
|
|
1413
|
-
} catch (
|
|
1414
|
-
throw Rr(r),
|
|
1413
|
+
} catch (ue) {
|
|
1414
|
+
throw Rr(r), ue;
|
|
1415
1415
|
} finally {
|
|
1416
1416
|
f.isBatchingLegacy = a;
|
|
1417
1417
|
}
|
|
1418
1418
|
if (o !== null && typeof o == "object" && typeof o.then == "function") {
|
|
1419
|
-
var
|
|
1420
|
-
then: function(
|
|
1421
|
-
|
|
1422
|
-
Rr(r), Je === 0 ? Vr(ge,
|
|
1419
|
+
var F = o, R = !1, W = {
|
|
1420
|
+
then: function(ue, ve) {
|
|
1421
|
+
R = !0, F.then(function(ge) {
|
|
1422
|
+
Rr(r), Je === 0 ? Vr(ge, ue, ve) : ue(ge);
|
|
1423
1423
|
}, function(ge) {
|
|
1424
1424
|
Rr(r), ve(ge);
|
|
1425
1425
|
});
|
|
@@ -1427,23 +1427,23 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1427
1427
|
};
|
|
1428
1428
|
return !Et && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1429
1429
|
}).then(function() {
|
|
1430
|
-
|
|
1431
|
-
}),
|
|
1430
|
+
R || (Et = !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 () => ...);"));
|
|
1431
|
+
}), W;
|
|
1432
1432
|
} else {
|
|
1433
|
-
var
|
|
1433
|
+
var H = o;
|
|
1434
1434
|
if (Rr(r), Je === 0) {
|
|
1435
1435
|
var re = f.current;
|
|
1436
1436
|
re !== null && (zr(re), f.current = null);
|
|
1437
1437
|
var ae = {
|
|
1438
|
-
then: function(
|
|
1439
|
-
f.current === null ? (f.current = [], Vr(
|
|
1438
|
+
then: function(ue, ve) {
|
|
1439
|
+
f.current === null ? (f.current = [], Vr(H, ue, ve)) : ue(H);
|
|
1440
1440
|
}
|
|
1441
1441
|
};
|
|
1442
1442
|
return ae;
|
|
1443
1443
|
} else {
|
|
1444
1444
|
var oe = {
|
|
1445
|
-
then: function(
|
|
1446
|
-
|
|
1445
|
+
then: function(ue, ve) {
|
|
1446
|
+
ue(H);
|
|
1447
1447
|
}
|
|
1448
1448
|
};
|
|
1449
1449
|
return oe;
|
|
@@ -1452,7 +1452,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
1454
|
function Rr(e) {
|
|
1455
|
-
e !== Je - 1 &&
|
|
1455
|
+
e !== Je - 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. "), Je = e;
|
|
1456
1456
|
}
|
|
1457
1457
|
function Vr(e, r, a) {
|
|
1458
1458
|
{
|
|
@@ -1489,14 +1489,14 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
|
-
var nn = gt, an = en, on = Qt,
|
|
1492
|
+
var nn = gt, an = en, on = Qt, sn = {
|
|
1493
1493
|
map: qe,
|
|
1494
1494
|
forEach: dr,
|
|
1495
1495
|
count: Ar,
|
|
1496
1496
|
toArray: $r,
|
|
1497
1497
|
only: pr
|
|
1498
1498
|
};
|
|
1499
|
-
p.Children =
|
|
1499
|
+
p.Children = sn, p.Component = y, p.Fragment = C, p.Profiler = O, p.PureComponent = x, p.StrictMode = N, p.Suspense = j, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = de, p.act = Rt, p.cloneElement = an, p.createContext = vr, p.createElement = nn, p.createFactory = on, p.createRef = ye, p.forwardRef = Dr, p.isValidElement = De, p.lazy = Fr, p.memo = s, p.startTransition = rn, p.unstable_act = Rt, p.useCallback = le, p.useContext = Y, p.useDebugValue = Ae, p.useDeferredValue = er, p.useEffect = q, p.useId = Mr, p.useImperativeHandle = Ne, p.useInsertionEffect = me, p.useLayoutEffect = se, p.useMemo = Re, p.useReducer = ee, p.useRef = B, p.useState = K, p.useSyncExternalStore = Nr, p.useTransition = be, p.version = M, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1500
1500
|
}();
|
|
1501
1501
|
}(ar, ar.exports)), ar.exports;
|
|
1502
1502
|
}
|
|
@@ -1518,18 +1518,18 @@ function vn() {
|
|
|
1518
1518
|
if (jt)
|
|
1519
1519
|
return tr;
|
|
1520
1520
|
jt = 1;
|
|
1521
|
-
var
|
|
1522
|
-
function
|
|
1523
|
-
var
|
|
1524
|
-
|
|
1525
|
-
for (
|
|
1526
|
-
|
|
1527
|
-
if (
|
|
1528
|
-
for (
|
|
1529
|
-
|
|
1530
|
-
return { $$typeof: p, type:
|
|
1521
|
+
var u = Yt(), p = Symbol.for("react.element"), M = Symbol.for("react.fragment"), w = Object.prototype.hasOwnProperty, I = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1522
|
+
function N(O, k, L) {
|
|
1523
|
+
var g, j = {}, U = null, A = null;
|
|
1524
|
+
L !== void 0 && (U = "" + L), k.key !== void 0 && (U = "" + k.key), k.ref !== void 0 && (A = k.ref);
|
|
1525
|
+
for (g in k)
|
|
1526
|
+
w.call(k, g) && !C.hasOwnProperty(g) && (j[g] = k[g]);
|
|
1527
|
+
if (O && O.defaultProps)
|
|
1528
|
+
for (g in k = O.defaultProps, k)
|
|
1529
|
+
j[g] === void 0 && (j[g] = k[g]);
|
|
1530
|
+
return { $$typeof: p, type: O, key: U, ref: A, props: j, _owner: I.current };
|
|
1531
1531
|
}
|
|
1532
|
-
return tr.Fragment =
|
|
1532
|
+
return tr.Fragment = M, tr.jsx = N, tr.jsxs = N, tr;
|
|
1533
1533
|
}
|
|
1534
1534
|
var nr = {};
|
|
1535
1535
|
/**
|
|
@@ -1544,46 +1544,46 @@ var nr = {};
|
|
|
1544
1544
|
var Pt;
|
|
1545
1545
|
function yn() {
|
|
1546
1546
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1547
|
-
var
|
|
1548
|
-
function
|
|
1547
|
+
var u = Yt(), p = Symbol.for("react.element"), M = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), N = Symbol.for("react.provider"), O = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), G = Symbol.iterator, P = "@@iterator";
|
|
1548
|
+
function V(t) {
|
|
1549
1549
|
if (t === null || typeof t != "object")
|
|
1550
1550
|
return null;
|
|
1551
|
-
var
|
|
1552
|
-
return typeof
|
|
1551
|
+
var s = G && t[G] || t[P];
|
|
1552
|
+
return typeof s == "function" ? s : null;
|
|
1553
1553
|
}
|
|
1554
|
-
var
|
|
1555
|
-
function
|
|
1554
|
+
var te = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1555
|
+
function J(t) {
|
|
1556
1556
|
{
|
|
1557
|
-
for (var
|
|
1558
|
-
l[
|
|
1559
|
-
|
|
1557
|
+
for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), Y = 1; Y < s; Y++)
|
|
1558
|
+
l[Y - 1] = arguments[Y];
|
|
1559
|
+
ne("error", t, l);
|
|
1560
1560
|
}
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function ne(t, s, l) {
|
|
1563
1563
|
{
|
|
1564
|
-
var
|
|
1565
|
-
|
|
1566
|
-
var ee = l.map(function(
|
|
1567
|
-
return String(
|
|
1564
|
+
var Y = te.ReactDebugCurrentFrame, K = Y.getStackAddendum();
|
|
1565
|
+
K !== "" && (s += "%s", l = l.concat([K]));
|
|
1566
|
+
var ee = l.map(function(B) {
|
|
1567
|
+
return String(B);
|
|
1568
1568
|
});
|
|
1569
|
-
ee.unshift("Warning: " +
|
|
1569
|
+
ee.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, ee);
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
|
-
var
|
|
1572
|
+
var Z = !1, f = !1, ie = !1, Ee = !1, we = !1, Ce;
|
|
1573
1573
|
Ce = Symbol.for("react.module.reference");
|
|
1574
1574
|
function Te(t) {
|
|
1575
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
1575
|
+
return !!(typeof t == "string" || typeof t == "function" || t === w || t === C || we || t === I || t === L || t === g || Ee || t === A || Z || f || ie || typeof t == "object" && t !== null && (t.$$typeof === U || t.$$typeof === j || t.$$typeof === N || t.$$typeof === O || t.$$typeof === k || // This needs to include all possible module reference object
|
|
1576
1576
|
// types supported by any Flight configuration anywhere since
|
|
1577
1577
|
// we don't know which Flight build this will end up being used
|
|
1578
1578
|
// with.
|
|
1579
1579
|
t.$$typeof === Ce || t.getModuleId !== void 0));
|
|
1580
1580
|
}
|
|
1581
|
-
function Oe(t,
|
|
1582
|
-
var
|
|
1583
|
-
if (
|
|
1584
|
-
return
|
|
1585
|
-
var
|
|
1586
|
-
return
|
|
1581
|
+
function Oe(t, s, l) {
|
|
1582
|
+
var Y = t.displayName;
|
|
1583
|
+
if (Y)
|
|
1584
|
+
return Y;
|
|
1585
|
+
var K = s.displayName || s.name || "";
|
|
1586
|
+
return K !== "" ? l + "(" + K + ")" : l;
|
|
1587
1587
|
}
|
|
1588
1588
|
function Se(t) {
|
|
1589
1589
|
return t.displayName || "Context";
|
|
@@ -1591,41 +1591,41 @@ function yn() {
|
|
|
1591
1591
|
function pe(t) {
|
|
1592
1592
|
if (t == null)
|
|
1593
1593
|
return null;
|
|
1594
|
-
if (typeof t.tag == "number" &&
|
|
1594
|
+
if (typeof t.tag == "number" && J("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
1595
1595
|
return t.displayName || t.name || null;
|
|
1596
1596
|
if (typeof t == "string")
|
|
1597
1597
|
return t;
|
|
1598
1598
|
switch (t) {
|
|
1599
|
-
case
|
|
1599
|
+
case w:
|
|
1600
1600
|
return "Fragment";
|
|
1601
|
-
case
|
|
1601
|
+
case M:
|
|
1602
1602
|
return "Portal";
|
|
1603
|
-
case
|
|
1603
|
+
case C:
|
|
1604
1604
|
return "Profiler";
|
|
1605
|
-
case
|
|
1605
|
+
case I:
|
|
1606
1606
|
return "StrictMode";
|
|
1607
|
-
case
|
|
1607
|
+
case L:
|
|
1608
1608
|
return "Suspense";
|
|
1609
|
-
case
|
|
1609
|
+
case g:
|
|
1610
1610
|
return "SuspenseList";
|
|
1611
1611
|
}
|
|
1612
1612
|
if (typeof t == "object")
|
|
1613
1613
|
switch (t.$$typeof) {
|
|
1614
|
-
case
|
|
1615
|
-
var
|
|
1616
|
-
return Se(
|
|
1617
|
-
case
|
|
1614
|
+
case O:
|
|
1615
|
+
var s = t;
|
|
1616
|
+
return Se(s) + ".Consumer";
|
|
1617
|
+
case N:
|
|
1618
1618
|
var l = t;
|
|
1619
1619
|
return Se(l._context) + ".Provider";
|
|
1620
|
-
case
|
|
1620
|
+
case k:
|
|
1621
1621
|
return Oe(t, t.render, "ForwardRef");
|
|
1622
|
-
case
|
|
1623
|
-
var
|
|
1624
|
-
return
|
|
1625
|
-
case
|
|
1626
|
-
var
|
|
1622
|
+
case j:
|
|
1623
|
+
var Y = t.displayName || null;
|
|
1624
|
+
return Y !== null ? Y : pe(t.type) || "Memo";
|
|
1625
|
+
case U: {
|
|
1626
|
+
var K = t, ee = K._payload, B = K._init;
|
|
1627
1627
|
try {
|
|
1628
|
-
return pe(
|
|
1628
|
+
return pe(B(ee));
|
|
1629
1629
|
} catch {
|
|
1630
1630
|
return null;
|
|
1631
1631
|
}
|
|
@@ -1633,14 +1633,14 @@ function yn() {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
return null;
|
|
1635
1635
|
}
|
|
1636
|
-
var fe = Object.assign, de = 0, ce,
|
|
1636
|
+
var fe = Object.assign, de = 0, ce, S, _e, xe, c, n, i;
|
|
1637
1637
|
function h() {
|
|
1638
1638
|
}
|
|
1639
1639
|
h.__reactDisabledLog = !0;
|
|
1640
1640
|
function y() {
|
|
1641
1641
|
{
|
|
1642
1642
|
if (de === 0) {
|
|
1643
|
-
ce = console.log,
|
|
1643
|
+
ce = console.log, S = console.info, _e = console.warn, xe = console.error, c = console.group, n = console.groupCollapsed, i = console.groupEnd;
|
|
1644
1644
|
var t = {
|
|
1645
1645
|
configurable: !0,
|
|
1646
1646
|
enumerable: !0,
|
|
@@ -1660,7 +1660,7 @@ function yn() {
|
|
|
1660
1660
|
de++;
|
|
1661
1661
|
}
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function b() {
|
|
1664
1664
|
{
|
|
1665
1665
|
if (de--, de === 0) {
|
|
1666
1666
|
var t = {
|
|
@@ -1673,7 +1673,7 @@ function yn() {
|
|
|
1673
1673
|
value: ce
|
|
1674
1674
|
}),
|
|
1675
1675
|
info: fe({}, t, {
|
|
1676
|
-
value:
|
|
1676
|
+
value: S
|
|
1677
1677
|
}),
|
|
1678
1678
|
warn: fe({}, t, {
|
|
1679
1679
|
value: _e
|
|
@@ -1682,7 +1682,7 @@ function yn() {
|
|
|
1682
1682
|
value: xe
|
|
1683
1683
|
}),
|
|
1684
1684
|
group: fe({}, t, {
|
|
1685
|
-
value:
|
|
1685
|
+
value: c
|
|
1686
1686
|
}),
|
|
1687
1687
|
groupCollapsed: fe({}, t, {
|
|
1688
1688
|
value: n
|
|
@@ -1692,107 +1692,107 @@ function yn() {
|
|
|
1692
1692
|
})
|
|
1693
1693
|
});
|
|
1694
1694
|
}
|
|
1695
|
-
de < 0 &&
|
|
1695
|
+
de < 0 && J("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1696
1696
|
}
|
|
1697
1697
|
}
|
|
1698
|
-
var
|
|
1699
|
-
function T(t,
|
|
1698
|
+
var _ = te.ReactCurrentDispatcher, E;
|
|
1699
|
+
function T(t, s, l) {
|
|
1700
1700
|
{
|
|
1701
|
-
if (
|
|
1701
|
+
if (E === void 0)
|
|
1702
1702
|
try {
|
|
1703
1703
|
throw Error();
|
|
1704
|
-
} catch (
|
|
1705
|
-
var
|
|
1706
|
-
|
|
1704
|
+
} catch (K) {
|
|
1705
|
+
var Y = K.stack.trim().match(/\n( *(at )?)/);
|
|
1706
|
+
E = Y && Y[1] || "";
|
|
1707
1707
|
}
|
|
1708
1708
|
return `
|
|
1709
|
-
` +
|
|
1709
|
+
` + E + t;
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
|
-
var
|
|
1712
|
+
var x = !1, $;
|
|
1713
1713
|
{
|
|
1714
1714
|
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1715
|
-
|
|
1715
|
+
$ = new ye();
|
|
1716
1716
|
}
|
|
1717
|
-
function m(t,
|
|
1718
|
-
if (!t ||
|
|
1717
|
+
function m(t, s) {
|
|
1718
|
+
if (!t || x)
|
|
1719
1719
|
return "";
|
|
1720
1720
|
{
|
|
1721
|
-
var l =
|
|
1721
|
+
var l = $.get(t);
|
|
1722
1722
|
if (l !== void 0)
|
|
1723
1723
|
return l;
|
|
1724
1724
|
}
|
|
1725
|
-
var
|
|
1726
|
-
|
|
1727
|
-
var
|
|
1725
|
+
var Y;
|
|
1726
|
+
x = !0;
|
|
1727
|
+
var K = Error.prepareStackTrace;
|
|
1728
1728
|
Error.prepareStackTrace = void 0;
|
|
1729
1729
|
var ee;
|
|
1730
|
-
ee =
|
|
1730
|
+
ee = _.current, _.current = null, y();
|
|
1731
1731
|
try {
|
|
1732
|
-
if (
|
|
1733
|
-
var
|
|
1732
|
+
if (s) {
|
|
1733
|
+
var B = function() {
|
|
1734
1734
|
throw Error();
|
|
1735
1735
|
};
|
|
1736
|
-
if (Object.defineProperty(
|
|
1736
|
+
if (Object.defineProperty(B.prototype, "props", {
|
|
1737
1737
|
set: function() {
|
|
1738
1738
|
throw Error();
|
|
1739
1739
|
}
|
|
1740
1740
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1741
1741
|
try {
|
|
1742
|
-
Reflect.construct(
|
|
1742
|
+
Reflect.construct(B, []);
|
|
1743
1743
|
} catch (be) {
|
|
1744
|
-
|
|
1744
|
+
Y = be;
|
|
1745
1745
|
}
|
|
1746
|
-
Reflect.construct(t, [],
|
|
1746
|
+
Reflect.construct(t, [], B);
|
|
1747
1747
|
} else {
|
|
1748
1748
|
try {
|
|
1749
|
-
|
|
1749
|
+
B.call();
|
|
1750
1750
|
} catch (be) {
|
|
1751
|
-
|
|
1751
|
+
Y = be;
|
|
1752
1752
|
}
|
|
1753
|
-
t.call(
|
|
1753
|
+
t.call(B.prototype);
|
|
1754
1754
|
}
|
|
1755
1755
|
} else {
|
|
1756
1756
|
try {
|
|
1757
1757
|
throw Error();
|
|
1758
1758
|
} catch (be) {
|
|
1759
|
-
|
|
1759
|
+
Y = be;
|
|
1760
1760
|
}
|
|
1761
1761
|
t();
|
|
1762
1762
|
}
|
|
1763
1763
|
} catch (be) {
|
|
1764
|
-
if (be &&
|
|
1765
|
-
for (var
|
|
1766
|
-
`), me =
|
|
1767
|
-
`),
|
|
1764
|
+
if (be && Y && typeof be.stack == "string") {
|
|
1765
|
+
for (var q = be.stack.split(`
|
|
1766
|
+
`), me = Y.stack.split(`
|
|
1767
|
+
`), se = q.length - 1, le = me.length - 1; se >= 1 && le >= 0 && q[se] !== me[le]; )
|
|
1768
1768
|
le--;
|
|
1769
|
-
for (;
|
|
1770
|
-
if (
|
|
1771
|
-
if (
|
|
1769
|
+
for (; se >= 1 && le >= 0; se--, le--)
|
|
1770
|
+
if (q[se] !== me[le]) {
|
|
1771
|
+
if (se !== 1 || le !== 1)
|
|
1772
1772
|
do
|
|
1773
|
-
if (
|
|
1773
|
+
if (se--, le--, le < 0 || q[se] !== me[le]) {
|
|
1774
1774
|
var Re = `
|
|
1775
|
-
` +
|
|
1776
|
-
return t.displayName && Re.includes("<anonymous>") && (Re = Re.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
1775
|
+
` + q[se].replace(" at new ", " at ");
|
|
1776
|
+
return t.displayName && Re.includes("<anonymous>") && (Re = Re.replace("<anonymous>", t.displayName)), typeof t == "function" && $.set(t, Re), Re;
|
|
1777
1777
|
}
|
|
1778
|
-
while (
|
|
1778
|
+
while (se >= 1 && le >= 0);
|
|
1779
1779
|
break;
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
1782
|
} finally {
|
|
1783
|
-
|
|
1783
|
+
x = !1, _.current = ee, b(), Error.prepareStackTrace = K;
|
|
1784
1784
|
}
|
|
1785
1785
|
var Ne = t ? t.displayName || t.name : "", Ae = Ne ? T(Ne) : "";
|
|
1786
|
-
return typeof t == "function" &&
|
|
1786
|
+
return typeof t == "function" && $.set(t, Ae), Ae;
|
|
1787
1787
|
}
|
|
1788
|
-
function he(t,
|
|
1788
|
+
function he(t, s, l) {
|
|
1789
1789
|
return m(t, !1);
|
|
1790
1790
|
}
|
|
1791
1791
|
function $e(t) {
|
|
1792
|
-
var
|
|
1793
|
-
return !!(
|
|
1792
|
+
var s = t.prototype;
|
|
1793
|
+
return !!(s && s.isReactComponent);
|
|
1794
1794
|
}
|
|
1795
|
-
function Pe(t,
|
|
1795
|
+
function Pe(t, s, l) {
|
|
1796
1796
|
if (t == null)
|
|
1797
1797
|
return "";
|
|
1798
1798
|
if (typeof t == "function")
|
|
@@ -1800,51 +1800,51 @@ function yn() {
|
|
|
1800
1800
|
if (typeof t == "string")
|
|
1801
1801
|
return T(t);
|
|
1802
1802
|
switch (t) {
|
|
1803
|
-
case
|
|
1803
|
+
case L:
|
|
1804
1804
|
return T("Suspense");
|
|
1805
|
-
case
|
|
1805
|
+
case g:
|
|
1806
1806
|
return T("SuspenseList");
|
|
1807
1807
|
}
|
|
1808
1808
|
if (typeof t == "object")
|
|
1809
1809
|
switch (t.$$typeof) {
|
|
1810
|
-
case
|
|
1810
|
+
case k:
|
|
1811
1811
|
return he(t.render);
|
|
1812
|
-
case
|
|
1813
|
-
return Pe(t.type,
|
|
1814
|
-
case
|
|
1815
|
-
var
|
|
1812
|
+
case j:
|
|
1813
|
+
return Pe(t.type, s, l);
|
|
1814
|
+
case U: {
|
|
1815
|
+
var Y = t, K = Y._payload, ee = Y._init;
|
|
1816
1816
|
try {
|
|
1817
|
-
return Pe(ee(
|
|
1817
|
+
return Pe(ee(K), s, l);
|
|
1818
1818
|
} catch {
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
}
|
|
1822
1822
|
return "";
|
|
1823
1823
|
}
|
|
1824
|
-
var Ie = Object.prototype.hasOwnProperty, Le = {}, or =
|
|
1824
|
+
var Ie = Object.prototype.hasOwnProperty, Le = {}, or = te.ReactDebugCurrentFrame;
|
|
1825
1825
|
function Ye(t) {
|
|
1826
1826
|
if (t) {
|
|
1827
|
-
var
|
|
1827
|
+
var s = t._owner, l = Pe(t.type, t._source, s ? s.type : null);
|
|
1828
1828
|
or.setExtraStackFrame(l);
|
|
1829
1829
|
} else
|
|
1830
1830
|
or.setExtraStackFrame(null);
|
|
1831
1831
|
}
|
|
1832
|
-
function je(t,
|
|
1832
|
+
function je(t, s, l, Y, K) {
|
|
1833
1833
|
{
|
|
1834
1834
|
var ee = Function.call.bind(Ie);
|
|
1835
|
-
for (var
|
|
1836
|
-
if (ee(t,
|
|
1837
|
-
var
|
|
1835
|
+
for (var B in t)
|
|
1836
|
+
if (ee(t, B)) {
|
|
1837
|
+
var q = void 0;
|
|
1838
1838
|
try {
|
|
1839
|
-
if (typeof t[
|
|
1840
|
-
var me = Error((
|
|
1839
|
+
if (typeof t[B] != "function") {
|
|
1840
|
+
var me = Error((Y || "React class") + ": " + l + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1841
1841
|
throw me.name = "Invariant Violation", me;
|
|
1842
1842
|
}
|
|
1843
|
-
|
|
1844
|
-
} catch (
|
|
1845
|
-
|
|
1843
|
+
q = t[B](s, B, Y, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1844
|
+
} catch (se) {
|
|
1845
|
+
q = se;
|
|
1846
1846
|
}
|
|
1847
|
-
|
|
1847
|
+
q && !(q instanceof Error) && (Ye(K), J("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Y || "React class", l, B, typeof q), Ye(null)), q instanceof Error && !(q.message in Le) && (Le[q.message] = !0, Ye(K), J("Failed %s type: %s", l, q.message), Ye(null));
|
|
1848
1848
|
}
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
@@ -1854,57 +1854,57 @@ function yn() {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
function ir(t) {
|
|
1856
1856
|
{
|
|
1857
|
-
var
|
|
1857
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, l = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1858
1858
|
return l;
|
|
1859
1859
|
}
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1861
|
+
function sr(t) {
|
|
1862
1862
|
try {
|
|
1863
|
-
return
|
|
1863
|
+
return Ge(t), !1;
|
|
1864
1864
|
} catch {
|
|
1865
1865
|
return !0;
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
|
-
function
|
|
1868
|
+
function Ge(t) {
|
|
1869
1869
|
return "" + t;
|
|
1870
1870
|
}
|
|
1871
1871
|
function Ze(t) {
|
|
1872
|
-
if (
|
|
1873
|
-
return
|
|
1872
|
+
if (sr(t))
|
|
1873
|
+
return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ir(t)), Ge(t);
|
|
1874
1874
|
}
|
|
1875
|
-
var Fe =
|
|
1875
|
+
var Fe = te.ReactCurrentOwner, Sr = {
|
|
1876
1876
|
key: !0,
|
|
1877
1877
|
ref: !0,
|
|
1878
1878
|
__self: !0,
|
|
1879
1879
|
__source: !0
|
|
1880
|
-
},
|
|
1880
|
+
}, ur, cr, Ue;
|
|
1881
1881
|
Ue = {};
|
|
1882
1882
|
function xr(t) {
|
|
1883
1883
|
if (Ie.call(t, "ref")) {
|
|
1884
|
-
var
|
|
1885
|
-
if (
|
|
1884
|
+
var s = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1885
|
+
if (s && s.isReactWarning)
|
|
1886
1886
|
return !1;
|
|
1887
1887
|
}
|
|
1888
1888
|
return t.ref !== void 0;
|
|
1889
1889
|
}
|
|
1890
1890
|
function Or(t) {
|
|
1891
1891
|
if (Ie.call(t, "key")) {
|
|
1892
|
-
var
|
|
1893
|
-
if (
|
|
1892
|
+
var s = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1893
|
+
if (s && s.isReactWarning)
|
|
1894
1894
|
return !1;
|
|
1895
1895
|
}
|
|
1896
1896
|
return t.key !== void 0;
|
|
1897
1897
|
}
|
|
1898
|
-
function jr(t,
|
|
1899
|
-
if (typeof t.ref == "string" && Fe.current &&
|
|
1898
|
+
function jr(t, s) {
|
|
1899
|
+
if (typeof t.ref == "string" && Fe.current && s && Fe.current.stateNode !== s) {
|
|
1900
1900
|
var l = pe(Fe.current.type);
|
|
1901
|
-
Ue[l] || (
|
|
1901
|
+
Ue[l] || (J('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', pe(Fe.current.type), t.ref), Ue[l] = !0);
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
|
-
function De(t,
|
|
1904
|
+
function De(t, s) {
|
|
1905
1905
|
{
|
|
1906
1906
|
var l = function() {
|
|
1907
|
-
|
|
1907
|
+
ur || (ur = !0, J("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
1908
1908
|
};
|
|
1909
1909
|
l.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1910
1910
|
get: l,
|
|
@@ -1912,10 +1912,10 @@ function yn() {
|
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
function lr(t,
|
|
1915
|
+
function lr(t, s) {
|
|
1916
1916
|
{
|
|
1917
1917
|
var l = function() {
|
|
1918
|
-
cr || (cr = !0,
|
|
1918
|
+
cr || (cr = !0, J("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
1919
1919
|
};
|
|
1920
1920
|
l.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1921
1921
|
get: l,
|
|
@@ -1923,57 +1923,57 @@ function yn() {
|
|
|
1923
1923
|
});
|
|
1924
1924
|
}
|
|
1925
1925
|
}
|
|
1926
|
-
var Pr = function(t,
|
|
1927
|
-
var
|
|
1926
|
+
var Pr = function(t, s, l, Y, K, ee, B) {
|
|
1927
|
+
var q = {
|
|
1928
1928
|
// This tag allows us to uniquely identify this as a React Element
|
|
1929
1929
|
$$typeof: p,
|
|
1930
1930
|
// Built-in properties that belong on the element
|
|
1931
1931
|
type: t,
|
|
1932
|
-
key:
|
|
1932
|
+
key: s,
|
|
1933
1933
|
ref: l,
|
|
1934
|
-
props:
|
|
1934
|
+
props: B,
|
|
1935
1935
|
// Record the component responsible for creating this element.
|
|
1936
1936
|
_owner: ee
|
|
1937
1937
|
};
|
|
1938
|
-
return
|
|
1938
|
+
return q._store = {}, Object.defineProperty(q._store, "validated", {
|
|
1939
1939
|
configurable: !1,
|
|
1940
1940
|
enumerable: !1,
|
|
1941
1941
|
writable: !0,
|
|
1942
1942
|
value: !1
|
|
1943
|
-
}), Object.defineProperty(
|
|
1943
|
+
}), Object.defineProperty(q, "_self", {
|
|
1944
1944
|
configurable: !1,
|
|
1945
1945
|
enumerable: !1,
|
|
1946
1946
|
writable: !1,
|
|
1947
|
-
value:
|
|
1948
|
-
}), Object.defineProperty(
|
|
1947
|
+
value: Y
|
|
1948
|
+
}), Object.defineProperty(q, "_source", {
|
|
1949
1949
|
configurable: !1,
|
|
1950
1950
|
enumerable: !1,
|
|
1951
1951
|
writable: !1,
|
|
1952
|
-
value:
|
|
1953
|
-
}), Object.freeze && (Object.freeze(
|
|
1952
|
+
value: K
|
|
1953
|
+
}), Object.freeze && (Object.freeze(q.props), Object.freeze(q)), q;
|
|
1954
1954
|
};
|
|
1955
|
-
function kr(t,
|
|
1955
|
+
function kr(t, s, l, Y, K) {
|
|
1956
1956
|
{
|
|
1957
|
-
var ee,
|
|
1958
|
-
l !== void 0 && (Ze(l),
|
|
1959
|
-
for (ee in
|
|
1960
|
-
Ie.call(
|
|
1957
|
+
var ee, B = {}, q = null, me = null;
|
|
1958
|
+
l !== void 0 && (Ze(l), q = "" + l), Or(s) && (Ze(s.key), q = "" + s.key), xr(s) && (me = s.ref, jr(s, K));
|
|
1959
|
+
for (ee in s)
|
|
1960
|
+
Ie.call(s, ee) && !Sr.hasOwnProperty(ee) && (B[ee] = s[ee]);
|
|
1961
1961
|
if (t && t.defaultProps) {
|
|
1962
|
-
var
|
|
1963
|
-
for (ee in
|
|
1964
|
-
|
|
1962
|
+
var se = t.defaultProps;
|
|
1963
|
+
for (ee in se)
|
|
1964
|
+
B[ee] === void 0 && (B[ee] = se[ee]);
|
|
1965
1965
|
}
|
|
1966
|
-
if (
|
|
1966
|
+
if (q || me) {
|
|
1967
1967
|
var le = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1968
|
-
|
|
1968
|
+
q && De(B, le), me && lr(B, le);
|
|
1969
1969
|
}
|
|
1970
|
-
return Pr(t,
|
|
1970
|
+
return Pr(t, q, me, K, Y, Fe.current, B);
|
|
1971
1971
|
}
|
|
1972
1972
|
}
|
|
1973
|
-
var
|
|
1973
|
+
var He = te.ReactCurrentOwner, fr = te.ReactDebugCurrentFrame;
|
|
1974
1974
|
function ke(t) {
|
|
1975
1975
|
if (t) {
|
|
1976
|
-
var
|
|
1976
|
+
var s = t._owner, l = Pe(t.type, t._source, s ? s.type : null);
|
|
1977
1977
|
fr.setExtraStackFrame(l);
|
|
1978
1978
|
} else
|
|
1979
1979
|
fr.setExtraStackFrame(null);
|
|
@@ -1985,8 +1985,8 @@ function yn() {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
function qe() {
|
|
1987
1987
|
{
|
|
1988
|
-
if (
|
|
1989
|
-
var t = pe(
|
|
1988
|
+
if (He.current) {
|
|
1989
|
+
var t = pe(He.current.type);
|
|
1990
1990
|
if (t)
|
|
1991
1991
|
return `
|
|
1992
1992
|
|
|
@@ -1998,10 +1998,10 @@ Check the render method of \`` + t + "`.";
|
|
|
1998
1998
|
function Ar(t) {
|
|
1999
1999
|
{
|
|
2000
2000
|
if (t !== void 0) {
|
|
2001
|
-
var
|
|
2001
|
+
var s = t.fileName.replace(/^.*[\\\/]/, ""), l = t.lineNumber;
|
|
2002
2002
|
return `
|
|
2003
2003
|
|
|
2004
|
-
Check your code at ` +
|
|
2004
|
+
Check your code at ` + s + ":" + l + ".";
|
|
2005
2005
|
}
|
|
2006
2006
|
return "";
|
|
2007
2007
|
}
|
|
@@ -2009,120 +2009,120 @@ Check your code at ` + u + ":" + l + ".";
|
|
|
2009
2009
|
var dr = {};
|
|
2010
2010
|
function $r(t) {
|
|
2011
2011
|
{
|
|
2012
|
-
var
|
|
2013
|
-
if (!
|
|
2012
|
+
var s = qe();
|
|
2013
|
+
if (!s) {
|
|
2014
2014
|
var l = typeof t == "string" ? t : t.displayName || t.name;
|
|
2015
|
-
l && (
|
|
2015
|
+
l && (s = `
|
|
2016
2016
|
|
|
2017
2017
|
Check the top-level render call using <` + l + ">.");
|
|
2018
2018
|
}
|
|
2019
|
-
return
|
|
2019
|
+
return s;
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
|
-
function pr(t,
|
|
2022
|
+
function pr(t, s) {
|
|
2023
2023
|
{
|
|
2024
2024
|
if (!t._store || t._store.validated || t.key != null)
|
|
2025
2025
|
return;
|
|
2026
2026
|
t._store.validated = !0;
|
|
2027
|
-
var l = $r(
|
|
2027
|
+
var l = $r(s);
|
|
2028
2028
|
if (dr[l])
|
|
2029
2029
|
return;
|
|
2030
2030
|
dr[l] = !0;
|
|
2031
|
-
var
|
|
2032
|
-
t && t._owner && t._owner !==
|
|
2031
|
+
var Y = "";
|
|
2032
|
+
t && t._owner && t._owner !== He.current && (Y = " It was passed a child from " + pe(t._owner.type) + "."), ke(t), J('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, Y), ke(null);
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
2035
|
-
function vr(t,
|
|
2035
|
+
function vr(t, s) {
|
|
2036
2036
|
{
|
|
2037
2037
|
if (typeof t != "object")
|
|
2038
2038
|
return;
|
|
2039
2039
|
if (Be(t))
|
|
2040
2040
|
for (var l = 0; l < t.length; l++) {
|
|
2041
|
-
var
|
|
2042
|
-
Me(
|
|
2041
|
+
var Y = t[l];
|
|
2042
|
+
Me(Y) && pr(Y, s);
|
|
2043
2043
|
}
|
|
2044
2044
|
else if (Me(t))
|
|
2045
2045
|
t._store && (t._store.validated = !0);
|
|
2046
2046
|
else if (t) {
|
|
2047
|
-
var
|
|
2048
|
-
if (typeof
|
|
2049
|
-
for (var ee =
|
|
2050
|
-
Me(
|
|
2047
|
+
var K = V(t);
|
|
2048
|
+
if (typeof K == "function" && K !== t.entries)
|
|
2049
|
+
for (var ee = K.call(t), B; !(B = ee.next()).done; )
|
|
2050
|
+
Me(B.value) && pr(B.value, s);
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
}
|
|
2054
2054
|
function ze(t) {
|
|
2055
2055
|
{
|
|
2056
|
-
var
|
|
2057
|
-
if (
|
|
2056
|
+
var s = t.type;
|
|
2057
|
+
if (s == null || typeof s == "string")
|
|
2058
2058
|
return;
|
|
2059
2059
|
var l;
|
|
2060
|
-
if (typeof
|
|
2061
|
-
l =
|
|
2062
|
-
else if (typeof
|
|
2060
|
+
if (typeof s == "function")
|
|
2061
|
+
l = s.propTypes;
|
|
2062
|
+
else if (typeof s == "object" && (s.$$typeof === k || // Note: Memo only checks outer props here.
|
|
2063
2063
|
// Inner props are checked in the reconciler.
|
|
2064
|
-
|
|
2065
|
-
l =
|
|
2064
|
+
s.$$typeof === j))
|
|
2065
|
+
l = s.propTypes;
|
|
2066
2066
|
else
|
|
2067
2067
|
return;
|
|
2068
2068
|
if (l) {
|
|
2069
|
-
var
|
|
2070
|
-
je(l, t.props, "prop",
|
|
2071
|
-
} else if (
|
|
2069
|
+
var Y = pe(s);
|
|
2070
|
+
je(l, t.props, "prop", Y, t);
|
|
2071
|
+
} else if (s.PropTypes !== void 0 && !Ve) {
|
|
2072
2072
|
Ve = !0;
|
|
2073
|
-
var
|
|
2074
|
-
|
|
2073
|
+
var K = pe(s);
|
|
2074
|
+
J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", K || "Unknown");
|
|
2075
2075
|
}
|
|
2076
|
-
typeof
|
|
2076
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && J("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
2079
|
function Xe(t) {
|
|
2080
2080
|
{
|
|
2081
|
-
for (var
|
|
2082
|
-
var
|
|
2083
|
-
if (
|
|
2084
|
-
ke(t),
|
|
2081
|
+
for (var s = Object.keys(t.props), l = 0; l < s.length; l++) {
|
|
2082
|
+
var Y = s[l];
|
|
2083
|
+
if (Y !== "children" && Y !== "key") {
|
|
2084
|
+
ke(t), J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Y), ke(null);
|
|
2085
2085
|
break;
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
|
-
t.ref !== null && (ke(t),
|
|
2088
|
+
t.ref !== null && (ke(t), J("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
2091
|
var Qe = {};
|
|
2092
|
-
function yr(t,
|
|
2092
|
+
function yr(t, s, l, Y, K, ee) {
|
|
2093
2093
|
{
|
|
2094
|
-
var
|
|
2095
|
-
if (!
|
|
2096
|
-
var
|
|
2097
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
2098
|
-
var me = Ar(
|
|
2099
|
-
me ?
|
|
2100
|
-
var
|
|
2101
|
-
t === null ?
|
|
2102
|
-
}
|
|
2103
|
-
var le = kr(t,
|
|
2094
|
+
var B = Te(t);
|
|
2095
|
+
if (!B) {
|
|
2096
|
+
var q = "";
|
|
2097
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (q += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2098
|
+
var me = Ar(K);
|
|
2099
|
+
me ? q += me : q += qe();
|
|
2100
|
+
var se;
|
|
2101
|
+
t === null ? se = "null" : Be(t) ? se = "array" : t !== void 0 && t.$$typeof === p ? (se = "<" + (pe(t.type) || "Unknown") + " />", q = " Did you accidentally export a JSX literal instead of a component?") : se = typeof t, J("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", se, q);
|
|
2102
|
+
}
|
|
2103
|
+
var le = kr(t, s, l, K, ee);
|
|
2104
2104
|
if (le == null)
|
|
2105
2105
|
return le;
|
|
2106
|
-
if (
|
|
2107
|
-
var Re =
|
|
2106
|
+
if (B) {
|
|
2107
|
+
var Re = s.children;
|
|
2108
2108
|
if (Re !== void 0)
|
|
2109
|
-
if (
|
|
2109
|
+
if (Y)
|
|
2110
2110
|
if (Be(Re)) {
|
|
2111
2111
|
for (var Ne = 0; Ne < Re.length; Ne++)
|
|
2112
2112
|
vr(Re[Ne], t);
|
|
2113
2113
|
Object.freeze && Object.freeze(Re);
|
|
2114
2114
|
} else
|
|
2115
|
-
|
|
2115
|
+
J("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2116
2116
|
else
|
|
2117
2117
|
vr(Re, t);
|
|
2118
2118
|
}
|
|
2119
|
-
if (Ie.call(
|
|
2120
|
-
var Ae = pe(t), be = Object.keys(
|
|
2119
|
+
if (Ie.call(s, "key")) {
|
|
2120
|
+
var Ae = pe(t), be = Object.keys(s).filter(function(Nr) {
|
|
2121
2121
|
return Nr !== "key";
|
|
2122
2122
|
}), er = be.length > 0 ? "{key: someKey, " + be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2123
2123
|
if (!Qe[Ae + er]) {
|
|
2124
2124
|
var Mr = be.length > 0 ? "{" + be.join(": ..., ") + ": ...}" : "{}";
|
|
2125
|
-
|
|
2125
|
+
J(`A props object containing a "key" prop is being spread into JSX:
|
|
2126
2126
|
let props = %s;
|
|
2127
2127
|
<%s {...props} />
|
|
2128
2128
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -2130,21 +2130,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2130
2130
|
<%s key={someKey} {...props} />`, er, Ae, Mr, Ae), Qe[Ae + er] = !0;
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
|
-
return t ===
|
|
2133
|
+
return t === w ? Xe(le) : ze(le), le;
|
|
2134
2134
|
}
|
|
2135
2135
|
}
|
|
2136
|
-
function Ir(t,
|
|
2137
|
-
return yr(t,
|
|
2136
|
+
function Ir(t, s, l) {
|
|
2137
|
+
return yr(t, s, l, !0);
|
|
2138
2138
|
}
|
|
2139
|
-
function Fr(t,
|
|
2140
|
-
return yr(t,
|
|
2139
|
+
function Fr(t, s, l) {
|
|
2140
|
+
return yr(t, s, l, !1);
|
|
2141
2141
|
}
|
|
2142
2142
|
var Dr = Fr, hr = Ir;
|
|
2143
|
-
nr.Fragment =
|
|
2143
|
+
nr.Fragment = w, nr.jsx = Dr, nr.jsxs = hr;
|
|
2144
2144
|
}()), nr;
|
|
2145
2145
|
}
|
|
2146
2146
|
process.env.NODE_ENV === "production" ? Qr.exports = vn() : Qr.exports = yn();
|
|
2147
|
-
var v = Qr.exports, et = { exports: {} }, Tr = { exports: {} },
|
|
2147
|
+
var v = Qr.exports, et = { exports: {} }, Tr = { exports: {} }, X = {};
|
|
2148
2148
|
/** @license React v16.13.1
|
|
2149
2149
|
* react-is.production.min.js
|
|
2150
2150
|
*
|
|
@@ -2156,71 +2156,71 @@ var v = Qr.exports, et = { exports: {} }, Tr = { exports: {} }, Z = {};
|
|
|
2156
2156
|
var kt;
|
|
2157
2157
|
function hn() {
|
|
2158
2158
|
if (kt)
|
|
2159
|
-
return
|
|
2159
|
+
return X;
|
|
2160
2160
|
kt = 1;
|
|
2161
|
-
var
|
|
2162
|
-
function
|
|
2161
|
+
var u = typeof Symbol == "function" && Symbol.for, p = u ? Symbol.for("react.element") : 60103, M = u ? Symbol.for("react.portal") : 60106, w = u ? Symbol.for("react.fragment") : 60107, I = u ? Symbol.for("react.strict_mode") : 60108, C = u ? Symbol.for("react.profiler") : 60114, N = u ? Symbol.for("react.provider") : 60109, O = u ? Symbol.for("react.context") : 60110, k = u ? Symbol.for("react.async_mode") : 60111, L = u ? Symbol.for("react.concurrent_mode") : 60111, g = u ? Symbol.for("react.forward_ref") : 60112, j = u ? Symbol.for("react.suspense") : 60113, U = u ? Symbol.for("react.suspense_list") : 60120, A = u ? Symbol.for("react.memo") : 60115, G = u ? Symbol.for("react.lazy") : 60116, P = u ? Symbol.for("react.block") : 60121, V = u ? Symbol.for("react.fundamental") : 60117, te = u ? Symbol.for("react.responder") : 60118, J = u ? Symbol.for("react.scope") : 60119;
|
|
2162
|
+
function ne(f) {
|
|
2163
2163
|
if (typeof f == "object" && f !== null) {
|
|
2164
2164
|
var ie = f.$$typeof;
|
|
2165
2165
|
switch (ie) {
|
|
2166
2166
|
case p:
|
|
2167
2167
|
switch (f = f.type, f) {
|
|
2168
|
+
case k:
|
|
2169
|
+
case L:
|
|
2170
|
+
case w:
|
|
2171
|
+
case C:
|
|
2172
|
+
case I:
|
|
2168
2173
|
case j:
|
|
2169
|
-
case N:
|
|
2170
|
-
case E:
|
|
2171
|
-
case R:
|
|
2172
|
-
case A:
|
|
2173
|
-
case P:
|
|
2174
2174
|
return f;
|
|
2175
2175
|
default:
|
|
2176
2176
|
switch (f = f && f.$$typeof, f) {
|
|
2177
|
-
case
|
|
2178
|
-
case
|
|
2177
|
+
case O:
|
|
2178
|
+
case g:
|
|
2179
2179
|
case G:
|
|
2180
|
-
case
|
|
2181
|
-
case
|
|
2180
|
+
case A:
|
|
2181
|
+
case N:
|
|
2182
2182
|
return f;
|
|
2183
2183
|
default:
|
|
2184
2184
|
return ie;
|
|
2185
2185
|
}
|
|
2186
2186
|
}
|
|
2187
|
-
case
|
|
2187
|
+
case M:
|
|
2188
2188
|
return ie;
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2193
|
-
return
|
|
2192
|
+
function Z(f) {
|
|
2193
|
+
return ne(f) === L;
|
|
2194
2194
|
}
|
|
2195
|
-
return
|
|
2196
|
-
return
|
|
2197
|
-
},
|
|
2198
|
-
return
|
|
2199
|
-
},
|
|
2200
|
-
return
|
|
2201
|
-
},
|
|
2195
|
+
return X.AsyncMode = k, X.ConcurrentMode = L, X.ContextConsumer = O, X.ContextProvider = N, X.Element = p, X.ForwardRef = g, X.Fragment = w, X.Lazy = G, X.Memo = A, X.Portal = M, X.Profiler = C, X.StrictMode = I, X.Suspense = j, X.isAsyncMode = function(f) {
|
|
2196
|
+
return Z(f) || ne(f) === k;
|
|
2197
|
+
}, X.isConcurrentMode = Z, X.isContextConsumer = function(f) {
|
|
2198
|
+
return ne(f) === O;
|
|
2199
|
+
}, X.isContextProvider = function(f) {
|
|
2200
|
+
return ne(f) === N;
|
|
2201
|
+
}, X.isElement = function(f) {
|
|
2202
2202
|
return typeof f == "object" && f !== null && f.$$typeof === p;
|
|
2203
|
-
},
|
|
2204
|
-
return
|
|
2205
|
-
},
|
|
2206
|
-
return
|
|
2207
|
-
},
|
|
2208
|
-
return
|
|
2209
|
-
},
|
|
2210
|
-
return
|
|
2211
|
-
},
|
|
2212
|
-
return
|
|
2213
|
-
},
|
|
2214
|
-
return
|
|
2215
|
-
},
|
|
2216
|
-
return
|
|
2217
|
-
},
|
|
2218
|
-
return
|
|
2219
|
-
},
|
|
2220
|
-
return typeof f == "string" || typeof f == "function" || f ===
|
|
2221
|
-
},
|
|
2203
|
+
}, X.isForwardRef = function(f) {
|
|
2204
|
+
return ne(f) === g;
|
|
2205
|
+
}, X.isFragment = function(f) {
|
|
2206
|
+
return ne(f) === w;
|
|
2207
|
+
}, X.isLazy = function(f) {
|
|
2208
|
+
return ne(f) === G;
|
|
2209
|
+
}, X.isMemo = function(f) {
|
|
2210
|
+
return ne(f) === A;
|
|
2211
|
+
}, X.isPortal = function(f) {
|
|
2212
|
+
return ne(f) === M;
|
|
2213
|
+
}, X.isProfiler = function(f) {
|
|
2214
|
+
return ne(f) === C;
|
|
2215
|
+
}, X.isStrictMode = function(f) {
|
|
2216
|
+
return ne(f) === I;
|
|
2217
|
+
}, X.isSuspense = function(f) {
|
|
2218
|
+
return ne(f) === j;
|
|
2219
|
+
}, X.isValidElementType = function(f) {
|
|
2220
|
+
return typeof f == "string" || typeof f == "function" || f === w || f === L || f === C || f === I || f === j || f === U || typeof f == "object" && f !== null && (f.$$typeof === G || f.$$typeof === A || f.$$typeof === N || f.$$typeof === O || f.$$typeof === g || f.$$typeof === V || f.$$typeof === te || f.$$typeof === J || f.$$typeof === P);
|
|
2221
|
+
}, X.typeOf = ne, X;
|
|
2222
2222
|
}
|
|
2223
|
-
var
|
|
2223
|
+
var Q = {};
|
|
2224
2224
|
/** @license React v16.13.1
|
|
2225
2225
|
* react-is.development.js
|
|
2226
2226
|
*
|
|
@@ -2232,85 +2232,85 @@ var X = {};
|
|
|
2232
2232
|
var At;
|
|
2233
2233
|
function mn() {
|
|
2234
2234
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2235
|
-
var
|
|
2236
|
-
function
|
|
2235
|
+
var u = typeof Symbol == "function" && Symbol.for, p = u ? Symbol.for("react.element") : 60103, M = u ? Symbol.for("react.portal") : 60106, w = u ? Symbol.for("react.fragment") : 60107, I = u ? Symbol.for("react.strict_mode") : 60108, C = u ? Symbol.for("react.profiler") : 60114, N = u ? Symbol.for("react.provider") : 60109, O = u ? Symbol.for("react.context") : 60110, k = u ? Symbol.for("react.async_mode") : 60111, L = u ? Symbol.for("react.concurrent_mode") : 60111, g = u ? Symbol.for("react.forward_ref") : 60112, j = u ? Symbol.for("react.suspense") : 60113, U = u ? Symbol.for("react.suspense_list") : 60120, A = u ? Symbol.for("react.memo") : 60115, G = u ? Symbol.for("react.lazy") : 60116, P = u ? Symbol.for("react.block") : 60121, V = u ? Symbol.for("react.fundamental") : 60117, te = u ? Symbol.for("react.responder") : 60118, J = u ? Symbol.for("react.scope") : 60119;
|
|
2236
|
+
function ne(m) {
|
|
2237
2237
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2238
|
-
m ===
|
|
2238
|
+
m === w || m === L || m === C || m === I || m === j || m === U || typeof m == "object" && m !== null && (m.$$typeof === G || m.$$typeof === A || m.$$typeof === N || m.$$typeof === O || m.$$typeof === g || m.$$typeof === V || m.$$typeof === te || m.$$typeof === J || m.$$typeof === P);
|
|
2239
2239
|
}
|
|
2240
|
-
function
|
|
2240
|
+
function Z(m) {
|
|
2241
2241
|
if (typeof m == "object" && m !== null) {
|
|
2242
2242
|
var he = m.$$typeof;
|
|
2243
2243
|
switch (he) {
|
|
2244
2244
|
case p:
|
|
2245
2245
|
var $e = m.type;
|
|
2246
2246
|
switch ($e) {
|
|
2247
|
+
case k:
|
|
2248
|
+
case L:
|
|
2249
|
+
case w:
|
|
2250
|
+
case C:
|
|
2251
|
+
case I:
|
|
2247
2252
|
case j:
|
|
2248
|
-
case N:
|
|
2249
|
-
case E:
|
|
2250
|
-
case R:
|
|
2251
|
-
case A:
|
|
2252
|
-
case P:
|
|
2253
2253
|
return $e;
|
|
2254
2254
|
default:
|
|
2255
2255
|
var Pe = $e && $e.$$typeof;
|
|
2256
2256
|
switch (Pe) {
|
|
2257
|
-
case
|
|
2258
|
-
case
|
|
2257
|
+
case O:
|
|
2258
|
+
case g:
|
|
2259
2259
|
case G:
|
|
2260
|
-
case
|
|
2261
|
-
case
|
|
2260
|
+
case A:
|
|
2261
|
+
case N:
|
|
2262
2262
|
return Pe;
|
|
2263
2263
|
default:
|
|
2264
2264
|
return he;
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
|
-
case
|
|
2267
|
+
case M:
|
|
2268
2268
|
return he;
|
|
2269
2269
|
}
|
|
2270
2270
|
}
|
|
2271
2271
|
}
|
|
2272
|
-
var f =
|
|
2272
|
+
var f = k, ie = L, Ee = O, we = N, Ce = p, Te = g, Oe = w, Se = G, pe = A, fe = M, de = C, ce = I, S = j, _e = !1;
|
|
2273
2273
|
function xe(m) {
|
|
2274
|
-
return _e || (_e = !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.")),
|
|
2274
|
+
return _e || (_e = !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.")), c(m) || Z(m) === k;
|
|
2275
2275
|
}
|
|
2276
|
-
function
|
|
2277
|
-
return
|
|
2276
|
+
function c(m) {
|
|
2277
|
+
return Z(m) === L;
|
|
2278
2278
|
}
|
|
2279
2279
|
function n(m) {
|
|
2280
|
-
return
|
|
2280
|
+
return Z(m) === O;
|
|
2281
2281
|
}
|
|
2282
2282
|
function i(m) {
|
|
2283
|
-
return
|
|
2283
|
+
return Z(m) === N;
|
|
2284
2284
|
}
|
|
2285
2285
|
function h(m) {
|
|
2286
2286
|
return typeof m == "object" && m !== null && m.$$typeof === p;
|
|
2287
2287
|
}
|
|
2288
2288
|
function y(m) {
|
|
2289
|
-
return
|
|
2290
|
-
}
|
|
2291
|
-
function g(m) {
|
|
2292
|
-
return J(m) === E;
|
|
2289
|
+
return Z(m) === g;
|
|
2293
2290
|
}
|
|
2294
2291
|
function b(m) {
|
|
2295
|
-
return
|
|
2292
|
+
return Z(m) === w;
|
|
2296
2293
|
}
|
|
2297
2294
|
function _(m) {
|
|
2298
|
-
return
|
|
2295
|
+
return Z(m) === G;
|
|
2296
|
+
}
|
|
2297
|
+
function E(m) {
|
|
2298
|
+
return Z(m) === A;
|
|
2299
2299
|
}
|
|
2300
2300
|
function T(m) {
|
|
2301
|
-
return
|
|
2301
|
+
return Z(m) === M;
|
|
2302
2302
|
}
|
|
2303
|
-
function
|
|
2304
|
-
return
|
|
2303
|
+
function x(m) {
|
|
2304
|
+
return Z(m) === C;
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2307
|
-
return
|
|
2306
|
+
function $(m) {
|
|
2307
|
+
return Z(m) === I;
|
|
2308
2308
|
}
|
|
2309
2309
|
function ye(m) {
|
|
2310
|
-
return
|
|
2310
|
+
return Z(m) === j;
|
|
2311
2311
|
}
|
|
2312
|
-
|
|
2313
|
-
}()),
|
|
2312
|
+
Q.AsyncMode = f, Q.ConcurrentMode = ie, Q.ContextConsumer = Ee, Q.ContextProvider = we, Q.Element = Ce, Q.ForwardRef = Te, Q.Fragment = Oe, Q.Lazy = Se, Q.Memo = pe, Q.Portal = fe, Q.Profiler = de, Q.StrictMode = ce, Q.Suspense = S, Q.isAsyncMode = xe, Q.isConcurrentMode = c, Q.isContextConsumer = n, Q.isContextProvider = i, Q.isElement = h, Q.isForwardRef = y, Q.isFragment = b, Q.isLazy = _, Q.isMemo = E, Q.isPortal = T, Q.isProfiler = x, Q.isStrictMode = $, Q.isSuspense = ye, Q.isValidElementType = ne, Q.typeOf = Z;
|
|
2313
|
+
}()), Q;
|
|
2314
2314
|
}
|
|
2315
2315
|
var $t;
|
|
2316
2316
|
function Wt() {
|
|
@@ -2321,60 +2321,60 @@ object-assign
|
|
|
2321
2321
|
(c) Sindre Sorhus
|
|
2322
2322
|
@license MIT
|
|
2323
2323
|
*/
|
|
2324
|
-
var
|
|
2324
|
+
var Gr, It;
|
|
2325
2325
|
function gn() {
|
|
2326
2326
|
if (It)
|
|
2327
|
-
return
|
|
2327
|
+
return Gr;
|
|
2328
2328
|
It = 1;
|
|
2329
|
-
var
|
|
2330
|
-
function
|
|
2331
|
-
if (
|
|
2329
|
+
var u = Object.getOwnPropertySymbols, p = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
|
|
2330
|
+
function w(C) {
|
|
2331
|
+
if (C == null)
|
|
2332
2332
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
2333
|
-
return Object(
|
|
2333
|
+
return Object(C);
|
|
2334
2334
|
}
|
|
2335
|
-
function
|
|
2335
|
+
function I() {
|
|
2336
2336
|
try {
|
|
2337
2337
|
if (!Object.assign)
|
|
2338
2338
|
return !1;
|
|
2339
|
-
var
|
|
2340
|
-
if (
|
|
2339
|
+
var C = new String("abc");
|
|
2340
|
+
if (C[5] = "de", Object.getOwnPropertyNames(C)[0] === "5")
|
|
2341
2341
|
return !1;
|
|
2342
|
-
for (var
|
|
2343
|
-
|
|
2344
|
-
var
|
|
2345
|
-
return
|
|
2342
|
+
for (var N = {}, O = 0; O < 10; O++)
|
|
2343
|
+
N["_" + String.fromCharCode(O)] = O;
|
|
2344
|
+
var k = Object.getOwnPropertyNames(N).map(function(g) {
|
|
2345
|
+
return N[g];
|
|
2346
2346
|
});
|
|
2347
|
-
if (
|
|
2347
|
+
if (k.join("") !== "0123456789")
|
|
2348
2348
|
return !1;
|
|
2349
|
-
var
|
|
2350
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
2351
|
-
|
|
2352
|
-
}), Object.keys(Object.assign({},
|
|
2349
|
+
var L = {};
|
|
2350
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
|
|
2351
|
+
L[g] = g;
|
|
2352
|
+
}), Object.keys(Object.assign({}, L)).join("") === "abcdefghijklmnopqrst";
|
|
2353
2353
|
} catch {
|
|
2354
2354
|
return !1;
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
|
-
return
|
|
2358
|
-
for (var
|
|
2359
|
-
|
|
2360
|
-
for (var
|
|
2361
|
-
p.call(
|
|
2362
|
-
if (
|
|
2363
|
-
|
|
2364
|
-
for (var
|
|
2365
|
-
|
|
2366
|
-
}
|
|
2367
|
-
}
|
|
2368
|
-
return
|
|
2369
|
-
},
|
|
2357
|
+
return Gr = I() ? Object.assign : function(C, N) {
|
|
2358
|
+
for (var O, k = w(C), L, g = 1; g < arguments.length; g++) {
|
|
2359
|
+
O = Object(arguments[g]);
|
|
2360
|
+
for (var j in O)
|
|
2361
|
+
p.call(O, j) && (k[j] = O[j]);
|
|
2362
|
+
if (u) {
|
|
2363
|
+
L = u(O);
|
|
2364
|
+
for (var U = 0; U < L.length; U++)
|
|
2365
|
+
M.call(O, L[U]) && (k[L[U]] = O[L[U]]);
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
return k;
|
|
2369
|
+
}, Gr;
|
|
2370
2370
|
}
|
|
2371
|
-
var
|
|
2371
|
+
var Hr, Ft;
|
|
2372
2372
|
function rt() {
|
|
2373
2373
|
if (Ft)
|
|
2374
|
-
return
|
|
2374
|
+
return Hr;
|
|
2375
2375
|
Ft = 1;
|
|
2376
|
-
var
|
|
2377
|
-
return
|
|
2376
|
+
var u = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2377
|
+
return Hr = u, Hr;
|
|
2378
2378
|
}
|
|
2379
2379
|
var Kr, Dt;
|
|
2380
2380
|
function Ut() {
|
|
@@ -2385,88 +2385,88 @@ function bn() {
|
|
|
2385
2385
|
if (Mt)
|
|
2386
2386
|
return Jr;
|
|
2387
2387
|
Mt = 1;
|
|
2388
|
-
var
|
|
2388
|
+
var u = function() {
|
|
2389
2389
|
};
|
|
2390
2390
|
if (process.env.NODE_ENV !== "production") {
|
|
2391
|
-
var p = rt(),
|
|
2392
|
-
|
|
2393
|
-
var
|
|
2394
|
-
typeof console < "u" && console.error(
|
|
2391
|
+
var p = rt(), M = {}, w = Ut();
|
|
2392
|
+
u = function(C) {
|
|
2393
|
+
var N = "Warning: " + C;
|
|
2394
|
+
typeof console < "u" && console.error(N);
|
|
2395
2395
|
try {
|
|
2396
|
-
throw new Error(
|
|
2396
|
+
throw new Error(N);
|
|
2397
2397
|
} catch {
|
|
2398
2398
|
}
|
|
2399
2399
|
};
|
|
2400
2400
|
}
|
|
2401
|
-
function
|
|
2401
|
+
function I(C, N, O, k, L) {
|
|
2402
2402
|
if (process.env.NODE_ENV !== "production") {
|
|
2403
|
-
for (var
|
|
2404
|
-
if (
|
|
2405
|
-
var
|
|
2403
|
+
for (var g in C)
|
|
2404
|
+
if (w(C, g)) {
|
|
2405
|
+
var j;
|
|
2406
2406
|
try {
|
|
2407
|
-
if (typeof
|
|
2408
|
-
var
|
|
2409
|
-
(
|
|
2407
|
+
if (typeof C[g] != "function") {
|
|
2408
|
+
var U = Error(
|
|
2409
|
+
(k || "React class") + ": " + O + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof C[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2410
2410
|
);
|
|
2411
|
-
throw
|
|
2411
|
+
throw U.name = "Invariant Violation", U;
|
|
2412
2412
|
}
|
|
2413
|
-
|
|
2413
|
+
j = C[g](N, g, k, O, null, p);
|
|
2414
2414
|
} catch (G) {
|
|
2415
|
-
|
|
2415
|
+
j = G;
|
|
2416
2416
|
}
|
|
2417
|
-
if (
|
|
2418
|
-
(
|
|
2419
|
-
),
|
|
2420
|
-
|
|
2421
|
-
var
|
|
2422
|
-
|
|
2423
|
-
"Failed " +
|
|
2417
|
+
if (j && !(j instanceof Error) && u(
|
|
2418
|
+
(k || "React class") + ": type specification of " + O + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof j + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2419
|
+
), j instanceof Error && !(j.message in M)) {
|
|
2420
|
+
M[j.message] = !0;
|
|
2421
|
+
var A = L ? L() : "";
|
|
2422
|
+
u(
|
|
2423
|
+
"Failed " + O + " type: " + j.message + (A ?? "")
|
|
2424
2424
|
);
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
2427
|
}
|
|
2428
2428
|
}
|
|
2429
|
-
return
|
|
2430
|
-
process.env.NODE_ENV !== "production" && (
|
|
2431
|
-
}, Jr =
|
|
2429
|
+
return I.resetWarningCache = function() {
|
|
2430
|
+
process.env.NODE_ENV !== "production" && (M = {});
|
|
2431
|
+
}, Jr = I, Jr;
|
|
2432
2432
|
}
|
|
2433
2433
|
var Zr, Nt;
|
|
2434
2434
|
function _n() {
|
|
2435
2435
|
if (Nt)
|
|
2436
2436
|
return Zr;
|
|
2437
2437
|
Nt = 1;
|
|
2438
|
-
var
|
|
2438
|
+
var u = Wt(), p = gn(), M = rt(), w = Ut(), I = bn(), C = function() {
|
|
2439
2439
|
};
|
|
2440
|
-
process.env.NODE_ENV !== "production" && (
|
|
2441
|
-
var
|
|
2442
|
-
typeof console < "u" && console.error(
|
|
2440
|
+
process.env.NODE_ENV !== "production" && (C = function(O) {
|
|
2441
|
+
var k = "Warning: " + O;
|
|
2442
|
+
typeof console < "u" && console.error(k);
|
|
2443
2443
|
try {
|
|
2444
|
-
throw new Error(
|
|
2444
|
+
throw new Error(k);
|
|
2445
2445
|
} catch {
|
|
2446
2446
|
}
|
|
2447
2447
|
});
|
|
2448
|
-
function
|
|
2448
|
+
function N() {
|
|
2449
2449
|
return null;
|
|
2450
2450
|
}
|
|
2451
|
-
return Zr = function(
|
|
2452
|
-
var
|
|
2453
|
-
function
|
|
2454
|
-
var n =
|
|
2451
|
+
return Zr = function(O, k) {
|
|
2452
|
+
var L = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
2453
|
+
function j(c) {
|
|
2454
|
+
var n = c && (L && c[L] || c[g]);
|
|
2455
2455
|
if (typeof n == "function")
|
|
2456
2456
|
return n;
|
|
2457
2457
|
}
|
|
2458
|
-
var
|
|
2459
|
-
array:
|
|
2460
|
-
bigint:
|
|
2461
|
-
bool:
|
|
2462
|
-
func:
|
|
2463
|
-
number:
|
|
2464
|
-
object:
|
|
2465
|
-
string:
|
|
2466
|
-
symbol:
|
|
2467
|
-
any:
|
|
2468
|
-
arrayOf:
|
|
2469
|
-
element:
|
|
2458
|
+
var U = "<<anonymous>>", A = {
|
|
2459
|
+
array: te("array"),
|
|
2460
|
+
bigint: te("bigint"),
|
|
2461
|
+
bool: te("boolean"),
|
|
2462
|
+
func: te("function"),
|
|
2463
|
+
number: te("number"),
|
|
2464
|
+
object: te("object"),
|
|
2465
|
+
string: te("string"),
|
|
2466
|
+
symbol: te("symbol"),
|
|
2467
|
+
any: J(),
|
|
2468
|
+
arrayOf: ne,
|
|
2469
|
+
element: Z(),
|
|
2470
2470
|
elementType: f(),
|
|
2471
2471
|
instanceOf: ie,
|
|
2472
2472
|
node: Te(),
|
|
@@ -2476,227 +2476,227 @@ function _n() {
|
|
|
2476
2476
|
shape: Se,
|
|
2477
2477
|
exact: pe
|
|
2478
2478
|
};
|
|
2479
|
-
function G(
|
|
2480
|
-
return
|
|
2479
|
+
function G(c, n) {
|
|
2480
|
+
return c === n ? c !== 0 || 1 / c === 1 / n : c !== c && n !== n;
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2483
|
-
this.message =
|
|
2482
|
+
function P(c, n) {
|
|
2483
|
+
this.message = c, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
2484
2484
|
}
|
|
2485
|
-
|
|
2486
|
-
function
|
|
2485
|
+
P.prototype = Error.prototype;
|
|
2486
|
+
function V(c) {
|
|
2487
2487
|
if (process.env.NODE_ENV !== "production")
|
|
2488
2488
|
var n = {}, i = 0;
|
|
2489
|
-
function h(
|
|
2490
|
-
if (T = T ||
|
|
2491
|
-
if (
|
|
2489
|
+
function h(b, _, E, T, x, $, ye) {
|
|
2490
|
+
if (T = T || U, $ = $ || E, ye !== M) {
|
|
2491
|
+
if (k) {
|
|
2492
2492
|
var m = new Error(
|
|
2493
2493
|
"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"
|
|
2494
2494
|
);
|
|
2495
2495
|
throw m.name = "Invariant Violation", m;
|
|
2496
2496
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2497
|
-
var he = T + ":" +
|
|
2497
|
+
var he = T + ":" + E;
|
|
2498
2498
|
!n[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2499
|
-
i < 3 && (
|
|
2500
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
2499
|
+
i < 3 && (C(
|
|
2500
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + T + "`. 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."
|
|
2501
2501
|
), n[he] = !0, i++);
|
|
2502
2502
|
}
|
|
2503
2503
|
}
|
|
2504
|
-
return
|
|
2504
|
+
return _[E] == null ? b ? _[E] === null ? new P("The " + x + " `" + $ + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new P("The " + x + " `" + $ + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : c(_, E, T, x, $);
|
|
2505
2505
|
}
|
|
2506
2506
|
var y = h.bind(null, !1);
|
|
2507
2507
|
return y.isRequired = h.bind(null, !0), y;
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2510
|
-
function n(i, h, y,
|
|
2511
|
-
var T = i[h],
|
|
2512
|
-
if (
|
|
2513
|
-
var
|
|
2514
|
-
return new
|
|
2515
|
-
"Invalid " +
|
|
2516
|
-
{ expectedType:
|
|
2509
|
+
function te(c) {
|
|
2510
|
+
function n(i, h, y, b, _, E) {
|
|
2511
|
+
var T = i[h], x = ce(T);
|
|
2512
|
+
if (x !== c) {
|
|
2513
|
+
var $ = S(T);
|
|
2514
|
+
return new P(
|
|
2515
|
+
"Invalid " + b + " `" + _ + "` of type " + ("`" + $ + "` supplied to `" + y + "`, expected ") + ("`" + c + "`."),
|
|
2516
|
+
{ expectedType: c }
|
|
2517
2517
|
);
|
|
2518
2518
|
}
|
|
2519
2519
|
return null;
|
|
2520
2520
|
}
|
|
2521
|
-
return
|
|
2521
|
+
return V(n);
|
|
2522
2522
|
}
|
|
2523
|
-
function
|
|
2524
|
-
return
|
|
2525
|
-
}
|
|
2526
|
-
function
|
|
2527
|
-
function n(i, h, y,
|
|
2528
|
-
if (typeof
|
|
2529
|
-
return new
|
|
2530
|
-
var
|
|
2531
|
-
if (!Array.isArray(
|
|
2532
|
-
var T = ce(
|
|
2533
|
-
return new
|
|
2534
|
-
}
|
|
2535
|
-
for (var
|
|
2536
|
-
var
|
|
2537
|
-
if (
|
|
2538
|
-
return
|
|
2523
|
+
function J() {
|
|
2524
|
+
return V(N);
|
|
2525
|
+
}
|
|
2526
|
+
function ne(c) {
|
|
2527
|
+
function n(i, h, y, b, _) {
|
|
2528
|
+
if (typeof c != "function")
|
|
2529
|
+
return new P("Property `" + _ + "` of component `" + y + "` has invalid PropType notation inside arrayOf.");
|
|
2530
|
+
var E = i[h];
|
|
2531
|
+
if (!Array.isArray(E)) {
|
|
2532
|
+
var T = ce(E);
|
|
2533
|
+
return new P("Invalid " + b + " `" + _ + "` of type " + ("`" + T + "` supplied to `" + y + "`, expected an array."));
|
|
2534
|
+
}
|
|
2535
|
+
for (var x = 0; x < E.length; x++) {
|
|
2536
|
+
var $ = c(E, x, y, b, _ + "[" + x + "]", M);
|
|
2537
|
+
if ($ instanceof Error)
|
|
2538
|
+
return $;
|
|
2539
2539
|
}
|
|
2540
2540
|
return null;
|
|
2541
2541
|
}
|
|
2542
|
-
return
|
|
2542
|
+
return V(n);
|
|
2543
2543
|
}
|
|
2544
|
-
function
|
|
2545
|
-
function
|
|
2546
|
-
var
|
|
2547
|
-
if (!
|
|
2548
|
-
var
|
|
2549
|
-
return new
|
|
2544
|
+
function Z() {
|
|
2545
|
+
function c(n, i, h, y, b) {
|
|
2546
|
+
var _ = n[i];
|
|
2547
|
+
if (!O(_)) {
|
|
2548
|
+
var E = ce(_);
|
|
2549
|
+
return new P("Invalid " + y + " `" + b + "` of type " + ("`" + E + "` supplied to `" + h + "`, expected a single ReactElement."));
|
|
2550
2550
|
}
|
|
2551
2551
|
return null;
|
|
2552
2552
|
}
|
|
2553
|
-
return
|
|
2553
|
+
return V(c);
|
|
2554
2554
|
}
|
|
2555
2555
|
function f() {
|
|
2556
|
-
function
|
|
2557
|
-
var
|
|
2558
|
-
if (!
|
|
2559
|
-
var
|
|
2560
|
-
return new
|
|
2556
|
+
function c(n, i, h, y, b) {
|
|
2557
|
+
var _ = n[i];
|
|
2558
|
+
if (!u.isValidElementType(_)) {
|
|
2559
|
+
var E = ce(_);
|
|
2560
|
+
return new P("Invalid " + y + " `" + b + "` of type " + ("`" + E + "` supplied to `" + h + "`, expected a single ReactElement type."));
|
|
2561
2561
|
}
|
|
2562
2562
|
return null;
|
|
2563
2563
|
}
|
|
2564
|
-
return
|
|
2564
|
+
return V(c);
|
|
2565
2565
|
}
|
|
2566
|
-
function ie(
|
|
2567
|
-
function n(i, h, y,
|
|
2568
|
-
if (!(i[h] instanceof
|
|
2569
|
-
var
|
|
2570
|
-
return new
|
|
2566
|
+
function ie(c) {
|
|
2567
|
+
function n(i, h, y, b, _) {
|
|
2568
|
+
if (!(i[h] instanceof c)) {
|
|
2569
|
+
var E = c.name || U, T = xe(i[h]);
|
|
2570
|
+
return new P("Invalid " + b + " `" + _ + "` of type " + ("`" + T + "` supplied to `" + y + "`, expected ") + ("instance of `" + E + "`."));
|
|
2571
2571
|
}
|
|
2572
2572
|
return null;
|
|
2573
2573
|
}
|
|
2574
|
-
return
|
|
2574
|
+
return V(n);
|
|
2575
2575
|
}
|
|
2576
|
-
function Ee(
|
|
2577
|
-
if (!Array.isArray(
|
|
2578
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
2576
|
+
function Ee(c) {
|
|
2577
|
+
if (!Array.isArray(c))
|
|
2578
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? C(
|
|
2579
2579
|
"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])."
|
|
2580
|
-
) :
|
|
2581
|
-
function n(i, h, y,
|
|
2582
|
-
for (var
|
|
2583
|
-
if (G(
|
|
2580
|
+
) : C("Invalid argument supplied to oneOf, expected an array.")), N;
|
|
2581
|
+
function n(i, h, y, b, _) {
|
|
2582
|
+
for (var E = i[h], T = 0; T < c.length; T++)
|
|
2583
|
+
if (G(E, c[T]))
|
|
2584
2584
|
return null;
|
|
2585
|
-
var
|
|
2586
|
-
var he =
|
|
2585
|
+
var x = JSON.stringify(c, function(ye, m) {
|
|
2586
|
+
var he = S(m);
|
|
2587
2587
|
return he === "symbol" ? String(m) : m;
|
|
2588
2588
|
});
|
|
2589
|
-
return new
|
|
2589
|
+
return new P("Invalid " + b + " `" + _ + "` of value `" + String(E) + "` " + ("supplied to `" + y + "`, expected one of " + x + "."));
|
|
2590
2590
|
}
|
|
2591
|
-
return
|
|
2591
|
+
return V(n);
|
|
2592
2592
|
}
|
|
2593
|
-
function we(
|
|
2594
|
-
function n(i, h, y,
|
|
2595
|
-
if (typeof
|
|
2596
|
-
return new
|
|
2597
|
-
var
|
|
2593
|
+
function we(c) {
|
|
2594
|
+
function n(i, h, y, b, _) {
|
|
2595
|
+
if (typeof c != "function")
|
|
2596
|
+
return new P("Property `" + _ + "` of component `" + y + "` has invalid PropType notation inside objectOf.");
|
|
2597
|
+
var E = i[h], T = ce(E);
|
|
2598
2598
|
if (T !== "object")
|
|
2599
|
-
return new
|
|
2600
|
-
for (var
|
|
2601
|
-
if (E
|
|
2602
|
-
var
|
|
2603
|
-
if (
|
|
2604
|
-
return
|
|
2599
|
+
return new P("Invalid " + b + " `" + _ + "` of type " + ("`" + T + "` supplied to `" + y + "`, expected an object."));
|
|
2600
|
+
for (var x in E)
|
|
2601
|
+
if (w(E, x)) {
|
|
2602
|
+
var $ = c(E, x, y, b, _ + "." + x, M);
|
|
2603
|
+
if ($ instanceof Error)
|
|
2604
|
+
return $;
|
|
2605
2605
|
}
|
|
2606
2606
|
return null;
|
|
2607
2607
|
}
|
|
2608
|
-
return
|
|
2608
|
+
return V(n);
|
|
2609
2609
|
}
|
|
2610
|
-
function Ce(
|
|
2611
|
-
if (!Array.isArray(
|
|
2612
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2613
|
-
for (var n = 0; n <
|
|
2614
|
-
var i =
|
|
2610
|
+
function Ce(c) {
|
|
2611
|
+
if (!Array.isArray(c))
|
|
2612
|
+
return process.env.NODE_ENV !== "production" && C("Invalid argument supplied to oneOfType, expected an instance of array."), N;
|
|
2613
|
+
for (var n = 0; n < c.length; n++) {
|
|
2614
|
+
var i = c[n];
|
|
2615
2615
|
if (typeof i != "function")
|
|
2616
|
-
return
|
|
2616
|
+
return C(
|
|
2617
2617
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _e(i) + " at index " + n + "."
|
|
2618
|
-
),
|
|
2618
|
+
), N;
|
|
2619
2619
|
}
|
|
2620
|
-
function h(y,
|
|
2621
|
-
for (var
|
|
2622
|
-
var ye =
|
|
2620
|
+
function h(y, b, _, E, T) {
|
|
2621
|
+
for (var x = [], $ = 0; $ < c.length; $++) {
|
|
2622
|
+
var ye = c[$], m = ye(y, b, _, E, T, M);
|
|
2623
2623
|
if (m == null)
|
|
2624
2624
|
return null;
|
|
2625
|
-
m.data &&
|
|
2625
|
+
m.data && w(m.data, "expectedType") && x.push(m.data.expectedType);
|
|
2626
2626
|
}
|
|
2627
|
-
var he =
|
|
2628
|
-
return new
|
|
2627
|
+
var he = x.length > 0 ? ", expected one of type [" + x.join(", ") + "]" : "";
|
|
2628
|
+
return new P("Invalid " + E + " `" + T + "` supplied to " + ("`" + _ + "`" + he + "."));
|
|
2629
2629
|
}
|
|
2630
|
-
return
|
|
2630
|
+
return V(h);
|
|
2631
2631
|
}
|
|
2632
2632
|
function Te() {
|
|
2633
|
-
function
|
|
2634
|
-
return fe(n[i]) ? null : new
|
|
2633
|
+
function c(n, i, h, y, b) {
|
|
2634
|
+
return fe(n[i]) ? null : new P("Invalid " + y + " `" + b + "` supplied to " + ("`" + h + "`, expected a ReactNode."));
|
|
2635
2635
|
}
|
|
2636
|
-
return
|
|
2636
|
+
return V(c);
|
|
2637
2637
|
}
|
|
2638
|
-
function Oe(
|
|
2639
|
-
return new
|
|
2640
|
-
(
|
|
2638
|
+
function Oe(c, n, i, h, y) {
|
|
2639
|
+
return new P(
|
|
2640
|
+
(c || "React class") + ": " + n + " type `" + i + "." + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + y + "`."
|
|
2641
2641
|
);
|
|
2642
2642
|
}
|
|
2643
|
-
function Se(
|
|
2644
|
-
function n(i, h, y,
|
|
2645
|
-
var
|
|
2643
|
+
function Se(c) {
|
|
2644
|
+
function n(i, h, y, b, _) {
|
|
2645
|
+
var E = i[h], T = ce(E);
|
|
2646
2646
|
if (T !== "object")
|
|
2647
|
-
return new
|
|
2648
|
-
for (var
|
|
2649
|
-
var
|
|
2650
|
-
if (typeof
|
|
2651
|
-
return Oe(y,
|
|
2652
|
-
var ye =
|
|
2647
|
+
return new P("Invalid " + b + " `" + _ + "` of type `" + T + "` " + ("supplied to `" + y + "`, expected `object`."));
|
|
2648
|
+
for (var x in c) {
|
|
2649
|
+
var $ = c[x];
|
|
2650
|
+
if (typeof $ != "function")
|
|
2651
|
+
return Oe(y, b, _, x, S($));
|
|
2652
|
+
var ye = $(E, x, y, b, _ + "." + x, M);
|
|
2653
2653
|
if (ye)
|
|
2654
2654
|
return ye;
|
|
2655
2655
|
}
|
|
2656
2656
|
return null;
|
|
2657
2657
|
}
|
|
2658
|
-
return
|
|
2658
|
+
return V(n);
|
|
2659
2659
|
}
|
|
2660
|
-
function pe(
|
|
2661
|
-
function n(i, h, y,
|
|
2662
|
-
var
|
|
2660
|
+
function pe(c) {
|
|
2661
|
+
function n(i, h, y, b, _) {
|
|
2662
|
+
var E = i[h], T = ce(E);
|
|
2663
2663
|
if (T !== "object")
|
|
2664
|
-
return new
|
|
2665
|
-
var
|
|
2666
|
-
for (var
|
|
2667
|
-
var ye =
|
|
2668
|
-
if (
|
|
2669
|
-
return Oe(y,
|
|
2664
|
+
return new P("Invalid " + b + " `" + _ + "` of type `" + T + "` " + ("supplied to `" + y + "`, expected `object`."));
|
|
2665
|
+
var x = p({}, i[h], c);
|
|
2666
|
+
for (var $ in x) {
|
|
2667
|
+
var ye = c[$];
|
|
2668
|
+
if (w(c, $) && typeof ye != "function")
|
|
2669
|
+
return Oe(y, b, _, $, S(ye));
|
|
2670
2670
|
if (!ye)
|
|
2671
|
-
return new
|
|
2672
|
-
"Invalid " +
|
|
2673
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
2671
|
+
return new P(
|
|
2672
|
+
"Invalid " + b + " `" + _ + "` key `" + $ + "` supplied to `" + y + "`.\nBad object: " + JSON.stringify(i[h], null, " ") + `
|
|
2673
|
+
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
2674
2674
|
);
|
|
2675
|
-
var m = ye(
|
|
2675
|
+
var m = ye(E, $, y, b, _ + "." + $, M);
|
|
2676
2676
|
if (m)
|
|
2677
2677
|
return m;
|
|
2678
2678
|
}
|
|
2679
2679
|
return null;
|
|
2680
2680
|
}
|
|
2681
|
-
return
|
|
2681
|
+
return V(n);
|
|
2682
2682
|
}
|
|
2683
|
-
function fe(
|
|
2684
|
-
switch (typeof
|
|
2683
|
+
function fe(c) {
|
|
2684
|
+
switch (typeof c) {
|
|
2685
2685
|
case "number":
|
|
2686
2686
|
case "string":
|
|
2687
2687
|
case "undefined":
|
|
2688
2688
|
return !0;
|
|
2689
2689
|
case "boolean":
|
|
2690
|
-
return !
|
|
2690
|
+
return !c;
|
|
2691
2691
|
case "object":
|
|
2692
|
-
if (Array.isArray(
|
|
2693
|
-
return
|
|
2694
|
-
if (
|
|
2692
|
+
if (Array.isArray(c))
|
|
2693
|
+
return c.every(fe);
|
|
2694
|
+
if (c === null || O(c))
|
|
2695
2695
|
return !0;
|
|
2696
|
-
var n =
|
|
2696
|
+
var n = j(c);
|
|
2697
2697
|
if (n) {
|
|
2698
|
-
var i = n.call(
|
|
2699
|
-
if (n !==
|
|
2698
|
+
var i = n.call(c), h;
|
|
2699
|
+
if (n !== c.entries) {
|
|
2700
2700
|
for (; !(h = i.next()).done; )
|
|
2701
2701
|
if (!fe(h.value))
|
|
2702
2702
|
return !1;
|
|
@@ -2713,27 +2713,27 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
2713
2713
|
return !1;
|
|
2714
2714
|
}
|
|
2715
2715
|
}
|
|
2716
|
-
function de(
|
|
2717
|
-
return
|
|
2716
|
+
function de(c, n) {
|
|
2717
|
+
return c === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
2718
2718
|
}
|
|
2719
|
-
function ce(
|
|
2720
|
-
var n = typeof
|
|
2721
|
-
return Array.isArray(
|
|
2719
|
+
function ce(c) {
|
|
2720
|
+
var n = typeof c;
|
|
2721
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : de(n, c) ? "symbol" : n;
|
|
2722
2722
|
}
|
|
2723
|
-
function
|
|
2724
|
-
if (typeof
|
|
2725
|
-
return "" +
|
|
2726
|
-
var n = ce(
|
|
2723
|
+
function S(c) {
|
|
2724
|
+
if (typeof c > "u" || c === null)
|
|
2725
|
+
return "" + c;
|
|
2726
|
+
var n = ce(c);
|
|
2727
2727
|
if (n === "object") {
|
|
2728
|
-
if (
|
|
2728
|
+
if (c instanceof Date)
|
|
2729
2729
|
return "date";
|
|
2730
|
-
if (
|
|
2730
|
+
if (c instanceof RegExp)
|
|
2731
2731
|
return "regexp";
|
|
2732
2732
|
}
|
|
2733
2733
|
return n;
|
|
2734
2734
|
}
|
|
2735
|
-
function _e(
|
|
2736
|
-
var n =
|
|
2735
|
+
function _e(c) {
|
|
2736
|
+
var n = S(c);
|
|
2737
2737
|
switch (n) {
|
|
2738
2738
|
case "array":
|
|
2739
2739
|
case "object":
|
|
@@ -2746,10 +2746,10 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
2746
2746
|
return n;
|
|
2747
2747
|
}
|
|
2748
2748
|
}
|
|
2749
|
-
function xe(
|
|
2750
|
-
return !
|
|
2749
|
+
function xe(c) {
|
|
2750
|
+
return !c.constructor || !c.constructor.name ? U : c.constructor.name;
|
|
2751
2751
|
}
|
|
2752
|
-
return
|
|
2752
|
+
return A.checkPropTypes = I, A.resetWarningCache = I.resetWarningCache, A.PropTypes = A, A;
|
|
2753
2753
|
}, Zr;
|
|
2754
2754
|
}
|
|
2755
2755
|
var Xr, Lt;
|
|
@@ -2757,48 +2757,48 @@ function En() {
|
|
|
2757
2757
|
if (Lt)
|
|
2758
2758
|
return Xr;
|
|
2759
2759
|
Lt = 1;
|
|
2760
|
-
var
|
|
2760
|
+
var u = rt();
|
|
2761
2761
|
function p() {
|
|
2762
2762
|
}
|
|
2763
|
-
function
|
|
2763
|
+
function M() {
|
|
2764
2764
|
}
|
|
2765
|
-
return
|
|
2766
|
-
function
|
|
2767
|
-
if (
|
|
2768
|
-
var
|
|
2765
|
+
return M.resetWarningCache = p, Xr = function() {
|
|
2766
|
+
function w(N, O, k, L, g, j) {
|
|
2767
|
+
if (j !== u) {
|
|
2768
|
+
var U = new Error(
|
|
2769
2769
|
"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"
|
|
2770
2770
|
);
|
|
2771
|
-
throw
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
|
|
2775
|
-
function
|
|
2776
|
-
return
|
|
2777
|
-
}
|
|
2778
|
-
var
|
|
2779
|
-
array:
|
|
2780
|
-
bigint:
|
|
2781
|
-
bool:
|
|
2782
|
-
func:
|
|
2783
|
-
number:
|
|
2784
|
-
object:
|
|
2785
|
-
string:
|
|
2786
|
-
symbol:
|
|
2787
|
-
any:
|
|
2788
|
-
arrayOf:
|
|
2789
|
-
element:
|
|
2790
|
-
elementType:
|
|
2791
|
-
instanceOf:
|
|
2792
|
-
node:
|
|
2793
|
-
objectOf:
|
|
2794
|
-
oneOf:
|
|
2795
|
-
oneOfType:
|
|
2796
|
-
shape:
|
|
2797
|
-
exact:
|
|
2798
|
-
checkPropTypes:
|
|
2771
|
+
throw U.name = "Invariant Violation", U;
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
w.isRequired = w;
|
|
2775
|
+
function I() {
|
|
2776
|
+
return w;
|
|
2777
|
+
}
|
|
2778
|
+
var C = {
|
|
2779
|
+
array: w,
|
|
2780
|
+
bigint: w,
|
|
2781
|
+
bool: w,
|
|
2782
|
+
func: w,
|
|
2783
|
+
number: w,
|
|
2784
|
+
object: w,
|
|
2785
|
+
string: w,
|
|
2786
|
+
symbol: w,
|
|
2787
|
+
any: w,
|
|
2788
|
+
arrayOf: I,
|
|
2789
|
+
element: w,
|
|
2790
|
+
elementType: w,
|
|
2791
|
+
instanceOf: I,
|
|
2792
|
+
node: w,
|
|
2793
|
+
objectOf: I,
|
|
2794
|
+
oneOf: I,
|
|
2795
|
+
oneOfType: I,
|
|
2796
|
+
shape: I,
|
|
2797
|
+
exact: I,
|
|
2798
|
+
checkPropTypes: M,
|
|
2799
2799
|
resetWarningCache: p
|
|
2800
2800
|
};
|
|
2801
|
-
return
|
|
2801
|
+
return C.PropTypes = C, C;
|
|
2802
2802
|
}, Xr;
|
|
2803
2803
|
}
|
|
2804
2804
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2807,20 +2807,20 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2807
2807
|
} else
|
|
2808
2808
|
et.exports = En()();
|
|
2809
2809
|
var Cn = et.exports;
|
|
2810
|
-
const
|
|
2811
|
-
/* @__PURE__ */ v.jsx("div", { className: "u-accordion-title", children:
|
|
2810
|
+
const D = /* @__PURE__ */ fn(Cn), Tn = ({ title: u = "", id: p = "", children: M = /* @__PURE__ */ v.jsx("div", {}) }) => /* @__PURE__ */ v.jsxs("div", { className: "u-accordion", children: [
|
|
2811
|
+
/* @__PURE__ */ v.jsx("div", { className: "u-accordion-title", children: u }),
|
|
2812
2812
|
/* @__PURE__ */ v.jsx("input", { className: "u-accordion-input", type: "checkbox", id: `u-accordion${p}` }),
|
|
2813
2813
|
/* @__PURE__ */ v.jsx("label", { className: "u-accordion-toggle", htmlFor: `u-accordion${p}` }),
|
|
2814
|
-
/* @__PURE__ */ v.jsx("div", { className: "u-accordion-content", children:
|
|
2814
|
+
/* @__PURE__ */ v.jsx("div", { className: "u-accordion-content", children: M })
|
|
2815
2815
|
] });
|
|
2816
2816
|
Tn.propTypes = {
|
|
2817
|
-
title:
|
|
2818
|
-
id:
|
|
2819
|
-
children:
|
|
2817
|
+
title: D.string,
|
|
2818
|
+
id: D.string,
|
|
2819
|
+
children: D.node
|
|
2820
2820
|
};
|
|
2821
|
-
const Sn = ({ onClick:
|
|
2822
|
-
const
|
|
2823
|
-
switch (
|
|
2821
|
+
const Sn = ({ onClick: u, variant: p = "primary", size: M = "medium", type: w = "button", icon: I = "", iconLeft: C = !1, iconOnly: N = !1, iconSize: O, disabled: k = !1, children: L = "ОК" }) => {
|
|
2822
|
+
const g = (P) => {
|
|
2823
|
+
switch (P) {
|
|
2824
2824
|
case "primary":
|
|
2825
2825
|
return "u-button";
|
|
2826
2826
|
case "danger":
|
|
@@ -2836,8 +2836,8 @@ const Sn = ({ onClick: c, variant: p = "primary", size: F = "medium", type: E =
|
|
|
2836
2836
|
case "text-danger":
|
|
2837
2837
|
return "u-button-text u-button-text-danger";
|
|
2838
2838
|
}
|
|
2839
|
-
},
|
|
2840
|
-
switch (
|
|
2839
|
+
}, j = (P) => {
|
|
2840
|
+
switch (P) {
|
|
2841
2841
|
case "medium":
|
|
2842
2842
|
return "";
|
|
2843
2843
|
case "small":
|
|
@@ -2845,29 +2845,29 @@ const Sn = ({ onClick: c, variant: p = "primary", size: F = "medium", type: E =
|
|
|
2845
2845
|
default:
|
|
2846
2846
|
return "";
|
|
2847
2847
|
}
|
|
2848
|
-
},
|
|
2848
|
+
}, U = (P) => P ? " u-button-text-icon-left" : "", A = (P) => P ? " icon-only" : "", G = (P) => typeof P == "number" ? `${P}px` : String(P);
|
|
2849
2849
|
return /* @__PURE__ */ v.jsxs(
|
|
2850
2850
|
"button",
|
|
2851
2851
|
{
|
|
2852
|
-
className: `${
|
|
2853
|
-
type:
|
|
2854
|
-
onClick:
|
|
2855
|
-
disabled:
|
|
2852
|
+
className: `${g(p)}${j(M)}${U(C)}`,
|
|
2853
|
+
type: w,
|
|
2854
|
+
onClick: u,
|
|
2855
|
+
disabled: k,
|
|
2856
2856
|
children: [
|
|
2857
|
-
!
|
|
2857
|
+
!N && L,
|
|
2858
2858
|
" ",
|
|
2859
|
-
|
|
2859
|
+
I && /* @__PURE__ */ v.jsx("i", { style: O && { fontSize: G(O) }, className: `u-icon${A(N)} icon-${I}` })
|
|
2860
2860
|
]
|
|
2861
2861
|
}
|
|
2862
2862
|
);
|
|
2863
2863
|
};
|
|
2864
2864
|
Sn.propTypes = {
|
|
2865
|
-
variant:
|
|
2866
|
-
type:
|
|
2867
|
-
size:
|
|
2868
|
-
children:
|
|
2869
|
-
onClick:
|
|
2870
|
-
icon:
|
|
2865
|
+
variant: D.oneOf(["primary", "danger", "outline", "danger-outline", "simple", "text", "text-danger"]),
|
|
2866
|
+
type: D.string,
|
|
2867
|
+
size: D.string,
|
|
2868
|
+
children: D.string,
|
|
2869
|
+
onClick: D.func,
|
|
2870
|
+
icon: D.oneOf([
|
|
2871
2871
|
"active",
|
|
2872
2872
|
"application",
|
|
2873
2873
|
"attention",
|
|
@@ -2958,14 +2958,14 @@ Sn.propTypes = {
|
|
|
2958
2958
|
"zip"
|
|
2959
2959
|
])
|
|
2960
2960
|
};
|
|
2961
|
-
const xn = ({ name:
|
|
2962
|
-
const
|
|
2963
|
-
return /* @__PURE__ */ v.jsx("i", { style: { fontSize:
|
|
2961
|
+
const xn = ({ name: u = "", size: p = "", color: M = "" }) => {
|
|
2962
|
+
const w = (I) => typeof I == "number" ? `${I}px` : String(I);
|
|
2963
|
+
return /* @__PURE__ */ v.jsx("i", { style: { fontSize: w(p), color: M }, className: `u-icon icon-${u}` });
|
|
2964
2964
|
};
|
|
2965
2965
|
xn.propTypes = {
|
|
2966
|
-
size:
|
|
2967
|
-
color:
|
|
2968
|
-
name:
|
|
2966
|
+
size: D.string,
|
|
2967
|
+
color: D.string,
|
|
2968
|
+
name: D.oneOf([
|
|
2969
2969
|
"active",
|
|
2970
2970
|
"application",
|
|
2971
2971
|
"attention",
|
|
@@ -3056,8 +3056,8 @@ xn.propTypes = {
|
|
|
3056
3056
|
"zip"
|
|
3057
3057
|
])
|
|
3058
3058
|
};
|
|
3059
|
-
const On = ({ title:
|
|
3060
|
-
const
|
|
3059
|
+
const On = ({ title: u = "", defaultValue: p = "", onChange: M, required: w = !1, disabled: I = !1, lineUp: C = !1, rowGap: N = 4, columnGap: O = 20, styleInputContainer: k, styleTitle: L, styleInput: g }) => {
|
|
3060
|
+
const j = (U) => typeof U == "number" ? `${U}px` : String(U);
|
|
3061
3061
|
return /* @__PURE__ */ v.jsxs(
|
|
3062
3062
|
"div",
|
|
3063
3063
|
{
|
|
@@ -3065,33 +3065,45 @@ const On = ({ title: c = "", defaultValue: p = "", onChange: F, required: E = !1
|
|
|
3065
3065
|
style: Object.assign(
|
|
3066
3066
|
{
|
|
3067
3067
|
display: "flex",
|
|
3068
|
-
flexDirection:
|
|
3069
|
-
rowGap:
|
|
3070
|
-
columnGap:
|
|
3068
|
+
flexDirection: C ? "row" : "column",
|
|
3069
|
+
rowGap: C ? null : j(N),
|
|
3070
|
+
columnGap: C ? j(O) : null
|
|
3071
3071
|
},
|
|
3072
|
-
|
|
3072
|
+
k
|
|
3073
3073
|
),
|
|
3074
3074
|
children: [
|
|
3075
|
-
|
|
3076
|
-
|
|
3075
|
+
u && /* @__PURE__ */ v.jsx(
|
|
3076
|
+
"div",
|
|
3077
|
+
{
|
|
3078
|
+
className: `${w && "u-required"} u-react-input-title`,
|
|
3079
|
+
style: Object.assign(
|
|
3080
|
+
{
|
|
3081
|
+
color: "#545454"
|
|
3082
|
+
},
|
|
3083
|
+
L
|
|
3084
|
+
),
|
|
3085
|
+
children: u
|
|
3086
|
+
}
|
|
3087
|
+
),
|
|
3088
|
+
/* @__PURE__ */ v.jsx("input", { className: "u-react-input u-input", style: g, type: "text", placeholder: "введите", value: p, disabled: I, onChange: M })
|
|
3077
3089
|
]
|
|
3078
3090
|
}
|
|
3079
3091
|
);
|
|
3080
3092
|
};
|
|
3081
3093
|
On.propTypes = {
|
|
3082
|
-
title:
|
|
3083
|
-
required:
|
|
3084
|
-
disabled:
|
|
3085
|
-
lineUp:
|
|
3086
|
-
rowGap:
|
|
3087
|
-
columnGap:
|
|
3088
|
-
styleInputContainer:
|
|
3089
|
-
styleTitle:
|
|
3090
|
-
styleInput:
|
|
3094
|
+
title: D.string,
|
|
3095
|
+
required: D.bool,
|
|
3096
|
+
disabled: D.bool,
|
|
3097
|
+
lineUp: D.bool,
|
|
3098
|
+
rowGap: D.bool,
|
|
3099
|
+
columnGap: D.bool,
|
|
3100
|
+
styleInputContainer: D.object,
|
|
3101
|
+
styleTitle: D.object,
|
|
3102
|
+
styleInput: D.object
|
|
3091
3103
|
};
|
|
3092
|
-
const jn = ({ size:
|
|
3093
|
-
const
|
|
3094
|
-
switch (`${
|
|
3104
|
+
const jn = ({ size: u = "medium", variant: p = "info", children: M }) => {
|
|
3105
|
+
const w = (I, C) => {
|
|
3106
|
+
switch (`${I}-${C}`) {
|
|
3095
3107
|
case "medium-info":
|
|
3096
3108
|
return "u-message";
|
|
3097
3109
|
case "medium-fail":
|
|
@@ -3110,19 +3122,19 @@ const jn = ({ size: c = "medium", variant: p = "info", children: F }) => {
|
|
|
3110
3122
|
return "u-message-small-warning";
|
|
3111
3123
|
}
|
|
3112
3124
|
};
|
|
3113
|
-
return /* @__PURE__ */ v.jsx("div", { className:
|
|
3125
|
+
return /* @__PURE__ */ v.jsx("div", { className: w(u, p), children: M });
|
|
3114
3126
|
};
|
|
3115
3127
|
jn.propTypes = {
|
|
3116
|
-
size:
|
|
3117
|
-
variant:
|
|
3118
|
-
children:
|
|
3128
|
+
size: D.string,
|
|
3129
|
+
variant: D.string,
|
|
3130
|
+
children: D.node
|
|
3119
3131
|
};
|
|
3120
|
-
const Pn = ({ variant:
|
|
3121
|
-
|
|
3132
|
+
const Pn = ({ variant: u = "small-primary" }) => /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
3133
|
+
u === "small-primary" && /* @__PURE__ */ v.jsx("div", { className: "u-preloader-mini", children: /* @__PURE__ */ v.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: [
|
|
3122
3134
|
/* @__PURE__ */ v.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "#1E4391", "stroke-width": "2" }),
|
|
3123
3135
|
/* @__PURE__ */ v.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "#1E4391" })
|
|
3124
3136
|
] }) }),
|
|
3125
|
-
|
|
3137
|
+
u === "small-special" && /* @__PURE__ */ v.jsx("div", { className: "u-preloader-mini-gradient", children: /* @__PURE__ */ v.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: [
|
|
3126
3138
|
/* @__PURE__ */ v.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "url(#paint0_linear_8025_35626)", "stroke-width": "2" }),
|
|
3127
3139
|
/* @__PURE__ */ v.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "url(#paint0_linear_8025_35627)" }),
|
|
3128
3140
|
/* @__PURE__ */ v.jsxs("defs", { children: [
|
|
@@ -3138,12 +3150,12 @@ const Pn = ({ variant: c = "small-primary" }) => /* @__PURE__ */ v.jsxs(v.Fragme
|
|
|
3138
3150
|
] })
|
|
3139
3151
|
] })
|
|
3140
3152
|
] }) }),
|
|
3141
|
-
|
|
3153
|
+
u === "large-primary" && /* @__PURE__ */ v.jsx("div", { className: "u-preloader", children: /* @__PURE__ */ v.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: [
|
|
3142
3154
|
/* @__PURE__ */ v.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" }),
|
|
3143
3155
|
/* @__PURE__ */ v.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" }),
|
|
3144
3156
|
/* @__PURE__ */ v.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" })
|
|
3145
3157
|
] }) }),
|
|
3146
|
-
|
|
3158
|
+
u === "large-special" && /* @__PURE__ */ v.jsx("div", { className: "u-preloader-gradient", children: /* @__PURE__ */ v.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: [
|
|
3147
3159
|
/* @__PURE__ */ v.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)" }),
|
|
3148
3160
|
/* @__PURE__ */ v.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)" }),
|
|
3149
3161
|
/* @__PURE__ */ v.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)" }),
|
|
@@ -3167,50 +3179,97 @@ const Pn = ({ variant: c = "small-primary" }) => /* @__PURE__ */ v.jsxs(v.Fragme
|
|
|
3167
3179
|
] }) })
|
|
3168
3180
|
] });
|
|
3169
3181
|
Pn.propTypes = {
|
|
3170
|
-
variant:
|
|
3182
|
+
variant: D.string
|
|
3171
3183
|
};
|
|
3172
|
-
const kn = ({ options:
|
|
3173
|
-
"
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
/* @__PURE__ */ v.jsxs(
|
|
3180
|
-
"div",
|
|
3184
|
+
const kn = ({ title: u = "", required: p = !1, options: M, styleSelectContainer: w, styleTitle: I, styleSelect: C, lineUp: N = !1, rowGap: O = 4, columnGap: k = 20, placeholder: L = "Не выбрано", value: g, isOpen: j, isClearable: U, onChange: A, onOpen: G }) => {
|
|
3185
|
+
const P = (V) => typeof V == "number" ? `${V}px` : String(V);
|
|
3186
|
+
return /* @__PURE__ */ v.jsxs(
|
|
3187
|
+
"div",
|
|
3188
|
+
{
|
|
3189
|
+
className: "u-react-select-container",
|
|
3190
|
+
style: Object.assign(
|
|
3181
3191
|
{
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3192
|
+
display: "flex",
|
|
3193
|
+
flexDirection: N ? "row" : "column",
|
|
3194
|
+
rowGap: N ? null : P(O),
|
|
3195
|
+
columnGap: N ? P(k) : null
|
|
3196
|
+
},
|
|
3197
|
+
w
|
|
3198
|
+
),
|
|
3199
|
+
children: [
|
|
3200
|
+
u && /* @__PURE__ */ v.jsx(
|
|
3201
|
+
"div",
|
|
3202
|
+
{
|
|
3203
|
+
className: `${p && "u-required"} u-react-select-title`,
|
|
3204
|
+
style: Object.assign(
|
|
3205
|
+
{
|
|
3206
|
+
color: "#545454"
|
|
3207
|
+
},
|
|
3208
|
+
I
|
|
3209
|
+
),
|
|
3210
|
+
children: u
|
|
3211
|
+
}
|
|
3212
|
+
),
|
|
3213
|
+
/* @__PURE__ */ v.jsxs(
|
|
3214
|
+
"div",
|
|
3215
|
+
{
|
|
3216
|
+
className: "u-selectbox u-react-select",
|
|
3217
|
+
onBlur: () => G(!1),
|
|
3218
|
+
tabIndex: 0,
|
|
3219
|
+
style: Object.assign(
|
|
3188
3220
|
{
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3221
|
+
width: "100%"
|
|
3222
|
+
},
|
|
3223
|
+
C
|
|
3224
|
+
),
|
|
3225
|
+
children: [
|
|
3226
|
+
/* @__PURE__ */ v.jsxs(
|
|
3227
|
+
"div",
|
|
3228
|
+
{
|
|
3229
|
+
className: j ? "u-selectbox-select u-selectbox-select-open" : "u-selectbox-select",
|
|
3230
|
+
onClick: () => G(!j),
|
|
3231
|
+
children: [
|
|
3232
|
+
/* @__PURE__ */ v.jsx("span", { className: "u-selectbox-select-title", children: g == null ? void 0 : g.label }),
|
|
3233
|
+
(g == null ? void 0 : g.value) !== null && U ? /* @__PURE__ */ v.jsx(
|
|
3234
|
+
"i",
|
|
3235
|
+
{
|
|
3236
|
+
className: "u-selectbox-select-icon-cross",
|
|
3237
|
+
onClick: (V) => {
|
|
3238
|
+
V.stopPropagation(), A({ value: null, label: L }), G(!1);
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
) : /* @__PURE__ */ v.jsx(v.Fragment, {}),
|
|
3242
|
+
/* @__PURE__ */ v.jsx("i", { className: "u-selectbox-select-icon-arrow" })
|
|
3243
|
+
]
|
|
3192
3244
|
}
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
);
|
|
3245
|
+
),
|
|
3246
|
+
/* @__PURE__ */ v.jsx("div", { className: "u-selectbox-options", children: M.map((V, te) => /* @__PURE__ */ v.jsx("div", { className: "u-selectbox-option", onClick: (J) => {
|
|
3247
|
+
J.stopPropagation(), A(V), G(!1);
|
|
3248
|
+
}, children: V.label }, te)) })
|
|
3249
|
+
]
|
|
3250
|
+
}
|
|
3251
|
+
)
|
|
3252
|
+
]
|
|
3253
|
+
}
|
|
3254
|
+
);
|
|
3255
|
+
};
|
|
3205
3256
|
kn.propTypes = {
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3257
|
+
title: D.string,
|
|
3258
|
+
required: D.bool,
|
|
3259
|
+
lineUp: D.bool,
|
|
3260
|
+
rowGap: D.bool,
|
|
3261
|
+
columnGap: D.bool,
|
|
3262
|
+
styleSelectContainer: D.object,
|
|
3263
|
+
styleTitle: D.object,
|
|
3264
|
+
styleSelect: D.object,
|
|
3265
|
+
options: D.array,
|
|
3266
|
+
placeholder: D.string,
|
|
3267
|
+
value: D.object,
|
|
3268
|
+
onChange: D.func
|
|
3210
3269
|
};
|
|
3211
|
-
const An = ({ size:
|
|
3212
|
-
const
|
|
3213
|
-
switch (
|
|
3270
|
+
const An = ({ size: u = "medium", variant: p = "", children: M }) => {
|
|
3271
|
+
const w = (I) => {
|
|
3272
|
+
switch (I) {
|
|
3214
3273
|
case "warning":
|
|
3215
3274
|
return "u-status-warning";
|
|
3216
3275
|
case "info":
|
|
@@ -3227,16 +3286,16 @@ const An = ({ size: c = "medium", variant: p = "", children: F }) => {
|
|
|
3227
3286
|
return "u-status-prepared";
|
|
3228
3287
|
}
|
|
3229
3288
|
};
|
|
3230
|
-
return /* @__PURE__ */ v.jsx("div", { className: `u-status ${
|
|
3289
|
+
return /* @__PURE__ */ v.jsx("div", { className: `u-status ${u === "large" ? "u-status-large" : ""} ${w(p)}`, children: M });
|
|
3231
3290
|
};
|
|
3232
3291
|
An.propTypes = {
|
|
3233
|
-
children:
|
|
3234
|
-
variant:
|
|
3235
|
-
size:
|
|
3292
|
+
children: D.string,
|
|
3293
|
+
variant: D.string,
|
|
3294
|
+
size: D.string
|
|
3236
3295
|
};
|
|
3237
|
-
const $n = ({ data:
|
|
3238
|
-
const
|
|
3239
|
-
switch (
|
|
3296
|
+
const $n = ({ data: u, columns: p, borders: M = "horizontal", striped: w, linesNotActive: I, fixedHeader: C, tdStyle: N, thStyle: O, cellStyle: k, contentForEmptyTable: L = /* @__PURE__ */ v.jsx("p", { children: "Ничего не найдено" }) }) => {
|
|
3297
|
+
const g = (A) => `${A}px`, j = "auto", U = (A) => {
|
|
3298
|
+
switch (A) {
|
|
3240
3299
|
case "horizontal":
|
|
3241
3300
|
return "";
|
|
3242
3301
|
case "vertical":
|
|
@@ -3248,76 +3307,76 @@ const $n = ({ data: c, columns: p, borders: F = "horizontal", striped: E, linesN
|
|
|
3248
3307
|
return /* @__PURE__ */ v.jsx(
|
|
3249
3308
|
"div",
|
|
3250
3309
|
{
|
|
3251
|
-
className: `u-table${["horizontal", "vertical", "none"].includes(
|
|
3310
|
+
className: `u-table${["horizontal", "vertical", "none"].includes(M) ? U(M) : ""}${w ? " striped" : ""}${I ? " not-active-lines" : ""}${C ? " thead-fixed" : ""}`,
|
|
3252
3311
|
children: /* @__PURE__ */ v.jsxs("table", { className: "table", children: [
|
|
3253
3312
|
/* @__PURE__ */ v.jsx("thead", { children: /* @__PURE__ */ v.jsx("tr", { children: p.map(
|
|
3254
|
-
(
|
|
3313
|
+
(A, G) => /* @__PURE__ */ v.jsx(
|
|
3255
3314
|
"th",
|
|
3256
3315
|
{
|
|
3257
|
-
className: `${
|
|
3316
|
+
className: `${A.sticky ? "sticky" : ""}`,
|
|
3258
3317
|
style: Object.assign(
|
|
3259
3318
|
{
|
|
3260
|
-
left:
|
|
3319
|
+
left: A.leftForSticky ? g(A.leftForSticky) : ""
|
|
3261
3320
|
},
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3321
|
+
A.thStyle,
|
|
3322
|
+
A.cellStyle,
|
|
3323
|
+
O,
|
|
3324
|
+
k
|
|
3266
3325
|
),
|
|
3267
3326
|
children: /* @__PURE__ */ v.jsx(
|
|
3268
3327
|
"p",
|
|
3269
3328
|
{
|
|
3270
3329
|
style: {
|
|
3271
|
-
width:
|
|
3330
|
+
width: A.width ? g(A.width) : j
|
|
3272
3331
|
},
|
|
3273
|
-
children:
|
|
3332
|
+
children: A.title
|
|
3274
3333
|
}
|
|
3275
3334
|
)
|
|
3276
3335
|
},
|
|
3277
3336
|
G
|
|
3278
3337
|
)
|
|
3279
3338
|
) }) }),
|
|
3280
|
-
|
|
3281
|
-
(
|
|
3339
|
+
u.length !== 0 ? /* @__PURE__ */ v.jsx("tbody", { children: u == null ? void 0 : u.map((A, G) => /* @__PURE__ */ v.jsx("tr", { children: p == null ? void 0 : p.map(
|
|
3340
|
+
(P, V) => /* @__PURE__ */ v.jsx(
|
|
3282
3341
|
"td",
|
|
3283
3342
|
{
|
|
3284
|
-
className: `${
|
|
3343
|
+
className: `${P.sticky ? "sticky" : ""}`,
|
|
3285
3344
|
style: Object.assign(
|
|
3286
3345
|
{
|
|
3287
|
-
left:
|
|
3346
|
+
left: P.leftForSticky ? g(P.leftForSticky) : ""
|
|
3288
3347
|
},
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3348
|
+
P.tdStyle,
|
|
3349
|
+
P.cellStyle,
|
|
3350
|
+
N,
|
|
3351
|
+
k
|
|
3293
3352
|
),
|
|
3294
3353
|
children: /* @__PURE__ */ v.jsx(
|
|
3295
3354
|
"div",
|
|
3296
3355
|
{
|
|
3297
3356
|
style: {
|
|
3298
|
-
width:
|
|
3357
|
+
width: P.width ? g(P.width) : j
|
|
3299
3358
|
},
|
|
3300
|
-
children:
|
|
3359
|
+
children: P.render ? P.render(A) : A[P.field]
|
|
3301
3360
|
}
|
|
3302
3361
|
)
|
|
3303
3362
|
},
|
|
3304
|
-
|
|
3363
|
+
V
|
|
3305
3364
|
)
|
|
3306
|
-
) }, G)) }) : /* @__PURE__ */ v.jsx("tbody", { children: /* @__PURE__ */ v.jsx("tr", { children: /* @__PURE__ */ v.jsx("td", { children:
|
|
3365
|
+
) }, G)) }) : /* @__PURE__ */ v.jsx("tbody", { children: /* @__PURE__ */ v.jsx("tr", { children: /* @__PURE__ */ v.jsx("td", { children: L }) }) })
|
|
3307
3366
|
] })
|
|
3308
3367
|
}
|
|
3309
3368
|
);
|
|
3310
3369
|
};
|
|
3311
3370
|
$n.propTypes = {
|
|
3312
|
-
data:
|
|
3313
|
-
columns:
|
|
3314
|
-
verticalBorders:
|
|
3315
|
-
striped:
|
|
3316
|
-
linesNotActive:
|
|
3317
|
-
fixedHeader:
|
|
3318
|
-
tdStyle:
|
|
3319
|
-
thStyle:
|
|
3320
|
-
cellStyle:
|
|
3371
|
+
data: D.array,
|
|
3372
|
+
columns: D.array,
|
|
3373
|
+
verticalBorders: D.bool,
|
|
3374
|
+
striped: D.bool,
|
|
3375
|
+
linesNotActive: D.bool,
|
|
3376
|
+
fixedHeader: D.bool,
|
|
3377
|
+
tdStyle: D.object,
|
|
3378
|
+
thStyle: D.object,
|
|
3379
|
+
cellStyle: D.object
|
|
3321
3380
|
};
|
|
3322
3381
|
export {
|
|
3323
3382
|
Tn as Accordion,
|