@sakura-ui/forms 0.2.1 → 0.2.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +148 -44
- package/dist/index.es.js +2244 -708
- package/dist/types/components/Checkbox.d.ts +5 -3
- package/dist/types/components/Checkbox.d.ts.map +1 -1
- package/dist/types/components/FieldsetControl.d.ts +10 -8
- package/dist/types/components/FieldsetControl.d.ts.map +1 -1
- package/dist/types/components/FileInput.d.ts +5 -3
- package/dist/types/components/FileInput.d.ts.map +1 -1
- package/dist/types/components/Input.d.ts +5 -3
- package/dist/types/components/Input.d.ts.map +1 -1
- package/dist/types/components/LabelControl.d.ts +9 -7
- package/dist/types/components/LabelControl.d.ts.map +1 -1
- package/dist/types/components/Radio.d.ts +5 -3
- package/dist/types/components/Radio.d.ts.map +1 -1
- package/dist/types/components/Select.d.ts +5 -3
- package/dist/types/components/Select.d.ts.map +1 -1
- package/dist/types/components/Textarea.d.ts +4 -2
- package/dist/types/components/Textarea.d.ts.map +1 -1
- package/dist/types/components/controlled/CheckboxGroup.d.ts +12 -10
- package/dist/types/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/dist/types/components/controlled/RadioGroup.d.ts +13 -11
- package/dist/types/components/controlled/RadioGroup.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +8 -8
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/inputStyle.d.ts +1 -1
- package/dist/types/components/inputStyle.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +12 -9
- package/dist/types/utils/class.d.ts +0 -2
- package/dist/types/utils/class.d.ts.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import B from "react";
|
|
2
|
+
var Rr = { exports: {} }, er = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,25 +9,21 @@ var ae = { exports: {} }, L = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
|
|
23
|
-
if (o && o.defaultProps)
|
|
24
|
-
for (v in a = o.defaultProps, a)
|
|
25
|
-
d[v] === void 0 && (d[v] = a[v]);
|
|
26
|
-
return { $$typeof: h, type: o, key: j, ref: w, props: d, _owner: p.current };
|
|
12
|
+
var gt;
|
|
13
|
+
function Qt() {
|
|
14
|
+
if (gt) return er;
|
|
15
|
+
gt = 1;
|
|
16
|
+
var d = B, c = Symbol.for("react.element"), k = Symbol.for("react.fragment"), I = Object.prototype.hasOwnProperty, P = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function v(g, p, D) {
|
|
18
|
+
var E, x = {}, J = null, L = null;
|
|
19
|
+
D !== void 0 && (J = "" + D), p.key !== void 0 && (J = "" + p.key), p.ref !== void 0 && (L = p.ref);
|
|
20
|
+
for (E in p) I.call(p, E) && !C.hasOwnProperty(E) && (x[E] = p[E]);
|
|
21
|
+
if (g && g.defaultProps) for (E in p = g.defaultProps, p) x[E] === void 0 && (x[E] = p[E]);
|
|
22
|
+
return { $$typeof: c, type: g, key: J, ref: L, props: x, _owner: P.current };
|
|
27
23
|
}
|
|
28
|
-
return
|
|
24
|
+
return er.Fragment = k, er.jsx = v, er.jsxs = v, er;
|
|
29
25
|
}
|
|
30
|
-
var
|
|
26
|
+
var rr = {};
|
|
31
27
|
/**
|
|
32
28
|
* @license React
|
|
33
29
|
* react-jsx-runtime.development.js
|
|
@@ -37,91 +33,91 @@ var V = {};
|
|
|
37
33
|
* This source code is licensed under the MIT license found in the
|
|
38
34
|
* LICENSE file in the root directory of this source tree.
|
|
39
35
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
if (
|
|
36
|
+
var _t;
|
|
37
|
+
function en() {
|
|
38
|
+
return _t || (_t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var d = B, c = Symbol.for("react.element"), k = Symbol.for("react.portal"), I = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), J = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), ee = Symbol.iterator, qe = "@@iterator";
|
|
40
|
+
function ce(t) {
|
|
41
|
+
if (t === null || typeof t != "object")
|
|
46
42
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
43
|
+
var i = ee && t[ee] || t[qe];
|
|
44
|
+
return typeof i == "function" ? i : null;
|
|
49
45
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
46
|
+
var fe = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function Y(t) {
|
|
52
48
|
{
|
|
53
|
-
for (var
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
|
|
50
|
+
u[m - 1] = arguments[m];
|
|
51
|
+
xe("error", t, u);
|
|
56
52
|
}
|
|
57
53
|
}
|
|
58
|
-
function
|
|
54
|
+
function xe(t, i, u) {
|
|
59
55
|
{
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
56
|
+
var m = fe.ReactDebugCurrentFrame, N = m.getStackAddendum();
|
|
57
|
+
N !== "" && (i += "%s", u = u.concat([N]));
|
|
58
|
+
var A = u.map(function(j) {
|
|
59
|
+
return String(j);
|
|
64
60
|
});
|
|
65
|
-
|
|
61
|
+
A.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, A);
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof
|
|
64
|
+
var de = !1, X = !1, ie = !1, ye = !1, he = !1, Oe;
|
|
65
|
+
Oe = Symbol.for("react.module.reference");
|
|
66
|
+
function Pe(t) {
|
|
67
|
+
return !!(typeof t == "string" || typeof t == "function" || t === I || t === C || he || t === P || t === D || t === E || ye || t === L || de || X || ie || typeof t == "object" && t !== null && (t.$$typeof === J || t.$$typeof === x || t.$$typeof === v || t.$$typeof === g || t.$$typeof === p || // This needs to include all possible module reference object
|
|
72
68
|
// types supported by any Flight configuration anywhere since
|
|
73
69
|
// we don't know which Flight build this will end up being used
|
|
74
70
|
// with.
|
|
75
|
-
|
|
71
|
+
t.$$typeof === Oe || t.getModuleId !== void 0));
|
|
76
72
|
}
|
|
77
|
-
function Ge(
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
81
|
-
var
|
|
82
|
-
return
|
|
73
|
+
function Ge(t, i, u) {
|
|
74
|
+
var m = t.displayName;
|
|
75
|
+
if (m)
|
|
76
|
+
return m;
|
|
77
|
+
var N = i.displayName || i.name || "";
|
|
78
|
+
return N !== "" ? u + "(" + N + ")" : u;
|
|
83
79
|
}
|
|
84
|
-
function
|
|
85
|
-
return
|
|
80
|
+
function Te(t) {
|
|
81
|
+
return t.displayName || "Context";
|
|
86
82
|
}
|
|
87
|
-
function
|
|
88
|
-
if (
|
|
83
|
+
function oe(t) {
|
|
84
|
+
if (t == null)
|
|
89
85
|
return null;
|
|
90
|
-
if (typeof
|
|
91
|
-
return
|
|
92
|
-
if (typeof
|
|
93
|
-
return
|
|
94
|
-
switch (
|
|
95
|
-
case
|
|
86
|
+
if (typeof t.tag == "number" && Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
87
|
+
return t.displayName || t.name || null;
|
|
88
|
+
if (typeof t == "string")
|
|
89
|
+
return t;
|
|
90
|
+
switch (t) {
|
|
91
|
+
case I:
|
|
96
92
|
return "Fragment";
|
|
97
|
-
case
|
|
93
|
+
case k:
|
|
98
94
|
return "Portal";
|
|
99
|
-
case
|
|
95
|
+
case C:
|
|
100
96
|
return "Profiler";
|
|
101
|
-
case
|
|
97
|
+
case P:
|
|
102
98
|
return "StrictMode";
|
|
103
|
-
case
|
|
99
|
+
case D:
|
|
104
100
|
return "Suspense";
|
|
105
|
-
case
|
|
101
|
+
case E:
|
|
106
102
|
return "SuspenseList";
|
|
107
103
|
}
|
|
108
|
-
if (typeof
|
|
109
|
-
switch (
|
|
110
|
-
case
|
|
111
|
-
var
|
|
112
|
-
return
|
|
113
|
-
case
|
|
114
|
-
var
|
|
115
|
-
return
|
|
116
|
-
case
|
|
117
|
-
return Ge(
|
|
118
|
-
case
|
|
119
|
-
var
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
var
|
|
104
|
+
if (typeof t == "object")
|
|
105
|
+
switch (t.$$typeof) {
|
|
106
|
+
case g:
|
|
107
|
+
var i = t;
|
|
108
|
+
return Te(i) + ".Consumer";
|
|
109
|
+
case v:
|
|
110
|
+
var u = t;
|
|
111
|
+
return Te(u._context) + ".Provider";
|
|
112
|
+
case p:
|
|
113
|
+
return Ge(t, t.render, "ForwardRef");
|
|
114
|
+
case x:
|
|
115
|
+
var m = t.displayName || null;
|
|
116
|
+
return m !== null ? m : oe(t.type) || "Memo";
|
|
117
|
+
case J: {
|
|
118
|
+
var N = t, A = N._payload, j = N._init;
|
|
123
119
|
try {
|
|
124
|
-
return
|
|
120
|
+
return oe(j(A));
|
|
125
121
|
} catch {
|
|
126
122
|
return null;
|
|
127
123
|
}
|
|
@@ -129,529 +125,2095 @@ function Er() {
|
|
|
129
125
|
}
|
|
130
126
|
return null;
|
|
131
127
|
}
|
|
132
|
-
var
|
|
133
|
-
function
|
|
128
|
+
var se = Object.assign, re = 0, pe, y, ve, Ie, be, n, s;
|
|
129
|
+
function S() {
|
|
134
130
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
131
|
+
S.__reactDisabledLog = !0;
|
|
132
|
+
function O() {
|
|
137
133
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
140
|
-
var
|
|
134
|
+
if (re === 0) {
|
|
135
|
+
pe = console.log, y = console.info, ve = console.warn, Ie = console.error, be = console.group, n = console.groupCollapsed, s = console.groupEnd;
|
|
136
|
+
var t = {
|
|
141
137
|
configurable: !0,
|
|
142
138
|
enumerable: !0,
|
|
143
|
-
value:
|
|
139
|
+
value: S,
|
|
144
140
|
writable: !0
|
|
145
141
|
};
|
|
146
142
|
Object.defineProperties(console, {
|
|
147
|
-
info:
|
|
148
|
-
log:
|
|
149
|
-
warn:
|
|
150
|
-
error:
|
|
151
|
-
group:
|
|
152
|
-
groupCollapsed:
|
|
153
|
-
groupEnd:
|
|
143
|
+
info: t,
|
|
144
|
+
log: t,
|
|
145
|
+
warn: t,
|
|
146
|
+
error: t,
|
|
147
|
+
group: t,
|
|
148
|
+
groupCollapsed: t,
|
|
149
|
+
groupEnd: t
|
|
154
150
|
});
|
|
155
151
|
}
|
|
156
|
-
|
|
152
|
+
re++;
|
|
157
153
|
}
|
|
158
154
|
}
|
|
159
|
-
function
|
|
155
|
+
function $() {
|
|
160
156
|
{
|
|
161
|
-
if (
|
|
162
|
-
var
|
|
157
|
+
if (re--, re === 0) {
|
|
158
|
+
var t = {
|
|
163
159
|
configurable: !0,
|
|
164
160
|
enumerable: !0,
|
|
165
161
|
writable: !0
|
|
166
162
|
};
|
|
167
163
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
169
|
-
value:
|
|
164
|
+
log: se({}, t, {
|
|
165
|
+
value: pe
|
|
170
166
|
}),
|
|
171
|
-
info:
|
|
172
|
-
value:
|
|
167
|
+
info: se({}, t, {
|
|
168
|
+
value: y
|
|
173
169
|
}),
|
|
174
|
-
warn:
|
|
175
|
-
value:
|
|
170
|
+
warn: se({}, t, {
|
|
171
|
+
value: ve
|
|
176
172
|
}),
|
|
177
|
-
error:
|
|
178
|
-
value:
|
|
173
|
+
error: se({}, t, {
|
|
174
|
+
value: Ie
|
|
179
175
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
176
|
+
group: se({}, t, {
|
|
177
|
+
value: be
|
|
182
178
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value:
|
|
179
|
+
groupCollapsed: se({}, t, {
|
|
180
|
+
value: n
|
|
185
181
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
182
|
+
groupEnd: se({}, t, {
|
|
183
|
+
value: s
|
|
188
184
|
})
|
|
189
185
|
});
|
|
190
186
|
}
|
|
191
|
-
|
|
187
|
+
re < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
188
|
}
|
|
193
189
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
190
|
+
var U = fe.ReactCurrentDispatcher, q;
|
|
191
|
+
function M(t, i, u) {
|
|
196
192
|
{
|
|
197
|
-
if (
|
|
193
|
+
if (q === void 0)
|
|
198
194
|
try {
|
|
199
195
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var
|
|
202
|
-
|
|
196
|
+
} catch (N) {
|
|
197
|
+
var m = N.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
q = m && m[1] || "";
|
|
203
199
|
}
|
|
204
200
|
return `
|
|
205
|
-
` +
|
|
201
|
+
` + q + t;
|
|
206
202
|
}
|
|
207
203
|
}
|
|
208
|
-
var
|
|
204
|
+
var F = !1, Z;
|
|
209
205
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
206
|
+
var Er = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
Z = new Er();
|
|
212
208
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!
|
|
209
|
+
function tr(t, i) {
|
|
210
|
+
if (!t || F)
|
|
215
211
|
return "";
|
|
216
212
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
213
|
+
var u = Z.get(t);
|
|
214
|
+
if (u !== void 0)
|
|
215
|
+
return u;
|
|
220
216
|
}
|
|
221
|
-
var
|
|
222
|
-
|
|
223
|
-
var
|
|
217
|
+
var m;
|
|
218
|
+
F = !0;
|
|
219
|
+
var N = Error.prepareStackTrace;
|
|
224
220
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
221
|
+
var A;
|
|
222
|
+
A = U.current, U.current = null, O();
|
|
227
223
|
try {
|
|
228
|
-
if (
|
|
229
|
-
var
|
|
224
|
+
if (i) {
|
|
225
|
+
var j = function() {
|
|
230
226
|
throw Error();
|
|
231
227
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
228
|
+
if (Object.defineProperty(j.prototype, "props", {
|
|
233
229
|
set: function() {
|
|
234
230
|
throw Error();
|
|
235
231
|
}
|
|
236
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
233
|
try {
|
|
238
|
-
Reflect.construct(
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
234
|
+
Reflect.construct(j, []);
|
|
235
|
+
} catch (ae) {
|
|
236
|
+
m = ae;
|
|
241
237
|
}
|
|
242
|
-
Reflect.construct(
|
|
238
|
+
Reflect.construct(t, [], j);
|
|
243
239
|
} else {
|
|
244
240
|
try {
|
|
245
|
-
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
241
|
+
j.call();
|
|
242
|
+
} catch (ae) {
|
|
243
|
+
m = ae;
|
|
248
244
|
}
|
|
249
|
-
|
|
245
|
+
t.call(j.prototype);
|
|
250
246
|
}
|
|
251
247
|
} else {
|
|
252
248
|
try {
|
|
253
249
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
|
|
250
|
+
} catch (ae) {
|
|
251
|
+
m = ae;
|
|
256
252
|
}
|
|
257
|
-
|
|
253
|
+
t();
|
|
258
254
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var
|
|
262
|
-
`),
|
|
263
|
-
`),
|
|
264
|
-
|
|
265
|
-
for (;
|
|
266
|
-
if (
|
|
267
|
-
if (
|
|
255
|
+
} catch (ae) {
|
|
256
|
+
if (ae && m && typeof ae.stack == "string") {
|
|
257
|
+
for (var R = ae.stack.split(`
|
|
258
|
+
`), te = m.stack.split(`
|
|
259
|
+
`), H = R.length - 1, K = te.length - 1; H >= 1 && K >= 0 && R[H] !== te[K]; )
|
|
260
|
+
K--;
|
|
261
|
+
for (; H >= 1 && K >= 0; H--, K--)
|
|
262
|
+
if (R[H] !== te[K]) {
|
|
263
|
+
if (H !== 1 || K !== 1)
|
|
268
264
|
do
|
|
269
|
-
if (
|
|
270
|
-
var
|
|
271
|
-
` +
|
|
272
|
-
return
|
|
265
|
+
if (H--, K--, K < 0 || R[H] !== te[K]) {
|
|
266
|
+
var ue = `
|
|
267
|
+
` + R[H].replace(" at new ", " at ");
|
|
268
|
+
return t.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", t.displayName)), typeof t == "function" && Z.set(t, ue), ue;
|
|
273
269
|
}
|
|
274
|
-
while (
|
|
270
|
+
while (H >= 1 && K >= 0);
|
|
275
271
|
break;
|
|
276
272
|
}
|
|
277
273
|
}
|
|
278
274
|
} finally {
|
|
279
|
-
|
|
275
|
+
F = !1, U.current = A, $(), Error.prepareStackTrace = N;
|
|
280
276
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof
|
|
277
|
+
var Ce = t ? t.displayName || t.name : "", _e = Ce ? M(Ce) : "";
|
|
278
|
+
return typeof t == "function" && Z.set(t, _e), _e;
|
|
283
279
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
280
|
+
function Ve(t, i, u) {
|
|
281
|
+
return tr(t, !1);
|
|
286
282
|
}
|
|
287
|
-
function
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
283
|
+
function Sr(t) {
|
|
284
|
+
var i = t.prototype;
|
|
285
|
+
return !!(i && i.isReactComponent);
|
|
290
286
|
}
|
|
291
|
-
function
|
|
292
|
-
if (
|
|
287
|
+
function Ue(t, i, u) {
|
|
288
|
+
if (t == null)
|
|
293
289
|
return "";
|
|
294
|
-
if (typeof
|
|
295
|
-
return
|
|
296
|
-
if (typeof
|
|
297
|
-
return
|
|
298
|
-
switch (
|
|
299
|
-
case
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
303
|
-
}
|
|
304
|
-
if (typeof
|
|
305
|
-
switch (
|
|
306
|
-
case
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var
|
|
290
|
+
if (typeof t == "function")
|
|
291
|
+
return tr(t, Sr(t));
|
|
292
|
+
if (typeof t == "string")
|
|
293
|
+
return M(t);
|
|
294
|
+
switch (t) {
|
|
295
|
+
case D:
|
|
296
|
+
return M("Suspense");
|
|
297
|
+
case E:
|
|
298
|
+
return M("SuspenseList");
|
|
299
|
+
}
|
|
300
|
+
if (typeof t == "object")
|
|
301
|
+
switch (t.$$typeof) {
|
|
302
|
+
case p:
|
|
303
|
+
return Ve(t.render);
|
|
304
|
+
case x:
|
|
305
|
+
return Ue(t.type, i, u);
|
|
306
|
+
case J: {
|
|
307
|
+
var m = t, N = m._payload, A = m._init;
|
|
312
308
|
try {
|
|
313
|
-
return
|
|
309
|
+
return Ue(A(N), i, u);
|
|
314
310
|
} catch {
|
|
315
311
|
}
|
|
316
312
|
}
|
|
317
313
|
}
|
|
318
314
|
return "";
|
|
319
315
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
322
|
-
if (
|
|
323
|
-
var
|
|
324
|
-
|
|
316
|
+
var Re = Object.prototype.hasOwnProperty, $e = {}, nr = fe.ReactDebugCurrentFrame;
|
|
317
|
+
function Ne(t) {
|
|
318
|
+
if (t) {
|
|
319
|
+
var i = t._owner, u = Ue(t.type, t._source, i ? i.type : null);
|
|
320
|
+
nr.setExtraStackFrame(u);
|
|
325
321
|
} else
|
|
326
|
-
|
|
322
|
+
nr.setExtraStackFrame(null);
|
|
327
323
|
}
|
|
328
|
-
function
|
|
324
|
+
function me(t, i, u, m, N) {
|
|
329
325
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
333
|
-
var
|
|
326
|
+
var A = Function.call.bind(Re);
|
|
327
|
+
for (var j in t)
|
|
328
|
+
if (A(t, j)) {
|
|
329
|
+
var R = void 0;
|
|
334
330
|
try {
|
|
335
|
-
if (typeof
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
331
|
+
if (typeof t[j] != "function") {
|
|
332
|
+
var te = Error((m || "React class") + ": " + u + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw te.name = "Invariant Violation", te;
|
|
338
334
|
}
|
|
339
|
-
|
|
340
|
-
} catch (
|
|
341
|
-
|
|
335
|
+
R = t[j](i, j, m, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (H) {
|
|
337
|
+
R = H;
|
|
342
338
|
}
|
|
343
|
-
|
|
339
|
+
R && !(R instanceof Error) && (Ne(N), Y("%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).", m || "React class", u, j, typeof R), Ne(null)), R instanceof Error && !(R.message in $e) && ($e[R.message] = !0, Ne(N), Y("Failed %s type: %s", u, R.message), Ne(null));
|
|
344
340
|
}
|
|
345
341
|
}
|
|
346
342
|
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
return
|
|
343
|
+
var De = Array.isArray;
|
|
344
|
+
function We(t) {
|
|
345
|
+
return De(t);
|
|
350
346
|
}
|
|
351
|
-
function
|
|
347
|
+
function or(t) {
|
|
352
348
|
{
|
|
353
|
-
var
|
|
354
|
-
return
|
|
349
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, u = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
350
|
+
return u;
|
|
355
351
|
}
|
|
356
352
|
}
|
|
357
|
-
function
|
|
353
|
+
function ar(t) {
|
|
358
354
|
try {
|
|
359
|
-
return
|
|
355
|
+
return ze(t), !1;
|
|
360
356
|
} catch {
|
|
361
357
|
return !0;
|
|
362
358
|
}
|
|
363
359
|
}
|
|
364
|
-
function
|
|
365
|
-
return "" +
|
|
360
|
+
function ze(t) {
|
|
361
|
+
return "" + t;
|
|
366
362
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return
|
|
363
|
+
function Je(t) {
|
|
364
|
+
if (ar(t))
|
|
365
|
+
return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", or(t)), ze(t);
|
|
370
366
|
}
|
|
371
|
-
var
|
|
367
|
+
var we = fe.ReactCurrentOwner, Cr = {
|
|
372
368
|
key: !0,
|
|
373
369
|
ref: !0,
|
|
374
370
|
__self: !0,
|
|
375
371
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
372
|
+
}, ir, sr, Fe;
|
|
373
|
+
Fe = {};
|
|
374
|
+
function jr(t) {
|
|
375
|
+
if (Re.call(t, "ref")) {
|
|
376
|
+
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
377
|
+
if (i && i.isReactWarning)
|
|
382
378
|
return !1;
|
|
383
379
|
}
|
|
384
|
-
return
|
|
380
|
+
return t.ref !== void 0;
|
|
385
381
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
382
|
+
function kr(t) {
|
|
383
|
+
if (Re.call(t, "key")) {
|
|
384
|
+
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
385
|
+
if (i && i.isReactWarning)
|
|
390
386
|
return !1;
|
|
391
387
|
}
|
|
392
|
-
return
|
|
388
|
+
return t.key !== void 0;
|
|
393
389
|
}
|
|
394
|
-
function
|
|
395
|
-
if (typeof
|
|
396
|
-
var
|
|
397
|
-
|
|
390
|
+
function Or(t, i) {
|
|
391
|
+
if (typeof t.ref == "string" && we.current && i && we.current.stateNode !== i) {
|
|
392
|
+
var u = oe(we.current.type);
|
|
393
|
+
Fe[u] || (Y('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', oe(we.current.type), t.ref), Fe[u] = !0);
|
|
398
394
|
}
|
|
399
395
|
}
|
|
400
|
-
function
|
|
396
|
+
function Ee(t, i) {
|
|
401
397
|
{
|
|
402
|
-
var
|
|
403
|
-
|
|
398
|
+
var u = function() {
|
|
399
|
+
ir || (ir = !0, Y("%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)", i));
|
|
404
400
|
};
|
|
405
|
-
|
|
406
|
-
get:
|
|
401
|
+
u.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
402
|
+
get: u,
|
|
407
403
|
configurable: !0
|
|
408
404
|
});
|
|
409
405
|
}
|
|
410
406
|
}
|
|
411
|
-
function
|
|
407
|
+
function ur(t, i) {
|
|
412
408
|
{
|
|
413
|
-
var
|
|
414
|
-
|
|
409
|
+
var u = function() {
|
|
410
|
+
sr || (sr = !0, Y("%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)", i));
|
|
415
411
|
};
|
|
416
|
-
|
|
417
|
-
get:
|
|
412
|
+
u.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
413
|
+
get: u,
|
|
418
414
|
configurable: !0
|
|
419
415
|
});
|
|
420
416
|
}
|
|
421
417
|
}
|
|
422
|
-
var
|
|
423
|
-
var
|
|
418
|
+
var Pr = function(t, i, u, m, N, A, j) {
|
|
419
|
+
var R = {
|
|
424
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
421
|
+
$$typeof: c,
|
|
426
422
|
// Built-in properties that belong on the element
|
|
427
|
-
type:
|
|
428
|
-
key:
|
|
429
|
-
ref:
|
|
430
|
-
props:
|
|
423
|
+
type: t,
|
|
424
|
+
key: i,
|
|
425
|
+
ref: u,
|
|
426
|
+
props: j,
|
|
431
427
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
428
|
+
_owner: A
|
|
433
429
|
};
|
|
434
|
-
return
|
|
430
|
+
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
435
431
|
configurable: !1,
|
|
436
432
|
enumerable: !1,
|
|
437
433
|
writable: !0,
|
|
438
434
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(R, "_self", {
|
|
440
436
|
configurable: !1,
|
|
441
437
|
enumerable: !1,
|
|
442
438
|
writable: !1,
|
|
443
|
-
value:
|
|
444
|
-
}), Object.defineProperty(
|
|
439
|
+
value: m
|
|
440
|
+
}), Object.defineProperty(R, "_source", {
|
|
445
441
|
configurable: !1,
|
|
446
442
|
enumerable: !1,
|
|
447
443
|
writable: !1,
|
|
448
|
-
value:
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
444
|
+
value: N
|
|
445
|
+
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
450
446
|
};
|
|
451
|
-
function
|
|
447
|
+
function Tr(t, i, u, m, N) {
|
|
452
448
|
{
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
for (
|
|
456
|
-
|
|
457
|
-
if (
|
|
458
|
-
var
|
|
459
|
-
for (
|
|
460
|
-
|
|
449
|
+
var A, j = {}, R = null, te = null;
|
|
450
|
+
u !== void 0 && (Je(u), R = "" + u), kr(i) && (Je(i.key), R = "" + i.key), jr(i) && (te = i.ref, Or(i, N));
|
|
451
|
+
for (A in i)
|
|
452
|
+
Re.call(i, A) && !Cr.hasOwnProperty(A) && (j[A] = i[A]);
|
|
453
|
+
if (t && t.defaultProps) {
|
|
454
|
+
var H = t.defaultProps;
|
|
455
|
+
for (A in H)
|
|
456
|
+
j[A] === void 0 && (j[A] = H[A]);
|
|
461
457
|
}
|
|
462
|
-
if (
|
|
463
|
-
var
|
|
464
|
-
|
|
458
|
+
if (R || te) {
|
|
459
|
+
var K = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
460
|
+
R && Ee(j, K), te && ur(j, K);
|
|
465
461
|
}
|
|
466
|
-
return
|
|
462
|
+
return Pr(t, R, te, N, m, we.current, j);
|
|
467
463
|
}
|
|
468
464
|
}
|
|
469
|
-
var
|
|
470
|
-
function
|
|
471
|
-
if (
|
|
472
|
-
var
|
|
473
|
-
|
|
465
|
+
var Be = fe.ReactCurrentOwner, lr = fe.ReactDebugCurrentFrame;
|
|
466
|
+
function ge(t) {
|
|
467
|
+
if (t) {
|
|
468
|
+
var i = t._owner, u = Ue(t.type, t._source, i ? i.type : null);
|
|
469
|
+
lr.setExtraStackFrame(u);
|
|
474
470
|
} else
|
|
475
|
-
|
|
471
|
+
lr.setExtraStackFrame(null);
|
|
476
472
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
480
|
-
return typeof
|
|
473
|
+
var Ae;
|
|
474
|
+
Ae = !1;
|
|
475
|
+
function Se(t) {
|
|
476
|
+
return typeof t == "object" && t !== null && t.$$typeof === c;
|
|
481
477
|
}
|
|
482
|
-
function
|
|
478
|
+
function Me() {
|
|
483
479
|
{
|
|
484
|
-
if (
|
|
485
|
-
var
|
|
486
|
-
if (
|
|
480
|
+
if (Be.current) {
|
|
481
|
+
var t = oe(Be.current.type);
|
|
482
|
+
if (t)
|
|
487
483
|
return `
|
|
488
484
|
|
|
489
|
-
Check the render method of \`` +
|
|
485
|
+
Check the render method of \`` + t + "`.";
|
|
490
486
|
}
|
|
491
487
|
return "";
|
|
492
488
|
}
|
|
493
489
|
}
|
|
494
|
-
function
|
|
490
|
+
function Ir(t) {
|
|
495
491
|
return "";
|
|
496
492
|
}
|
|
497
|
-
var
|
|
498
|
-
function
|
|
493
|
+
var cr = {};
|
|
494
|
+
function $r(t) {
|
|
499
495
|
{
|
|
500
|
-
var
|
|
501
|
-
if (!
|
|
502
|
-
var
|
|
503
|
-
|
|
496
|
+
var i = Me();
|
|
497
|
+
if (!i) {
|
|
498
|
+
var u = typeof t == "string" ? t : t.displayName || t.name;
|
|
499
|
+
u && (i = `
|
|
504
500
|
|
|
505
|
-
Check the top-level render call using <` +
|
|
501
|
+
Check the top-level render call using <` + u + ">.");
|
|
506
502
|
}
|
|
507
|
-
return
|
|
503
|
+
return i;
|
|
508
504
|
}
|
|
509
505
|
}
|
|
510
|
-
function
|
|
506
|
+
function fr(t, i) {
|
|
511
507
|
{
|
|
512
|
-
if (!
|
|
508
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
513
509
|
return;
|
|
514
|
-
|
|
515
|
-
var
|
|
516
|
-
if (
|
|
510
|
+
t._store.validated = !0;
|
|
511
|
+
var u = $r(i);
|
|
512
|
+
if (cr[u])
|
|
517
513
|
return;
|
|
518
|
-
|
|
519
|
-
var
|
|
520
|
-
|
|
514
|
+
cr[u] = !0;
|
|
515
|
+
var m = "";
|
|
516
|
+
t && t._owner && t._owner !== Be.current && (m = " It was passed a child from " + oe(t._owner.type) + "."), ge(t), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, m), ge(null);
|
|
521
517
|
}
|
|
522
518
|
}
|
|
523
|
-
function
|
|
519
|
+
function dr(t, i) {
|
|
524
520
|
{
|
|
525
|
-
if (typeof
|
|
521
|
+
if (typeof t != "object")
|
|
526
522
|
return;
|
|
527
|
-
if (
|
|
528
|
-
for (var
|
|
529
|
-
var
|
|
530
|
-
|
|
523
|
+
if (We(t))
|
|
524
|
+
for (var u = 0; u < t.length; u++) {
|
|
525
|
+
var m = t[u];
|
|
526
|
+
Se(m) && fr(m, i);
|
|
531
527
|
}
|
|
532
|
-
else if (
|
|
533
|
-
|
|
534
|
-
else if (
|
|
535
|
-
var
|
|
536
|
-
if (typeof
|
|
537
|
-
for (var
|
|
538
|
-
|
|
528
|
+
else if (Se(t))
|
|
529
|
+
t._store && (t._store.validated = !0);
|
|
530
|
+
else if (t) {
|
|
531
|
+
var N = ce(t);
|
|
532
|
+
if (typeof N == "function" && N !== t.entries)
|
|
533
|
+
for (var A = N.call(t), j; !(j = A.next()).done; )
|
|
534
|
+
Se(j.value) && fr(j.value, i);
|
|
539
535
|
}
|
|
540
536
|
}
|
|
541
537
|
}
|
|
542
|
-
function
|
|
538
|
+
function Le(t) {
|
|
543
539
|
{
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
540
|
+
var i = t.type;
|
|
541
|
+
if (i == null || typeof i == "string")
|
|
546
542
|
return;
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
|
|
550
|
-
else if (typeof
|
|
543
|
+
var u;
|
|
544
|
+
if (typeof i == "function")
|
|
545
|
+
u = i.propTypes;
|
|
546
|
+
else if (typeof i == "object" && (i.$$typeof === p || // Note: Memo only checks outer props here.
|
|
551
547
|
// Inner props are checked in the reconciler.
|
|
552
|
-
|
|
553
|
-
|
|
548
|
+
i.$$typeof === x))
|
|
549
|
+
u = i.propTypes;
|
|
554
550
|
else
|
|
555
551
|
return;
|
|
556
|
-
if (
|
|
557
|
-
var
|
|
558
|
-
|
|
559
|
-
} else if (
|
|
560
|
-
|
|
561
|
-
var
|
|
562
|
-
|
|
552
|
+
if (u) {
|
|
553
|
+
var m = oe(i);
|
|
554
|
+
me(u, t.props, "prop", m, t);
|
|
555
|
+
} else if (i.PropTypes !== void 0 && !Ae) {
|
|
556
|
+
Ae = !0;
|
|
557
|
+
var N = oe(i);
|
|
558
|
+
Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
|
|
563
559
|
}
|
|
564
|
-
typeof
|
|
560
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
561
|
}
|
|
566
562
|
}
|
|
567
|
-
function
|
|
563
|
+
function Ke(t) {
|
|
568
564
|
{
|
|
569
|
-
for (var
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
|
|
565
|
+
for (var i = Object.keys(t.props), u = 0; u < i.length; u++) {
|
|
566
|
+
var m = i[u];
|
|
567
|
+
if (m !== "children" && m !== "key") {
|
|
568
|
+
ge(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), ge(null);
|
|
573
569
|
break;
|
|
574
570
|
}
|
|
575
571
|
}
|
|
576
|
-
|
|
572
|
+
t.ref !== null && (ge(t), Y("Invalid attribute `ref` supplied to `React.Fragment`."), ge(null));
|
|
577
573
|
}
|
|
578
574
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
575
|
+
var Xe = {};
|
|
576
|
+
function pr(t, i, u, m, N, A) {
|
|
581
577
|
{
|
|
582
|
-
var
|
|
583
|
-
if (!
|
|
584
|
-
var
|
|
585
|
-
(
|
|
586
|
-
var
|
|
587
|
-
|
|
588
|
-
var
|
|
589
|
-
|
|
578
|
+
var j = Pe(t);
|
|
579
|
+
if (!j) {
|
|
580
|
+
var R = "";
|
|
581
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
+
var te = Ir();
|
|
583
|
+
te ? R += te : R += Me();
|
|
584
|
+
var H;
|
|
585
|
+
t === null ? H = "null" : We(t) ? H = "array" : t !== void 0 && t.$$typeof === c ? (H = "<" + (oe(t.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : H = typeof t, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, R);
|
|
590
586
|
}
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
return
|
|
594
|
-
if (
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
597
|
-
if (
|
|
598
|
-
if (
|
|
599
|
-
for (var
|
|
600
|
-
|
|
601
|
-
Object.freeze && Object.freeze(
|
|
587
|
+
var K = Tr(t, i, u, N, A);
|
|
588
|
+
if (K == null)
|
|
589
|
+
return K;
|
|
590
|
+
if (j) {
|
|
591
|
+
var ue = i.children;
|
|
592
|
+
if (ue !== void 0)
|
|
593
|
+
if (m)
|
|
594
|
+
if (We(ue)) {
|
|
595
|
+
for (var Ce = 0; Ce < ue.length; Ce++)
|
|
596
|
+
dr(ue[Ce], t);
|
|
597
|
+
Object.freeze && Object.freeze(ue);
|
|
602
598
|
} else
|
|
603
|
-
|
|
599
|
+
Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
604
600
|
else
|
|
605
|
-
|
|
606
|
-
}
|
|
607
|
-
if (
|
|
608
|
-
var
|
|
609
|
-
return
|
|
610
|
-
}),
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
613
|
-
|
|
601
|
+
dr(ue, t);
|
|
602
|
+
}
|
|
603
|
+
if (Re.call(i, "key")) {
|
|
604
|
+
var _e = oe(t), ae = Object.keys(i).filter(function(Mr) {
|
|
605
|
+
return Mr !== "key";
|
|
606
|
+
}), Ze = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
+
if (!Xe[_e + Ze]) {
|
|
608
|
+
var Ar = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
+
Y(`A props object containing a "key" prop is being spread into JSX:
|
|
614
610
|
let props = %s;
|
|
615
611
|
<%s {...props} />
|
|
616
612
|
React keys must be passed directly to JSX without using spread:
|
|
617
613
|
let props = %s;
|
|
618
|
-
<%s key={someKey} {...props} />`,
|
|
614
|
+
<%s key={someKey} {...props} />`, Ze, _e, Ar, _e), Xe[_e + Ze] = !0;
|
|
619
615
|
}
|
|
620
616
|
}
|
|
621
|
-
return
|
|
617
|
+
return t === I ? Ke(K) : Le(K), K;
|
|
622
618
|
}
|
|
623
619
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
620
|
+
function Nr(t, i, u) {
|
|
621
|
+
return pr(t, i, u, !0);
|
|
622
|
+
}
|
|
623
|
+
function Dr(t, i, u) {
|
|
624
|
+
return pr(t, i, u, !1);
|
|
625
|
+
}
|
|
626
|
+
var Fr = Dr, yr = Nr;
|
|
627
|
+
rr.Fragment = I, rr.jsx = Fr, rr.jsxs = yr;
|
|
628
|
+
}()), rr;
|
|
629
|
+
}
|
|
630
|
+
var xt;
|
|
631
|
+
function rn() {
|
|
632
|
+
return xt || (xt = 1, process.env.NODE_ENV === "production" ? Rr.exports = Qt() : Rr.exports = en()), Rr.exports;
|
|
633
|
+
}
|
|
634
|
+
var b = rn();
|
|
635
|
+
const le = (...d) => d.filter(Boolean).join(" ");
|
|
636
|
+
var je;
|
|
637
|
+
((d) => {
|
|
638
|
+
d.clickable = `
|
|
639
|
+
px-2
|
|
640
|
+
min-h-[calc(44/16*1rem)]
|
|
641
|
+
border
|
|
642
|
+
border-transparent
|
|
643
|
+
rounded-lg
|
|
644
|
+
hover:bg-solid-grey-50
|
|
645
|
+
`, d.selected = `
|
|
646
|
+
rounded-full
|
|
647
|
+
bg-yellow-50
|
|
648
|
+
`;
|
|
649
|
+
const c = `
|
|
650
|
+
focus-visible:outline
|
|
651
|
+
focus-visible:outline-4
|
|
652
|
+
focus-visible:outline-black
|
|
653
|
+
focus-visible:ring-yellow-300
|
|
654
|
+
`;
|
|
655
|
+
d.focusRectCondensed = `
|
|
656
|
+
${c}
|
|
657
|
+
focus-visible:-outline-offset-4
|
|
658
|
+
focus-visible:ring-[calc(6/16*1rem)]
|
|
659
|
+
focus-visible:ring-inset
|
|
660
|
+
`, d.focusRectCondensedWithBg = `
|
|
661
|
+
${d.focusRectCondensed}
|
|
662
|
+
focus-visible:bg-yellow-300
|
|
663
|
+
`, d.focusRect = `
|
|
664
|
+
${c}
|
|
665
|
+
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
666
|
+
focus-visible:ring-[calc(2/16*1rem)]
|
|
667
|
+
`, d.focusRounded = `
|
|
668
|
+
${d.focusRect}
|
|
669
|
+
focus-visible:rounded
|
|
670
|
+
`, d.focusCard = `
|
|
671
|
+
${d.focusRect}
|
|
672
|
+
focus-visible:rounded-2xl
|
|
673
|
+
sm:focus-visible:rounded-3xl
|
|
674
|
+
`, d.focusRectWithBg = `
|
|
675
|
+
${d.focusRect}
|
|
676
|
+
focus-visible:bg-yellow-300
|
|
677
|
+
`, d.focusRoundedWithBg = `
|
|
678
|
+
${d.focusRectWithBg}
|
|
679
|
+
focus-visible:rounded
|
|
680
|
+
`, d.hoverUnderline = `
|
|
681
|
+
hover:underline
|
|
682
|
+
hover:underline-offset-[calc(3/16*1rem)]
|
|
683
|
+
`, d.underline = `
|
|
684
|
+
underline
|
|
685
|
+
underline-offset-[calc(3/16*1rem)]
|
|
686
|
+
hover:decoration-[calc(3/16*1rem)]
|
|
687
|
+
`, d.underlineNoDeco = `
|
|
688
|
+
underline
|
|
689
|
+
underline-offset-[calc(3/16*1rem)]
|
|
690
|
+
`, d.popover = `
|
|
691
|
+
min-w-fit
|
|
692
|
+
w-auto
|
|
693
|
+
py-2
|
|
694
|
+
bg-white
|
|
695
|
+
shadow-1
|
|
696
|
+
rounded-lg
|
|
697
|
+
border
|
|
698
|
+
border-solid-grey-420
|
|
699
|
+
has-[>:nth-child(7)]:rounded-r-none
|
|
700
|
+
`, d.popoverPositionBottomRight = `
|
|
701
|
+
absolute
|
|
702
|
+
top-11
|
|
703
|
+
right-0
|
|
704
|
+
`, d.popoverPositionBottomLeft = `
|
|
705
|
+
absolute
|
|
706
|
+
top-11
|
|
707
|
+
left-0
|
|
708
|
+
`, ((k) => {
|
|
709
|
+
k.focus = `
|
|
710
|
+
peer-focus-visible:outline
|
|
711
|
+
peer-focus-visible:outline-4
|
|
712
|
+
peer-focus-visible:outline-black
|
|
713
|
+
peer-focus-visible:ring-yellow-300
|
|
714
|
+
`, k.focusRect = `
|
|
715
|
+
${k.focus}
|
|
716
|
+
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
717
|
+
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
718
|
+
`;
|
|
719
|
+
})(d.Peer || (d.Peer = {}));
|
|
720
|
+
})(je || (je = {}));
|
|
721
|
+
var Hr = { exports: {} }, w = {};
|
|
722
|
+
/**
|
|
723
|
+
* @license React
|
|
724
|
+
* react.production.min.js
|
|
725
|
+
*
|
|
726
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
727
|
+
*
|
|
728
|
+
* This source code is licensed under the MIT license found in the
|
|
729
|
+
* LICENSE file in the root directory of this source tree.
|
|
730
|
+
*/
|
|
731
|
+
var Rt;
|
|
732
|
+
function tn() {
|
|
733
|
+
if (Rt) return w;
|
|
734
|
+
Rt = 1;
|
|
735
|
+
var d = Symbol.for("react.element"), c = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), D = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.iterator;
|
|
736
|
+
function J(n) {
|
|
737
|
+
return n === null || typeof n != "object" ? null : (n = x && n[x] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
738
|
+
}
|
|
739
|
+
var L = { isMounted: function() {
|
|
740
|
+
return !1;
|
|
741
|
+
}, enqueueForceUpdate: function() {
|
|
742
|
+
}, enqueueReplaceState: function() {
|
|
743
|
+
}, enqueueSetState: function() {
|
|
744
|
+
} }, ee = Object.assign, qe = {};
|
|
745
|
+
function ce(n, s, S) {
|
|
746
|
+
this.props = n, this.context = s, this.refs = qe, this.updater = S || L;
|
|
747
|
+
}
|
|
748
|
+
ce.prototype.isReactComponent = {}, ce.prototype.setState = function(n, s) {
|
|
749
|
+
if (typeof n != "object" && typeof n != "function" && n != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
750
|
+
this.updater.enqueueSetState(this, n, s, "setState");
|
|
751
|
+
}, ce.prototype.forceUpdate = function(n) {
|
|
752
|
+
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
|
753
|
+
};
|
|
754
|
+
function fe() {
|
|
755
|
+
}
|
|
756
|
+
fe.prototype = ce.prototype;
|
|
757
|
+
function Y(n, s, S) {
|
|
758
|
+
this.props = n, this.context = s, this.refs = qe, this.updater = S || L;
|
|
759
|
+
}
|
|
760
|
+
var xe = Y.prototype = new fe();
|
|
761
|
+
xe.constructor = Y, ee(xe, ce.prototype), xe.isPureReactComponent = !0;
|
|
762
|
+
var de = Array.isArray, X = Object.prototype.hasOwnProperty, ie = { current: null }, ye = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
763
|
+
function he(n, s, S) {
|
|
764
|
+
var O, $ = {}, U = null, q = null;
|
|
765
|
+
if (s != null) for (O in s.ref !== void 0 && (q = s.ref), s.key !== void 0 && (U = "" + s.key), s) X.call(s, O) && !ye.hasOwnProperty(O) && ($[O] = s[O]);
|
|
766
|
+
var M = arguments.length - 2;
|
|
767
|
+
if (M === 1) $.children = S;
|
|
768
|
+
else if (1 < M) {
|
|
769
|
+
for (var F = Array(M), Z = 0; Z < M; Z++) F[Z] = arguments[Z + 2];
|
|
770
|
+
$.children = F;
|
|
626
771
|
}
|
|
627
|
-
|
|
628
|
-
|
|
772
|
+
if (n && n.defaultProps) for (O in M = n.defaultProps, M) $[O] === void 0 && ($[O] = M[O]);
|
|
773
|
+
return { $$typeof: d, type: n, key: U, ref: q, props: $, _owner: ie.current };
|
|
774
|
+
}
|
|
775
|
+
function Oe(n, s) {
|
|
776
|
+
return { $$typeof: d, type: n.type, key: s, ref: n.ref, props: n.props, _owner: n._owner };
|
|
777
|
+
}
|
|
778
|
+
function Pe(n) {
|
|
779
|
+
return typeof n == "object" && n !== null && n.$$typeof === d;
|
|
780
|
+
}
|
|
781
|
+
function Ge(n) {
|
|
782
|
+
var s = { "=": "=0", ":": "=2" };
|
|
783
|
+
return "$" + n.replace(/[=:]/g, function(S) {
|
|
784
|
+
return s[S];
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
var Te = /\/+/g;
|
|
788
|
+
function oe(n, s) {
|
|
789
|
+
return typeof n == "object" && n !== null && n.key != null ? Ge("" + n.key) : s.toString(36);
|
|
790
|
+
}
|
|
791
|
+
function se(n, s, S, O, $) {
|
|
792
|
+
var U = typeof n;
|
|
793
|
+
(U === "undefined" || U === "boolean") && (n = null);
|
|
794
|
+
var q = !1;
|
|
795
|
+
if (n === null) q = !0;
|
|
796
|
+
else switch (U) {
|
|
797
|
+
case "string":
|
|
798
|
+
case "number":
|
|
799
|
+
q = !0;
|
|
800
|
+
break;
|
|
801
|
+
case "object":
|
|
802
|
+
switch (n.$$typeof) {
|
|
803
|
+
case d:
|
|
804
|
+
case c:
|
|
805
|
+
q = !0;
|
|
806
|
+
}
|
|
629
807
|
}
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
808
|
+
if (q) return q = n, $ = $(q), n = O === "" ? "." + oe(q, 0) : O, de($) ? (S = "", n != null && (S = n.replace(Te, "$&/") + "/"), se($, s, S, "", function(Z) {
|
|
809
|
+
return Z;
|
|
810
|
+
})) : $ != null && (Pe($) && ($ = Oe($, S + (!$.key || q && q.key === $.key ? "" : ("" + $.key).replace(Te, "$&/") + "/") + n)), s.push($)), 1;
|
|
811
|
+
if (q = 0, O = O === "" ? "." : O + ":", de(n)) for (var M = 0; M < n.length; M++) {
|
|
812
|
+
U = n[M];
|
|
813
|
+
var F = O + oe(U, M);
|
|
814
|
+
q += se(U, s, S, F, $);
|
|
815
|
+
}
|
|
816
|
+
else if (F = J(n), typeof F == "function") for (n = F.call(n), M = 0; !(U = n.next()).done; ) U = U.value, F = O + oe(U, M++), q += se(U, s, S, F, $);
|
|
817
|
+
else if (U === "object") throw s = String(n), Error("Objects are not valid as a React child (found: " + (s === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : s) + "). If you meant to render a collection of children, use an array instead.");
|
|
818
|
+
return q;
|
|
819
|
+
}
|
|
820
|
+
function re(n, s, S) {
|
|
821
|
+
if (n == null) return n;
|
|
822
|
+
var O = [], $ = 0;
|
|
823
|
+
return se(n, O, "", "", function(U) {
|
|
824
|
+
return s.call(S, U, $++);
|
|
825
|
+
}), O;
|
|
826
|
+
}
|
|
827
|
+
function pe(n) {
|
|
828
|
+
if (n._status === -1) {
|
|
829
|
+
var s = n._result;
|
|
830
|
+
s = s(), s.then(function(S) {
|
|
831
|
+
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = S);
|
|
832
|
+
}, function(S) {
|
|
833
|
+
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = S);
|
|
834
|
+
}), n._status === -1 && (n._status = 0, n._result = s);
|
|
835
|
+
}
|
|
836
|
+
if (n._status === 1) return n._result.default;
|
|
837
|
+
throw n._result;
|
|
838
|
+
}
|
|
839
|
+
var y = { current: null }, ve = { transition: null }, Ie = { ReactCurrentDispatcher: y, ReactCurrentBatchConfig: ve, ReactCurrentOwner: ie };
|
|
840
|
+
function be() {
|
|
841
|
+
throw Error("act(...) is not supported in production builds of React.");
|
|
842
|
+
}
|
|
843
|
+
return w.Children = { map: re, forEach: function(n, s, S) {
|
|
844
|
+
re(n, function() {
|
|
845
|
+
s.apply(this, arguments);
|
|
846
|
+
}, S);
|
|
847
|
+
}, count: function(n) {
|
|
848
|
+
var s = 0;
|
|
849
|
+
return re(n, function() {
|
|
850
|
+
s++;
|
|
851
|
+
}), s;
|
|
852
|
+
}, toArray: function(n) {
|
|
853
|
+
return re(n, function(s) {
|
|
854
|
+
return s;
|
|
855
|
+
}) || [];
|
|
856
|
+
}, only: function(n) {
|
|
857
|
+
if (!Pe(n)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
858
|
+
return n;
|
|
859
|
+
} }, w.Component = ce, w.Fragment = k, w.Profiler = P, w.PureComponent = Y, w.StrictMode = I, w.Suspense = p, w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ie, w.act = be, w.cloneElement = function(n, s, S) {
|
|
860
|
+
if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
|
861
|
+
var O = ee({}, n.props), $ = n.key, U = n.ref, q = n._owner;
|
|
862
|
+
if (s != null) {
|
|
863
|
+
if (s.ref !== void 0 && (U = s.ref, q = ie.current), s.key !== void 0 && ($ = "" + s.key), n.type && n.type.defaultProps) var M = n.type.defaultProps;
|
|
864
|
+
for (F in s) X.call(s, F) && !ye.hasOwnProperty(F) && (O[F] = s[F] === void 0 && M !== void 0 ? M[F] : s[F]);
|
|
865
|
+
}
|
|
866
|
+
var F = arguments.length - 2;
|
|
867
|
+
if (F === 1) O.children = S;
|
|
868
|
+
else if (1 < F) {
|
|
869
|
+
M = Array(F);
|
|
870
|
+
for (var Z = 0; Z < F; Z++) M[Z] = arguments[Z + 2];
|
|
871
|
+
O.children = M;
|
|
872
|
+
}
|
|
873
|
+
return { $$typeof: d, type: n.type, key: $, ref: U, props: O, _owner: q };
|
|
874
|
+
}, w.createContext = function(n) {
|
|
875
|
+
return n = { $$typeof: v, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: C, _context: n }, n.Consumer = n;
|
|
876
|
+
}, w.createElement = he, w.createFactory = function(n) {
|
|
877
|
+
var s = he.bind(null, n);
|
|
878
|
+
return s.type = n, s;
|
|
879
|
+
}, w.createRef = function() {
|
|
880
|
+
return { current: null };
|
|
881
|
+
}, w.forwardRef = function(n) {
|
|
882
|
+
return { $$typeof: g, render: n };
|
|
883
|
+
}, w.isValidElement = Pe, w.lazy = function(n) {
|
|
884
|
+
return { $$typeof: E, _payload: { _status: -1, _result: n }, _init: pe };
|
|
885
|
+
}, w.memo = function(n, s) {
|
|
886
|
+
return { $$typeof: D, type: n, compare: s === void 0 ? null : s };
|
|
887
|
+
}, w.startTransition = function(n) {
|
|
888
|
+
var s = ve.transition;
|
|
889
|
+
ve.transition = {};
|
|
890
|
+
try {
|
|
891
|
+
n();
|
|
892
|
+
} finally {
|
|
893
|
+
ve.transition = s;
|
|
894
|
+
}
|
|
895
|
+
}, w.unstable_act = be, w.useCallback = function(n, s) {
|
|
896
|
+
return y.current.useCallback(n, s);
|
|
897
|
+
}, w.useContext = function(n) {
|
|
898
|
+
return y.current.useContext(n);
|
|
899
|
+
}, w.useDebugValue = function() {
|
|
900
|
+
}, w.useDeferredValue = function(n) {
|
|
901
|
+
return y.current.useDeferredValue(n);
|
|
902
|
+
}, w.useEffect = function(n, s) {
|
|
903
|
+
return y.current.useEffect(n, s);
|
|
904
|
+
}, w.useId = function() {
|
|
905
|
+
return y.current.useId();
|
|
906
|
+
}, w.useImperativeHandle = function(n, s, S) {
|
|
907
|
+
return y.current.useImperativeHandle(n, s, S);
|
|
908
|
+
}, w.useInsertionEffect = function(n, s) {
|
|
909
|
+
return y.current.useInsertionEffect(n, s);
|
|
910
|
+
}, w.useLayoutEffect = function(n, s) {
|
|
911
|
+
return y.current.useLayoutEffect(n, s);
|
|
912
|
+
}, w.useMemo = function(n, s) {
|
|
913
|
+
return y.current.useMemo(n, s);
|
|
914
|
+
}, w.useReducer = function(n, s, S) {
|
|
915
|
+
return y.current.useReducer(n, s, S);
|
|
916
|
+
}, w.useRef = function(n) {
|
|
917
|
+
return y.current.useRef(n);
|
|
918
|
+
}, w.useState = function(n) {
|
|
919
|
+
return y.current.useState(n);
|
|
920
|
+
}, w.useSyncExternalStore = function(n, s, S) {
|
|
921
|
+
return y.current.useSyncExternalStore(n, s, S);
|
|
922
|
+
}, w.useTransition = function() {
|
|
923
|
+
return y.current.useTransition();
|
|
924
|
+
}, w.version = "18.3.1", w;
|
|
925
|
+
}
|
|
926
|
+
var wr = { exports: {} };
|
|
927
|
+
/**
|
|
928
|
+
* @license React
|
|
929
|
+
* react.development.js
|
|
930
|
+
*
|
|
931
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
932
|
+
*
|
|
933
|
+
* This source code is licensed under the MIT license found in the
|
|
934
|
+
* LICENSE file in the root directory of this source tree.
|
|
935
|
+
*/
|
|
936
|
+
wr.exports;
|
|
937
|
+
var wt;
|
|
938
|
+
function nn() {
|
|
939
|
+
return wt || (wt = 1, function(d, c) {
|
|
940
|
+
process.env.NODE_ENV !== "production" && function() {
|
|
941
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
942
|
+
var k = "18.3.1", I = Symbol.for("react.element"), P = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), D = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), ee = Symbol.for("react.lazy"), qe = Symbol.for("react.offscreen"), ce = Symbol.iterator, fe = "@@iterator";
|
|
943
|
+
function Y(e) {
|
|
944
|
+
if (e === null || typeof e != "object")
|
|
945
|
+
return null;
|
|
946
|
+
var r = ce && e[ce] || e[fe];
|
|
947
|
+
return typeof r == "function" ? r : null;
|
|
948
|
+
}
|
|
949
|
+
var xe = {
|
|
950
|
+
/**
|
|
951
|
+
* @internal
|
|
952
|
+
* @type {ReactComponent}
|
|
953
|
+
*/
|
|
954
|
+
current: null
|
|
955
|
+
}, de = {
|
|
956
|
+
transition: null
|
|
957
|
+
}, X = {
|
|
958
|
+
current: null,
|
|
959
|
+
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
960
|
+
isBatchingLegacy: !1,
|
|
961
|
+
didScheduleLegacyUpdate: !1
|
|
962
|
+
}, ie = {
|
|
963
|
+
/**
|
|
964
|
+
* @internal
|
|
965
|
+
* @type {ReactComponent}
|
|
966
|
+
*/
|
|
967
|
+
current: null
|
|
968
|
+
}, ye = {}, he = null;
|
|
969
|
+
function Oe(e) {
|
|
970
|
+
he = e;
|
|
971
|
+
}
|
|
972
|
+
ye.setExtraStackFrame = function(e) {
|
|
973
|
+
he = e;
|
|
974
|
+
}, ye.getCurrentStack = null, ye.getStackAddendum = function() {
|
|
975
|
+
var e = "";
|
|
976
|
+
he && (e += he);
|
|
977
|
+
var r = ye.getCurrentStack;
|
|
978
|
+
return r && (e += r() || ""), e;
|
|
979
|
+
};
|
|
980
|
+
var Pe = !1, Ge = !1, Te = !1, oe = !1, se = !1, re = {
|
|
981
|
+
ReactCurrentDispatcher: xe,
|
|
982
|
+
ReactCurrentBatchConfig: de,
|
|
983
|
+
ReactCurrentOwner: ie
|
|
984
|
+
};
|
|
985
|
+
re.ReactDebugCurrentFrame = ye, re.ReactCurrentActQueue = X;
|
|
986
|
+
function pe(e) {
|
|
987
|
+
{
|
|
988
|
+
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
989
|
+
o[a - 1] = arguments[a];
|
|
990
|
+
ve("warn", e, o);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
function y(e) {
|
|
994
|
+
{
|
|
995
|
+
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
996
|
+
o[a - 1] = arguments[a];
|
|
997
|
+
ve("error", e, o);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
function ve(e, r, o) {
|
|
1001
|
+
{
|
|
1002
|
+
var a = re.ReactDebugCurrentFrame, l = a.getStackAddendum();
|
|
1003
|
+
l !== "" && (r += "%s", o = o.concat([l]));
|
|
1004
|
+
var h = o.map(function(f) {
|
|
1005
|
+
return String(f);
|
|
1006
|
+
});
|
|
1007
|
+
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
var Ie = {};
|
|
1011
|
+
function be(e, r) {
|
|
1012
|
+
{
|
|
1013
|
+
var o = e.constructor, a = o && (o.displayName || o.name) || "ReactClass", l = a + "." + r;
|
|
1014
|
+
if (Ie[l])
|
|
1015
|
+
return;
|
|
1016
|
+
y("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, a), Ie[l] = !0;
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
var n = {
|
|
1020
|
+
/**
|
|
1021
|
+
* Checks whether or not this composite component is mounted.
|
|
1022
|
+
* @param {ReactClass} publicInstance The instance we want to test.
|
|
1023
|
+
* @return {boolean} True if mounted, false otherwise.
|
|
1024
|
+
* @protected
|
|
1025
|
+
* @final
|
|
1026
|
+
*/
|
|
1027
|
+
isMounted: function(e) {
|
|
1028
|
+
return !1;
|
|
1029
|
+
},
|
|
1030
|
+
/**
|
|
1031
|
+
* Forces an update. This should only be invoked when it is known with
|
|
1032
|
+
* certainty that we are **not** in a DOM transaction.
|
|
1033
|
+
*
|
|
1034
|
+
* You may want to call this when you know that some deeper aspect of the
|
|
1035
|
+
* component's state has changed but `setState` was not called.
|
|
1036
|
+
*
|
|
1037
|
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
1038
|
+
* `componentWillUpdate` and `componentDidUpdate`.
|
|
1039
|
+
*
|
|
1040
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
1041
|
+
* @param {?function} callback Called after component is updated.
|
|
1042
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
1043
|
+
* @internal
|
|
1044
|
+
*/
|
|
1045
|
+
enqueueForceUpdate: function(e, r, o) {
|
|
1046
|
+
be(e, "forceUpdate");
|
|
1047
|
+
},
|
|
1048
|
+
/**
|
|
1049
|
+
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
1050
|
+
* You should treat `this.state` as immutable.
|
|
1051
|
+
*
|
|
1052
|
+
* There is no guarantee that `this.state` will be immediately updated, so
|
|
1053
|
+
* accessing `this.state` after calling this method may return the old value.
|
|
1054
|
+
*
|
|
1055
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
1056
|
+
* @param {object} completeState Next state.
|
|
1057
|
+
* @param {?function} callback Called after component is updated.
|
|
1058
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
1059
|
+
* @internal
|
|
1060
|
+
*/
|
|
1061
|
+
enqueueReplaceState: function(e, r, o, a) {
|
|
1062
|
+
be(e, "replaceState");
|
|
1063
|
+
},
|
|
1064
|
+
/**
|
|
1065
|
+
* Sets a subset of the state. This only exists because _pendingState is
|
|
1066
|
+
* internal. This provides a merging strategy that is not available to deep
|
|
1067
|
+
* properties which is confusing. TODO: Expose pendingState or don't use it
|
|
1068
|
+
* during the merge.
|
|
1069
|
+
*
|
|
1070
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
1071
|
+
* @param {object} partialState Next partial state to be merged with state.
|
|
1072
|
+
* @param {?function} callback Called after component is updated.
|
|
1073
|
+
* @param {?string} Name of the calling function in the public API.
|
|
1074
|
+
* @internal
|
|
1075
|
+
*/
|
|
1076
|
+
enqueueSetState: function(e, r, o, a) {
|
|
1077
|
+
be(e, "setState");
|
|
1078
|
+
}
|
|
1079
|
+
}, s = Object.assign, S = {};
|
|
1080
|
+
Object.freeze(S);
|
|
1081
|
+
function O(e, r, o) {
|
|
1082
|
+
this.props = e, this.context = r, this.refs = S, this.updater = o || n;
|
|
1083
|
+
}
|
|
1084
|
+
O.prototype.isReactComponent = {}, O.prototype.setState = function(e, r) {
|
|
1085
|
+
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
1086
|
+
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
1087
|
+
this.updater.enqueueSetState(this, e, r, "setState");
|
|
1088
|
+
}, O.prototype.forceUpdate = function(e) {
|
|
1089
|
+
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
1090
|
+
};
|
|
1091
|
+
{
|
|
1092
|
+
var $ = {
|
|
1093
|
+
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
1094
|
+
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
1095
|
+
}, U = function(e, r) {
|
|
1096
|
+
Object.defineProperty(O.prototype, e, {
|
|
1097
|
+
get: function() {
|
|
1098
|
+
pe("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
1099
|
+
}
|
|
1100
|
+
});
|
|
1101
|
+
};
|
|
1102
|
+
for (var q in $)
|
|
1103
|
+
$.hasOwnProperty(q) && U(q, $[q]);
|
|
1104
|
+
}
|
|
1105
|
+
function M() {
|
|
1106
|
+
}
|
|
1107
|
+
M.prototype = O.prototype;
|
|
1108
|
+
function F(e, r, o) {
|
|
1109
|
+
this.props = e, this.context = r, this.refs = S, this.updater = o || n;
|
|
1110
|
+
}
|
|
1111
|
+
var Z = F.prototype = new M();
|
|
1112
|
+
Z.constructor = F, s(Z, O.prototype), Z.isPureReactComponent = !0;
|
|
1113
|
+
function Er() {
|
|
1114
|
+
var e = {
|
|
1115
|
+
current: null
|
|
1116
|
+
};
|
|
1117
|
+
return Object.seal(e), e;
|
|
1118
|
+
}
|
|
1119
|
+
var tr = Array.isArray;
|
|
1120
|
+
function Ve(e) {
|
|
1121
|
+
return tr(e);
|
|
1122
|
+
}
|
|
1123
|
+
function Sr(e) {
|
|
1124
|
+
{
|
|
1125
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1126
|
+
return o;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
function Ue(e) {
|
|
1130
|
+
try {
|
|
1131
|
+
return Re(e), !1;
|
|
1132
|
+
} catch {
|
|
1133
|
+
return !0;
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
function Re(e) {
|
|
1137
|
+
return "" + e;
|
|
1138
|
+
}
|
|
1139
|
+
function $e(e) {
|
|
1140
|
+
if (Ue(e))
|
|
1141
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sr(e)), Re(e);
|
|
1142
|
+
}
|
|
1143
|
+
function nr(e, r, o) {
|
|
1144
|
+
var a = e.displayName;
|
|
1145
|
+
if (a)
|
|
1146
|
+
return a;
|
|
1147
|
+
var l = r.displayName || r.name || "";
|
|
1148
|
+
return l !== "" ? o + "(" + l + ")" : o;
|
|
1149
|
+
}
|
|
1150
|
+
function Ne(e) {
|
|
1151
|
+
return e.displayName || "Context";
|
|
1152
|
+
}
|
|
1153
|
+
function me(e) {
|
|
1154
|
+
if (e == null)
|
|
1155
|
+
return null;
|
|
1156
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
1157
|
+
return e.displayName || e.name || null;
|
|
1158
|
+
if (typeof e == "string")
|
|
1159
|
+
return e;
|
|
1160
|
+
switch (e) {
|
|
1161
|
+
case C:
|
|
1162
|
+
return "Fragment";
|
|
1163
|
+
case P:
|
|
1164
|
+
return "Portal";
|
|
1165
|
+
case g:
|
|
1166
|
+
return "Profiler";
|
|
1167
|
+
case v:
|
|
1168
|
+
return "StrictMode";
|
|
1169
|
+
case x:
|
|
1170
|
+
return "Suspense";
|
|
1171
|
+
case J:
|
|
1172
|
+
return "SuspenseList";
|
|
1173
|
+
}
|
|
1174
|
+
if (typeof e == "object")
|
|
1175
|
+
switch (e.$$typeof) {
|
|
1176
|
+
case D:
|
|
1177
|
+
var r = e;
|
|
1178
|
+
return Ne(r) + ".Consumer";
|
|
1179
|
+
case p:
|
|
1180
|
+
var o = e;
|
|
1181
|
+
return Ne(o._context) + ".Provider";
|
|
1182
|
+
case E:
|
|
1183
|
+
return nr(e, e.render, "ForwardRef");
|
|
1184
|
+
case L:
|
|
1185
|
+
var a = e.displayName || null;
|
|
1186
|
+
return a !== null ? a : me(e.type) || "Memo";
|
|
1187
|
+
case ee: {
|
|
1188
|
+
var l = e, h = l._payload, f = l._init;
|
|
1189
|
+
try {
|
|
1190
|
+
return me(f(h));
|
|
1191
|
+
} catch {
|
|
1192
|
+
return null;
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
return null;
|
|
1197
|
+
}
|
|
1198
|
+
var De = Object.prototype.hasOwnProperty, We = {
|
|
1199
|
+
key: !0,
|
|
1200
|
+
ref: !0,
|
|
1201
|
+
__self: !0,
|
|
1202
|
+
__source: !0
|
|
1203
|
+
}, or, ar, ze;
|
|
1204
|
+
ze = {};
|
|
1205
|
+
function Je(e) {
|
|
1206
|
+
if (De.call(e, "ref")) {
|
|
1207
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1208
|
+
if (r && r.isReactWarning)
|
|
1209
|
+
return !1;
|
|
1210
|
+
}
|
|
1211
|
+
return e.ref !== void 0;
|
|
1212
|
+
}
|
|
1213
|
+
function we(e) {
|
|
1214
|
+
if (De.call(e, "key")) {
|
|
1215
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1216
|
+
if (r && r.isReactWarning)
|
|
1217
|
+
return !1;
|
|
1218
|
+
}
|
|
1219
|
+
return e.key !== void 0;
|
|
1220
|
+
}
|
|
1221
|
+
function Cr(e, r) {
|
|
1222
|
+
var o = function() {
|
|
1223
|
+
or || (or = !0, y("%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));
|
|
1224
|
+
};
|
|
1225
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1226
|
+
get: o,
|
|
1227
|
+
configurable: !0
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
function ir(e, r) {
|
|
1231
|
+
var o = function() {
|
|
1232
|
+
ar || (ar = !0, y("%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));
|
|
1233
|
+
};
|
|
1234
|
+
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1235
|
+
get: o,
|
|
1236
|
+
configurable: !0
|
|
1237
|
+
});
|
|
1238
|
+
}
|
|
1239
|
+
function sr(e) {
|
|
1240
|
+
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
1241
|
+
var r = me(ie.current.type);
|
|
1242
|
+
ze[r] || (y('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), ze[r] = !0);
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
var Fe = function(e, r, o, a, l, h, f) {
|
|
1246
|
+
var _ = {
|
|
1247
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
1248
|
+
$$typeof: I,
|
|
1249
|
+
// Built-in properties that belong on the element
|
|
1250
|
+
type: e,
|
|
1251
|
+
key: r,
|
|
1252
|
+
ref: o,
|
|
1253
|
+
props: f,
|
|
1254
|
+
// Record the component responsible for creating this element.
|
|
1255
|
+
_owner: h
|
|
1256
|
+
};
|
|
1257
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1258
|
+
configurable: !1,
|
|
1259
|
+
enumerable: !1,
|
|
1260
|
+
writable: !0,
|
|
1261
|
+
value: !1
|
|
1262
|
+
}), Object.defineProperty(_, "_self", {
|
|
1263
|
+
configurable: !1,
|
|
1264
|
+
enumerable: !1,
|
|
1265
|
+
writable: !1,
|
|
1266
|
+
value: a
|
|
1267
|
+
}), Object.defineProperty(_, "_source", {
|
|
1268
|
+
configurable: !1,
|
|
1269
|
+
enumerable: !1,
|
|
1270
|
+
writable: !1,
|
|
1271
|
+
value: l
|
|
1272
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1273
|
+
};
|
|
1274
|
+
function jr(e, r, o) {
|
|
1275
|
+
var a, l = {}, h = null, f = null, _ = null, T = null;
|
|
1276
|
+
if (r != null) {
|
|
1277
|
+
Je(r) && (f = r.ref, sr(r)), we(r) && ($e(r.key), h = "" + r.key), _ = r.__self === void 0 ? null : r.__self, T = r.__source === void 0 ? null : r.__source;
|
|
1278
|
+
for (a in r)
|
|
1279
|
+
De.call(r, a) && !We.hasOwnProperty(a) && (l[a] = r[a]);
|
|
1280
|
+
}
|
|
1281
|
+
var V = arguments.length - 2;
|
|
1282
|
+
if (V === 1)
|
|
1283
|
+
l.children = o;
|
|
1284
|
+
else if (V > 1) {
|
|
1285
|
+
for (var W = Array(V), z = 0; z < V; z++)
|
|
1286
|
+
W[z] = arguments[z + 2];
|
|
1287
|
+
Object.freeze && Object.freeze(W), l.children = W;
|
|
1288
|
+
}
|
|
1289
|
+
if (e && e.defaultProps) {
|
|
1290
|
+
var G = e.defaultProps;
|
|
1291
|
+
for (a in G)
|
|
1292
|
+
l[a] === void 0 && (l[a] = G[a]);
|
|
1293
|
+
}
|
|
1294
|
+
if (h || f) {
|
|
1295
|
+
var Q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1296
|
+
h && Cr(l, Q), f && ir(l, Q);
|
|
1297
|
+
}
|
|
1298
|
+
return Fe(e, h, f, _, T, ie.current, l);
|
|
1299
|
+
}
|
|
1300
|
+
function kr(e, r) {
|
|
1301
|
+
var o = Fe(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
1302
|
+
return o;
|
|
1303
|
+
}
|
|
1304
|
+
function Or(e, r, o) {
|
|
1305
|
+
if (e == null)
|
|
1306
|
+
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
1307
|
+
var a, l = s({}, e.props), h = e.key, f = e.ref, _ = e._self, T = e._source, V = e._owner;
|
|
1308
|
+
if (r != null) {
|
|
1309
|
+
Je(r) && (f = r.ref, V = ie.current), we(r) && ($e(r.key), h = "" + r.key);
|
|
1310
|
+
var W;
|
|
1311
|
+
e.type && e.type.defaultProps && (W = e.type.defaultProps);
|
|
1312
|
+
for (a in r)
|
|
1313
|
+
De.call(r, a) && !We.hasOwnProperty(a) && (r[a] === void 0 && W !== void 0 ? l[a] = W[a] : l[a] = r[a]);
|
|
1314
|
+
}
|
|
1315
|
+
var z = arguments.length - 2;
|
|
1316
|
+
if (z === 1)
|
|
1317
|
+
l.children = o;
|
|
1318
|
+
else if (z > 1) {
|
|
1319
|
+
for (var G = Array(z), Q = 0; Q < z; Q++)
|
|
1320
|
+
G[Q] = arguments[Q + 2];
|
|
1321
|
+
l.children = G;
|
|
1322
|
+
}
|
|
1323
|
+
return Fe(e.type, h, f, _, T, V, l);
|
|
1324
|
+
}
|
|
1325
|
+
function Ee(e) {
|
|
1326
|
+
return typeof e == "object" && e !== null && e.$$typeof === I;
|
|
1327
|
+
}
|
|
1328
|
+
var ur = ".", Pr = ":";
|
|
1329
|
+
function Tr(e) {
|
|
1330
|
+
var r = /[=:]/g, o = {
|
|
1331
|
+
"=": "=0",
|
|
1332
|
+
":": "=2"
|
|
1333
|
+
}, a = e.replace(r, function(l) {
|
|
1334
|
+
return o[l];
|
|
1335
|
+
});
|
|
1336
|
+
return "$" + a;
|
|
1337
|
+
}
|
|
1338
|
+
var Be = !1, lr = /\/+/g;
|
|
1339
|
+
function ge(e) {
|
|
1340
|
+
return e.replace(lr, "$&/");
|
|
1341
|
+
}
|
|
1342
|
+
function Ae(e, r) {
|
|
1343
|
+
return typeof e == "object" && e !== null && e.key != null ? ($e(e.key), Tr("" + e.key)) : r.toString(36);
|
|
1344
|
+
}
|
|
1345
|
+
function Se(e, r, o, a, l) {
|
|
1346
|
+
var h = typeof e;
|
|
1347
|
+
(h === "undefined" || h === "boolean") && (e = null);
|
|
1348
|
+
var f = !1;
|
|
1349
|
+
if (e === null)
|
|
1350
|
+
f = !0;
|
|
1351
|
+
else
|
|
1352
|
+
switch (h) {
|
|
1353
|
+
case "string":
|
|
1354
|
+
case "number":
|
|
1355
|
+
f = !0;
|
|
1356
|
+
break;
|
|
1357
|
+
case "object":
|
|
1358
|
+
switch (e.$$typeof) {
|
|
1359
|
+
case I:
|
|
1360
|
+
case P:
|
|
1361
|
+
f = !0;
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
if (f) {
|
|
1365
|
+
var _ = e, T = l(_), V = a === "" ? ur + Ae(_, 0) : a;
|
|
1366
|
+
if (Ve(T)) {
|
|
1367
|
+
var W = "";
|
|
1368
|
+
V != null && (W = ge(V) + "/"), Se(T, r, W, "", function(Zt) {
|
|
1369
|
+
return Zt;
|
|
1370
|
+
});
|
|
1371
|
+
} else T != null && (Ee(T) && (T.key && (!_ || _.key !== T.key) && $e(T.key), T = kr(
|
|
1372
|
+
T,
|
|
1373
|
+
// Keep both the (mapped) and old keys if they differ, just as
|
|
1374
|
+
// traverseAllChildren used to do for objects as children
|
|
1375
|
+
o + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
1376
|
+
(T.key && (!_ || _.key !== T.key) ? (
|
|
1377
|
+
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
1378
|
+
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
1379
|
+
ge("" + T.key) + "/"
|
|
1380
|
+
) : "") + V
|
|
1381
|
+
)), r.push(T));
|
|
1382
|
+
return 1;
|
|
1383
|
+
}
|
|
1384
|
+
var z, G, Q = 0, ne = a === "" ? ur : a + Pr;
|
|
1385
|
+
if (Ve(e))
|
|
1386
|
+
for (var xr = 0; xr < e.length; xr++)
|
|
1387
|
+
z = e[xr], G = ne + Ae(z, xr), Q += Se(z, r, o, G, l);
|
|
1388
|
+
else {
|
|
1389
|
+
var Yr = Y(e);
|
|
1390
|
+
if (typeof Yr == "function") {
|
|
1391
|
+
var mt = e;
|
|
1392
|
+
Yr === mt.entries && (Be || pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Be = !0);
|
|
1393
|
+
for (var Kt = Yr.call(mt), ht, Xt = 0; !(ht = Kt.next()).done; )
|
|
1394
|
+
z = ht.value, G = ne + Ae(z, Xt++), Q += Se(z, r, o, G, l);
|
|
1395
|
+
} else if (h === "object") {
|
|
1396
|
+
var bt = String(e);
|
|
1397
|
+
throw new Error("Objects are not valid as a React child (found: " + (bt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : bt) + "). If you meant to render a collection of children, use an array instead.");
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
return Q;
|
|
1401
|
+
}
|
|
1402
|
+
function Me(e, r, o) {
|
|
1403
|
+
if (e == null)
|
|
1404
|
+
return e;
|
|
1405
|
+
var a = [], l = 0;
|
|
1406
|
+
return Se(e, a, "", "", function(h) {
|
|
1407
|
+
return r.call(o, h, l++);
|
|
1408
|
+
}), a;
|
|
1409
|
+
}
|
|
1410
|
+
function Ir(e) {
|
|
1411
|
+
var r = 0;
|
|
1412
|
+
return Me(e, function() {
|
|
1413
|
+
r++;
|
|
1414
|
+
}), r;
|
|
1415
|
+
}
|
|
1416
|
+
function cr(e, r, o) {
|
|
1417
|
+
Me(e, function() {
|
|
1418
|
+
r.apply(this, arguments);
|
|
1419
|
+
}, o);
|
|
1420
|
+
}
|
|
1421
|
+
function $r(e) {
|
|
1422
|
+
return Me(e, function(r) {
|
|
1423
|
+
return r;
|
|
1424
|
+
}) || [];
|
|
1425
|
+
}
|
|
1426
|
+
function fr(e) {
|
|
1427
|
+
if (!Ee(e))
|
|
1428
|
+
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
1429
|
+
return e;
|
|
1430
|
+
}
|
|
1431
|
+
function dr(e) {
|
|
1432
|
+
var r = {
|
|
1433
|
+
$$typeof: D,
|
|
1434
|
+
// As a workaround to support multiple concurrent renderers, we categorize
|
|
1435
|
+
// some renderers as primary and others as secondary. We only expect
|
|
1436
|
+
// there to be two concurrent renderers at most: React Native (primary) and
|
|
1437
|
+
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
|
1438
|
+
// Secondary renderers store their context values on separate fields.
|
|
1439
|
+
_currentValue: e,
|
|
1440
|
+
_currentValue2: e,
|
|
1441
|
+
// Used to track how many concurrent renderers this context currently
|
|
1442
|
+
// supports within in a single renderer. Such as parallel server rendering.
|
|
1443
|
+
_threadCount: 0,
|
|
1444
|
+
// These are circular
|
|
1445
|
+
Provider: null,
|
|
1446
|
+
Consumer: null,
|
|
1447
|
+
// Add these to use same hidden class in VM as ServerContext
|
|
1448
|
+
_defaultValue: null,
|
|
1449
|
+
_globalName: null
|
|
1450
|
+
};
|
|
1451
|
+
r.Provider = {
|
|
1452
|
+
$$typeof: p,
|
|
1453
|
+
_context: r
|
|
1454
|
+
};
|
|
1455
|
+
var o = !1, a = !1, l = !1;
|
|
1456
|
+
{
|
|
1457
|
+
var h = {
|
|
1458
|
+
$$typeof: D,
|
|
1459
|
+
_context: r
|
|
1460
|
+
};
|
|
1461
|
+
Object.defineProperties(h, {
|
|
1462
|
+
Provider: {
|
|
1463
|
+
get: function() {
|
|
1464
|
+
return a || (a = !0, y("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;
|
|
1465
|
+
},
|
|
1466
|
+
set: function(f) {
|
|
1467
|
+
r.Provider = f;
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
_currentValue: {
|
|
1471
|
+
get: function() {
|
|
1472
|
+
return r._currentValue;
|
|
1473
|
+
},
|
|
1474
|
+
set: function(f) {
|
|
1475
|
+
r._currentValue = f;
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
_currentValue2: {
|
|
1479
|
+
get: function() {
|
|
1480
|
+
return r._currentValue2;
|
|
1481
|
+
},
|
|
1482
|
+
set: function(f) {
|
|
1483
|
+
r._currentValue2 = f;
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
_threadCount: {
|
|
1487
|
+
get: function() {
|
|
1488
|
+
return r._threadCount;
|
|
1489
|
+
},
|
|
1490
|
+
set: function(f) {
|
|
1491
|
+
r._threadCount = f;
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
Consumer: {
|
|
1495
|
+
get: function() {
|
|
1496
|
+
return o || (o = !0, y("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;
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
displayName: {
|
|
1500
|
+
get: function() {
|
|
1501
|
+
return r.displayName;
|
|
1502
|
+
},
|
|
1503
|
+
set: function(f) {
|
|
1504
|
+
l || (pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", f), l = !0);
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
}), r.Consumer = h;
|
|
1508
|
+
}
|
|
1509
|
+
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
1510
|
+
}
|
|
1511
|
+
var Le = -1, Ke = 0, Xe = 1, pr = 2;
|
|
1512
|
+
function Nr(e) {
|
|
1513
|
+
if (e._status === Le) {
|
|
1514
|
+
var r = e._result, o = r();
|
|
1515
|
+
if (o.then(function(h) {
|
|
1516
|
+
if (e._status === Ke || e._status === Le) {
|
|
1517
|
+
var f = e;
|
|
1518
|
+
f._status = Xe, f._result = h;
|
|
1519
|
+
}
|
|
1520
|
+
}, function(h) {
|
|
1521
|
+
if (e._status === Ke || e._status === Le) {
|
|
1522
|
+
var f = e;
|
|
1523
|
+
f._status = pr, f._result = h;
|
|
1524
|
+
}
|
|
1525
|
+
}), e._status === Le) {
|
|
1526
|
+
var a = e;
|
|
1527
|
+
a._status = Ke, a._result = o;
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
if (e._status === Xe) {
|
|
1531
|
+
var l = e._result;
|
|
1532
|
+
return l === void 0 && y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1533
|
+
|
|
1534
|
+
Your code should look like:
|
|
1535
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
1536
|
+
|
|
1537
|
+
Did you accidentally put curly braces around the import?`, l), "default" in l || y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1538
|
+
|
|
1539
|
+
Your code should look like:
|
|
1540
|
+
const MyComponent = lazy(() => import('./MyComponent'))`, l), l.default;
|
|
1541
|
+
} else
|
|
1542
|
+
throw e._result;
|
|
1543
|
+
}
|
|
1544
|
+
function Dr(e) {
|
|
1545
|
+
var r = {
|
|
1546
|
+
// We use these fields to store the result.
|
|
1547
|
+
_status: Le,
|
|
1548
|
+
_result: e
|
|
1549
|
+
}, o = {
|
|
1550
|
+
$$typeof: ee,
|
|
1551
|
+
_payload: r,
|
|
1552
|
+
_init: Nr
|
|
1553
|
+
};
|
|
1554
|
+
{
|
|
1555
|
+
var a, l;
|
|
1556
|
+
Object.defineProperties(o, {
|
|
1557
|
+
defaultProps: {
|
|
1558
|
+
configurable: !0,
|
|
1559
|
+
get: function() {
|
|
1560
|
+
return a;
|
|
1561
|
+
},
|
|
1562
|
+
set: function(h) {
|
|
1563
|
+
y("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."), a = h, Object.defineProperty(o, "defaultProps", {
|
|
1564
|
+
enumerable: !0
|
|
1565
|
+
});
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
propTypes: {
|
|
1569
|
+
configurable: !0,
|
|
1570
|
+
get: function() {
|
|
1571
|
+
return l;
|
|
1572
|
+
},
|
|
1573
|
+
set: function(h) {
|
|
1574
|
+
y("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), l = h, Object.defineProperty(o, "propTypes", {
|
|
1575
|
+
enumerable: !0
|
|
1576
|
+
});
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
return o;
|
|
1582
|
+
}
|
|
1583
|
+
function Fr(e) {
|
|
1584
|
+
e != null && e.$$typeof === L ? y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? y("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && y("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) && y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
1585
|
+
var r = {
|
|
1586
|
+
$$typeof: E,
|
|
1587
|
+
render: e
|
|
1588
|
+
};
|
|
1589
|
+
{
|
|
1590
|
+
var o;
|
|
1591
|
+
Object.defineProperty(r, "displayName", {
|
|
1592
|
+
enumerable: !1,
|
|
1593
|
+
configurable: !0,
|
|
1594
|
+
get: function() {
|
|
1595
|
+
return o;
|
|
1596
|
+
},
|
|
1597
|
+
set: function(a) {
|
|
1598
|
+
o = a, !e.name && !e.displayName && (e.displayName = a);
|
|
1599
|
+
}
|
|
1600
|
+
});
|
|
1601
|
+
}
|
|
1602
|
+
return r;
|
|
1603
|
+
}
|
|
1604
|
+
var yr;
|
|
1605
|
+
yr = Symbol.for("react.module.reference");
|
|
1606
|
+
function t(e) {
|
|
1607
|
+
return !!(typeof e == "string" || typeof e == "function" || e === C || e === g || se || e === v || e === x || e === J || oe || e === qe || Pe || Ge || Te || typeof e == "object" && e !== null && (e.$$typeof === ee || e.$$typeof === L || e.$$typeof === p || e.$$typeof === D || e.$$typeof === E || // This needs to include all possible module reference object
|
|
1608
|
+
// types supported by any Flight configuration anywhere since
|
|
1609
|
+
// we don't know which Flight build this will end up being used
|
|
1610
|
+
// with.
|
|
1611
|
+
e.$$typeof === yr || e.getModuleId !== void 0));
|
|
1612
|
+
}
|
|
1613
|
+
function i(e, r) {
|
|
1614
|
+
t(e) || y("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
1615
|
+
var o = {
|
|
1616
|
+
$$typeof: L,
|
|
1617
|
+
type: e,
|
|
1618
|
+
compare: r === void 0 ? null : r
|
|
1619
|
+
};
|
|
1620
|
+
{
|
|
1621
|
+
var a;
|
|
1622
|
+
Object.defineProperty(o, "displayName", {
|
|
1623
|
+
enumerable: !1,
|
|
1624
|
+
configurable: !0,
|
|
1625
|
+
get: function() {
|
|
1626
|
+
return a;
|
|
1627
|
+
},
|
|
1628
|
+
set: function(l) {
|
|
1629
|
+
a = l, !e.name && !e.displayName && (e.displayName = l);
|
|
1630
|
+
}
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
return o;
|
|
1634
|
+
}
|
|
1635
|
+
function u() {
|
|
1636
|
+
var e = xe.current;
|
|
1637
|
+
return e === null && y(`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:
|
|
1638
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
1639
|
+
2. You might be breaking the Rules of Hooks
|
|
1640
|
+
3. You might have more than one copy of React in the same app
|
|
1641
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
1642
|
+
}
|
|
1643
|
+
function m(e) {
|
|
1644
|
+
var r = u();
|
|
1645
|
+
if (e._context !== void 0) {
|
|
1646
|
+
var o = e._context;
|
|
1647
|
+
o.Consumer === e ? y("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : o.Provider === e && y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
1648
|
+
}
|
|
1649
|
+
return r.useContext(e);
|
|
1650
|
+
}
|
|
1651
|
+
function N(e) {
|
|
1652
|
+
var r = u();
|
|
1653
|
+
return r.useState(e);
|
|
1654
|
+
}
|
|
1655
|
+
function A(e, r, o) {
|
|
1656
|
+
var a = u();
|
|
1657
|
+
return a.useReducer(e, r, o);
|
|
1658
|
+
}
|
|
1659
|
+
function j(e) {
|
|
1660
|
+
var r = u();
|
|
1661
|
+
return r.useRef(e);
|
|
1662
|
+
}
|
|
1663
|
+
function R(e, r) {
|
|
1664
|
+
var o = u();
|
|
1665
|
+
return o.useEffect(e, r);
|
|
1666
|
+
}
|
|
1667
|
+
function te(e, r) {
|
|
1668
|
+
var o = u();
|
|
1669
|
+
return o.useInsertionEffect(e, r);
|
|
1670
|
+
}
|
|
1671
|
+
function H(e, r) {
|
|
1672
|
+
var o = u();
|
|
1673
|
+
return o.useLayoutEffect(e, r);
|
|
1674
|
+
}
|
|
1675
|
+
function K(e, r) {
|
|
1676
|
+
var o = u();
|
|
1677
|
+
return o.useCallback(e, r);
|
|
1678
|
+
}
|
|
1679
|
+
function ue(e, r) {
|
|
1680
|
+
var o = u();
|
|
1681
|
+
return o.useMemo(e, r);
|
|
1682
|
+
}
|
|
1683
|
+
function Ce(e, r, o) {
|
|
1684
|
+
var a = u();
|
|
1685
|
+
return a.useImperativeHandle(e, r, o);
|
|
1686
|
+
}
|
|
1687
|
+
function _e(e, r) {
|
|
1688
|
+
{
|
|
1689
|
+
var o = u();
|
|
1690
|
+
return o.useDebugValue(e, r);
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
function ae() {
|
|
1694
|
+
var e = u();
|
|
1695
|
+
return e.useTransition();
|
|
1696
|
+
}
|
|
1697
|
+
function Ze(e) {
|
|
1698
|
+
var r = u();
|
|
1699
|
+
return r.useDeferredValue(e);
|
|
1700
|
+
}
|
|
1701
|
+
function Ar() {
|
|
1702
|
+
var e = u();
|
|
1703
|
+
return e.useId();
|
|
1704
|
+
}
|
|
1705
|
+
function Mr(e, r, o) {
|
|
1706
|
+
var a = u();
|
|
1707
|
+
return a.useSyncExternalStore(e, r, o);
|
|
1708
|
+
}
|
|
1709
|
+
var Qe = 0, Jr, Kr, Xr, Zr, Qr, et, rt;
|
|
1710
|
+
function tt() {
|
|
1711
|
+
}
|
|
1712
|
+
tt.__reactDisabledLog = !0;
|
|
1713
|
+
function It() {
|
|
1714
|
+
{
|
|
1715
|
+
if (Qe === 0) {
|
|
1716
|
+
Jr = console.log, Kr = console.info, Xr = console.warn, Zr = console.error, Qr = console.group, et = console.groupCollapsed, rt = console.groupEnd;
|
|
1717
|
+
var e = {
|
|
1718
|
+
configurable: !0,
|
|
1719
|
+
enumerable: !0,
|
|
1720
|
+
value: tt,
|
|
1721
|
+
writable: !0
|
|
1722
|
+
};
|
|
1723
|
+
Object.defineProperties(console, {
|
|
1724
|
+
info: e,
|
|
1725
|
+
log: e,
|
|
1726
|
+
warn: e,
|
|
1727
|
+
error: e,
|
|
1728
|
+
group: e,
|
|
1729
|
+
groupCollapsed: e,
|
|
1730
|
+
groupEnd: e
|
|
1731
|
+
});
|
|
1732
|
+
}
|
|
1733
|
+
Qe++;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
function $t() {
|
|
1737
|
+
{
|
|
1738
|
+
if (Qe--, Qe === 0) {
|
|
1739
|
+
var e = {
|
|
1740
|
+
configurable: !0,
|
|
1741
|
+
enumerable: !0,
|
|
1742
|
+
writable: !0
|
|
1743
|
+
};
|
|
1744
|
+
Object.defineProperties(console, {
|
|
1745
|
+
log: s({}, e, {
|
|
1746
|
+
value: Jr
|
|
1747
|
+
}),
|
|
1748
|
+
info: s({}, e, {
|
|
1749
|
+
value: Kr
|
|
1750
|
+
}),
|
|
1751
|
+
warn: s({}, e, {
|
|
1752
|
+
value: Xr
|
|
1753
|
+
}),
|
|
1754
|
+
error: s({}, e, {
|
|
1755
|
+
value: Zr
|
|
1756
|
+
}),
|
|
1757
|
+
group: s({}, e, {
|
|
1758
|
+
value: Qr
|
|
1759
|
+
}),
|
|
1760
|
+
groupCollapsed: s({}, e, {
|
|
1761
|
+
value: et
|
|
1762
|
+
}),
|
|
1763
|
+
groupEnd: s({}, e, {
|
|
1764
|
+
value: rt
|
|
1765
|
+
})
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
Qe < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
var Lr = re.ReactCurrentDispatcher, qr;
|
|
1772
|
+
function vr(e, r, o) {
|
|
1773
|
+
{
|
|
1774
|
+
if (qr === void 0)
|
|
1775
|
+
try {
|
|
1776
|
+
throw Error();
|
|
1777
|
+
} catch (l) {
|
|
1778
|
+
var a = l.stack.trim().match(/\n( *(at )?)/);
|
|
1779
|
+
qr = a && a[1] || "";
|
|
1780
|
+
}
|
|
1781
|
+
return `
|
|
1782
|
+
` + qr + e;
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
var Vr = !1, mr;
|
|
1786
|
+
{
|
|
1787
|
+
var Nt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1788
|
+
mr = new Nt();
|
|
1789
|
+
}
|
|
1790
|
+
function nt(e, r) {
|
|
1791
|
+
if (!e || Vr)
|
|
1792
|
+
return "";
|
|
1793
|
+
{
|
|
1794
|
+
var o = mr.get(e);
|
|
1795
|
+
if (o !== void 0)
|
|
1796
|
+
return o;
|
|
1797
|
+
}
|
|
1798
|
+
var a;
|
|
1799
|
+
Vr = !0;
|
|
1800
|
+
var l = Error.prepareStackTrace;
|
|
1801
|
+
Error.prepareStackTrace = void 0;
|
|
1802
|
+
var h;
|
|
1803
|
+
h = Lr.current, Lr.current = null, It();
|
|
1804
|
+
try {
|
|
1805
|
+
if (r) {
|
|
1806
|
+
var f = function() {
|
|
1807
|
+
throw Error();
|
|
1808
|
+
};
|
|
1809
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
1810
|
+
set: function() {
|
|
1811
|
+
throw Error();
|
|
1812
|
+
}
|
|
1813
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1814
|
+
try {
|
|
1815
|
+
Reflect.construct(f, []);
|
|
1816
|
+
} catch (ne) {
|
|
1817
|
+
a = ne;
|
|
1818
|
+
}
|
|
1819
|
+
Reflect.construct(e, [], f);
|
|
1820
|
+
} else {
|
|
1821
|
+
try {
|
|
1822
|
+
f.call();
|
|
1823
|
+
} catch (ne) {
|
|
1824
|
+
a = ne;
|
|
1825
|
+
}
|
|
1826
|
+
e.call(f.prototype);
|
|
1827
|
+
}
|
|
1828
|
+
} else {
|
|
1829
|
+
try {
|
|
1830
|
+
throw Error();
|
|
1831
|
+
} catch (ne) {
|
|
1832
|
+
a = ne;
|
|
1833
|
+
}
|
|
1834
|
+
e();
|
|
1835
|
+
}
|
|
1836
|
+
} catch (ne) {
|
|
1837
|
+
if (ne && a && typeof ne.stack == "string") {
|
|
1838
|
+
for (var _ = ne.stack.split(`
|
|
1839
|
+
`), T = a.stack.split(`
|
|
1840
|
+
`), V = _.length - 1, W = T.length - 1; V >= 1 && W >= 0 && _[V] !== T[W]; )
|
|
1841
|
+
W--;
|
|
1842
|
+
for (; V >= 1 && W >= 0; V--, W--)
|
|
1843
|
+
if (_[V] !== T[W]) {
|
|
1844
|
+
if (V !== 1 || W !== 1)
|
|
1845
|
+
do
|
|
1846
|
+
if (V--, W--, W < 0 || _[V] !== T[W]) {
|
|
1847
|
+
var z = `
|
|
1848
|
+
` + _[V].replace(" at new ", " at ");
|
|
1849
|
+
return e.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", e.displayName)), typeof e == "function" && mr.set(e, z), z;
|
|
1850
|
+
}
|
|
1851
|
+
while (V >= 1 && W >= 0);
|
|
1852
|
+
break;
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
} finally {
|
|
1856
|
+
Vr = !1, Lr.current = h, $t(), Error.prepareStackTrace = l;
|
|
1857
|
+
}
|
|
1858
|
+
var G = e ? e.displayName || e.name : "", Q = G ? vr(G) : "";
|
|
1859
|
+
return typeof e == "function" && mr.set(e, Q), Q;
|
|
1860
|
+
}
|
|
1861
|
+
function Dt(e, r, o) {
|
|
1862
|
+
return nt(e, !1);
|
|
1863
|
+
}
|
|
1864
|
+
function Ft(e) {
|
|
1865
|
+
var r = e.prototype;
|
|
1866
|
+
return !!(r && r.isReactComponent);
|
|
1867
|
+
}
|
|
1868
|
+
function hr(e, r, o) {
|
|
1869
|
+
if (e == null)
|
|
1870
|
+
return "";
|
|
1871
|
+
if (typeof e == "function")
|
|
1872
|
+
return nt(e, Ft(e));
|
|
1873
|
+
if (typeof e == "string")
|
|
1874
|
+
return vr(e);
|
|
1875
|
+
switch (e) {
|
|
1876
|
+
case x:
|
|
1877
|
+
return vr("Suspense");
|
|
1878
|
+
case J:
|
|
1879
|
+
return vr("SuspenseList");
|
|
1880
|
+
}
|
|
1881
|
+
if (typeof e == "object")
|
|
1882
|
+
switch (e.$$typeof) {
|
|
1883
|
+
case E:
|
|
1884
|
+
return Dt(e.render);
|
|
1885
|
+
case L:
|
|
1886
|
+
return hr(e.type, r, o);
|
|
1887
|
+
case ee: {
|
|
1888
|
+
var a = e, l = a._payload, h = a._init;
|
|
1889
|
+
try {
|
|
1890
|
+
return hr(h(l), r, o);
|
|
1891
|
+
} catch {
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
return "";
|
|
1896
|
+
}
|
|
1897
|
+
var ot = {}, at = re.ReactDebugCurrentFrame;
|
|
1898
|
+
function br(e) {
|
|
1899
|
+
if (e) {
|
|
1900
|
+
var r = e._owner, o = hr(e.type, e._source, r ? r.type : null);
|
|
1901
|
+
at.setExtraStackFrame(o);
|
|
1902
|
+
} else
|
|
1903
|
+
at.setExtraStackFrame(null);
|
|
1904
|
+
}
|
|
1905
|
+
function At(e, r, o, a, l) {
|
|
1906
|
+
{
|
|
1907
|
+
var h = Function.call.bind(De);
|
|
1908
|
+
for (var f in e)
|
|
1909
|
+
if (h(e, f)) {
|
|
1910
|
+
var _ = void 0;
|
|
1911
|
+
try {
|
|
1912
|
+
if (typeof e[f] != "function") {
|
|
1913
|
+
var T = Error((a || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1914
|
+
throw T.name = "Invariant Violation", T;
|
|
1915
|
+
}
|
|
1916
|
+
_ = e[f](r, f, a, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1917
|
+
} catch (V) {
|
|
1918
|
+
_ = V;
|
|
1919
|
+
}
|
|
1920
|
+
_ && !(_ instanceof Error) && (br(l), y("%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).", a || "React class", o, f, typeof _), br(null)), _ instanceof Error && !(_.message in ot) && (ot[_.message] = !0, br(l), y("Failed %s type: %s", o, _.message), br(null));
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
function Ye(e) {
|
|
1925
|
+
if (e) {
|
|
1926
|
+
var r = e._owner, o = hr(e.type, e._source, r ? r.type : null);
|
|
1927
|
+
Oe(o);
|
|
1928
|
+
} else
|
|
1929
|
+
Oe(null);
|
|
1930
|
+
}
|
|
1931
|
+
var Ur;
|
|
1932
|
+
Ur = !1;
|
|
1933
|
+
function it() {
|
|
1934
|
+
if (ie.current) {
|
|
1935
|
+
var e = me(ie.current.type);
|
|
1936
|
+
if (e)
|
|
1937
|
+
return `
|
|
1938
|
+
|
|
1939
|
+
Check the render method of \`` + e + "`.";
|
|
1940
|
+
}
|
|
1941
|
+
return "";
|
|
1942
|
+
}
|
|
1943
|
+
function Mt(e) {
|
|
1944
|
+
if (e !== void 0) {
|
|
1945
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
1946
|
+
return `
|
|
1947
|
+
|
|
1948
|
+
Check your code at ` + r + ":" + o + ".";
|
|
1949
|
+
}
|
|
1950
|
+
return "";
|
|
1951
|
+
}
|
|
1952
|
+
function Lt(e) {
|
|
1953
|
+
return e != null ? Mt(e.__source) : "";
|
|
1954
|
+
}
|
|
1955
|
+
var st = {};
|
|
1956
|
+
function qt(e) {
|
|
1957
|
+
var r = it();
|
|
1958
|
+
if (!r) {
|
|
1959
|
+
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1960
|
+
o && (r = `
|
|
1961
|
+
|
|
1962
|
+
Check the top-level render call using <` + o + ">.");
|
|
1963
|
+
}
|
|
1964
|
+
return r;
|
|
1965
|
+
}
|
|
1966
|
+
function ut(e, r) {
|
|
1967
|
+
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
1968
|
+
e._store.validated = !0;
|
|
1969
|
+
var o = qt(r);
|
|
1970
|
+
if (!st[o]) {
|
|
1971
|
+
st[o] = !0;
|
|
1972
|
+
var a = "";
|
|
1973
|
+
e && e._owner && e._owner !== ie.current && (a = " It was passed a child from " + me(e._owner.type) + "."), Ye(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, a), Ye(null);
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
function lt(e, r) {
|
|
1978
|
+
if (typeof e == "object") {
|
|
1979
|
+
if (Ve(e))
|
|
1980
|
+
for (var o = 0; o < e.length; o++) {
|
|
1981
|
+
var a = e[o];
|
|
1982
|
+
Ee(a) && ut(a, r);
|
|
1983
|
+
}
|
|
1984
|
+
else if (Ee(e))
|
|
1985
|
+
e._store && (e._store.validated = !0);
|
|
1986
|
+
else if (e) {
|
|
1987
|
+
var l = Y(e);
|
|
1988
|
+
if (typeof l == "function" && l !== e.entries)
|
|
1989
|
+
for (var h = l.call(e), f; !(f = h.next()).done; )
|
|
1990
|
+
Ee(f.value) && ut(f.value, r);
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
function ct(e) {
|
|
1995
|
+
{
|
|
1996
|
+
var r = e.type;
|
|
1997
|
+
if (r == null || typeof r == "string")
|
|
1998
|
+
return;
|
|
1999
|
+
var o;
|
|
2000
|
+
if (typeof r == "function")
|
|
2001
|
+
o = r.propTypes;
|
|
2002
|
+
else if (typeof r == "object" && (r.$$typeof === E || // Note: Memo only checks outer props here.
|
|
2003
|
+
// Inner props are checked in the reconciler.
|
|
2004
|
+
r.$$typeof === L))
|
|
2005
|
+
o = r.propTypes;
|
|
2006
|
+
else
|
|
2007
|
+
return;
|
|
2008
|
+
if (o) {
|
|
2009
|
+
var a = me(r);
|
|
2010
|
+
At(o, e.props, "prop", a, e);
|
|
2011
|
+
} else if (r.PropTypes !== void 0 && !Ur) {
|
|
2012
|
+
Ur = !0;
|
|
2013
|
+
var l = me(r);
|
|
2014
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
2015
|
+
}
|
|
2016
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
function Vt(e) {
|
|
2020
|
+
{
|
|
2021
|
+
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
2022
|
+
var a = r[o];
|
|
2023
|
+
if (a !== "children" && a !== "key") {
|
|
2024
|
+
Ye(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Ye(null);
|
|
2025
|
+
break;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
e.ref !== null && (Ye(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
function ft(e, r, o) {
|
|
2032
|
+
var a = t(e);
|
|
2033
|
+
if (!a) {
|
|
2034
|
+
var l = "";
|
|
2035
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2036
|
+
var h = Lt(r);
|
|
2037
|
+
h ? l += h : l += it();
|
|
2038
|
+
var f;
|
|
2039
|
+
e === null ? f = "null" : Ve(e) ? f = "array" : e !== void 0 && e.$$typeof === I ? (f = "<" + (me(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, l);
|
|
2040
|
+
}
|
|
2041
|
+
var _ = jr.apply(this, arguments);
|
|
2042
|
+
if (_ == null)
|
|
2043
|
+
return _;
|
|
2044
|
+
if (a)
|
|
2045
|
+
for (var T = 2; T < arguments.length; T++)
|
|
2046
|
+
lt(arguments[T], e);
|
|
2047
|
+
return e === C ? Vt(_) : ct(_), _;
|
|
2048
|
+
}
|
|
2049
|
+
var dt = !1;
|
|
2050
|
+
function Ut(e) {
|
|
2051
|
+
var r = ft.bind(null, e);
|
|
2052
|
+
return r.type = e, dt || (dt = !0, pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
|
|
2053
|
+
enumerable: !1,
|
|
2054
|
+
get: function() {
|
|
2055
|
+
return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
2056
|
+
value: e
|
|
2057
|
+
}), e;
|
|
2058
|
+
}
|
|
2059
|
+
}), r;
|
|
2060
|
+
}
|
|
2061
|
+
function Wt(e, r, o) {
|
|
2062
|
+
for (var a = Or.apply(this, arguments), l = 2; l < arguments.length; l++)
|
|
2063
|
+
lt(arguments[l], a.type);
|
|
2064
|
+
return ct(a), a;
|
|
2065
|
+
}
|
|
2066
|
+
function zt(e, r) {
|
|
2067
|
+
var o = de.transition;
|
|
2068
|
+
de.transition = {};
|
|
2069
|
+
var a = de.transition;
|
|
2070
|
+
de.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
2071
|
+
try {
|
|
2072
|
+
e();
|
|
2073
|
+
} finally {
|
|
2074
|
+
if (de.transition = o, o === null && a._updatedFibers) {
|
|
2075
|
+
var l = a._updatedFibers.size;
|
|
2076
|
+
l > 10 && pe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), a._updatedFibers.clear();
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
var pt = !1, gr = null;
|
|
2081
|
+
function Bt(e) {
|
|
2082
|
+
if (gr === null)
|
|
2083
|
+
try {
|
|
2084
|
+
var r = ("require" + Math.random()).slice(0, 7), o = d && d[r];
|
|
2085
|
+
gr = o.call(d, "timers").setImmediate;
|
|
2086
|
+
} catch {
|
|
2087
|
+
gr = function(a) {
|
|
2088
|
+
pt === !1 && (pt = !0, typeof MessageChannel > "u" && y("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."));
|
|
2089
|
+
var l = new MessageChannel();
|
|
2090
|
+
l.port1.onmessage = a, l.port2.postMessage(void 0);
|
|
2091
|
+
};
|
|
2092
|
+
}
|
|
2093
|
+
return gr(e);
|
|
2094
|
+
}
|
|
2095
|
+
var He = 0, yt = !1;
|
|
2096
|
+
function vt(e) {
|
|
2097
|
+
{
|
|
2098
|
+
var r = He;
|
|
2099
|
+
He++, X.current === null && (X.current = []);
|
|
2100
|
+
var o = X.isBatchingLegacy, a;
|
|
2101
|
+
try {
|
|
2102
|
+
if (X.isBatchingLegacy = !0, a = e(), !o && X.didScheduleLegacyUpdate) {
|
|
2103
|
+
var l = X.current;
|
|
2104
|
+
l !== null && (X.didScheduleLegacyUpdate = !1, Br(l));
|
|
2105
|
+
}
|
|
2106
|
+
} catch (G) {
|
|
2107
|
+
throw _r(r), G;
|
|
2108
|
+
} finally {
|
|
2109
|
+
X.isBatchingLegacy = o;
|
|
2110
|
+
}
|
|
2111
|
+
if (a !== null && typeof a == "object" && typeof a.then == "function") {
|
|
2112
|
+
var h = a, f = !1, _ = {
|
|
2113
|
+
then: function(G, Q) {
|
|
2114
|
+
f = !0, h.then(function(ne) {
|
|
2115
|
+
_r(r), He === 0 ? Wr(ne, G, Q) : G(ne);
|
|
2116
|
+
}, function(ne) {
|
|
2117
|
+
_r(r), Q(ne);
|
|
2118
|
+
});
|
|
2119
|
+
}
|
|
2120
|
+
};
|
|
2121
|
+
return !yt && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
2122
|
+
}).then(function() {
|
|
2123
|
+
f || (yt = !0, y("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 () => ...);"));
|
|
2124
|
+
}), _;
|
|
2125
|
+
} else {
|
|
2126
|
+
var T = a;
|
|
2127
|
+
if (_r(r), He === 0) {
|
|
2128
|
+
var V = X.current;
|
|
2129
|
+
V !== null && (Br(V), X.current = null);
|
|
2130
|
+
var W = {
|
|
2131
|
+
then: function(G, Q) {
|
|
2132
|
+
X.current === null ? (X.current = [], Wr(T, G, Q)) : G(T);
|
|
2133
|
+
}
|
|
2134
|
+
};
|
|
2135
|
+
return W;
|
|
2136
|
+
} else {
|
|
2137
|
+
var z = {
|
|
2138
|
+
then: function(G, Q) {
|
|
2139
|
+
G(T);
|
|
2140
|
+
}
|
|
2141
|
+
};
|
|
2142
|
+
return z;
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
function _r(e) {
|
|
2148
|
+
e !== He - 1 && y("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), He = e;
|
|
2149
|
+
}
|
|
2150
|
+
function Wr(e, r, o) {
|
|
2151
|
+
{
|
|
2152
|
+
var a = X.current;
|
|
2153
|
+
if (a !== null)
|
|
2154
|
+
try {
|
|
2155
|
+
Br(a), Bt(function() {
|
|
2156
|
+
a.length === 0 ? (X.current = null, r(e)) : Wr(e, r, o);
|
|
2157
|
+
});
|
|
2158
|
+
} catch (l) {
|
|
2159
|
+
o(l);
|
|
2160
|
+
}
|
|
2161
|
+
else
|
|
2162
|
+
r(e);
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
var zr = !1;
|
|
2166
|
+
function Br(e) {
|
|
2167
|
+
if (!zr) {
|
|
2168
|
+
zr = !0;
|
|
2169
|
+
var r = 0;
|
|
2170
|
+
try {
|
|
2171
|
+
for (; r < e.length; r++) {
|
|
2172
|
+
var o = e[r];
|
|
2173
|
+
do
|
|
2174
|
+
o = o(!0);
|
|
2175
|
+
while (o !== null);
|
|
2176
|
+
}
|
|
2177
|
+
e.length = 0;
|
|
2178
|
+
} catch (a) {
|
|
2179
|
+
throw e = e.slice(r + 1), a;
|
|
2180
|
+
} finally {
|
|
2181
|
+
zr = !1;
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
var Yt = ft, Ht = Wt, Gt = Ut, Jt = {
|
|
2186
|
+
map: Me,
|
|
2187
|
+
forEach: cr,
|
|
2188
|
+
count: Ir,
|
|
2189
|
+
toArray: $r,
|
|
2190
|
+
only: fr
|
|
2191
|
+
};
|
|
2192
|
+
c.Children = Jt, c.Component = O, c.Fragment = C, c.Profiler = g, c.PureComponent = F, c.StrictMode = v, c.Suspense = x, c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, c.act = vt, c.cloneElement = Ht, c.createContext = dr, c.createElement = Yt, c.createFactory = Gt, c.createRef = Er, c.forwardRef = Fr, c.isValidElement = Ee, c.lazy = Dr, c.memo = i, c.startTransition = zt, c.unstable_act = vt, c.useCallback = K, c.useContext = m, c.useDebugValue = _e, c.useDeferredValue = Ze, c.useEffect = R, c.useId = Ar, c.useImperativeHandle = Ce, c.useInsertionEffect = te, c.useLayoutEffect = H, c.useMemo = ue, c.useReducer = A, c.useRef = j, c.useState = N, c.useSyncExternalStore = Mr, c.useTransition = ae, c.version = k, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
2193
|
+
}();
|
|
2194
|
+
}(wr, wr.exports)), wr.exports;
|
|
2195
|
+
}
|
|
2196
|
+
var Et;
|
|
2197
|
+
function on() {
|
|
2198
|
+
return Et || (Et = 1, process.env.NODE_ENV === "production" ? Hr.exports = tn() : Hr.exports = nn()), Hr.exports;
|
|
633
2199
|
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
const C = (...b) => b.filter(Boolean).join(" "), O = R.createContext({
|
|
2200
|
+
on();
|
|
2201
|
+
const ke = B.createContext({
|
|
637
2202
|
helperTextId: "",
|
|
638
2203
|
errorMessageId: "",
|
|
639
2204
|
isInvalid: !1,
|
|
640
2205
|
isRequired: !1
|
|
641
|
-
}),
|
|
2206
|
+
}), St = `
|
|
642
2207
|
bg-white
|
|
643
2208
|
border
|
|
644
2209
|
border-solid
|
|
645
2210
|
border-sumi-900
|
|
646
|
-
outline-offset-2
|
|
647
|
-
focus:outline
|
|
648
|
-
focus:outline-2
|
|
649
|
-
focus:outline-wood-500
|
|
650
2211
|
disabled:bg-transparent
|
|
651
2212
|
disabled:text-sumi-500
|
|
652
2213
|
disabled:border-sumi-500
|
|
653
2214
|
aria-invalid:border-sun-800
|
|
654
|
-
|
|
2215
|
+
${je.focusRect}
|
|
2216
|
+
`, Ct = {
|
|
655
2217
|
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader * 2 = 56px
|
|
656
2218
|
lg: `
|
|
657
2219
|
p-4
|
|
@@ -675,13 +2237,13 @@ const C = (...b) => b.filter(Boolean).join(" "), O = R.createContext({
|
|
|
675
2237
|
rounded-md
|
|
676
2238
|
leading-snug
|
|
677
2239
|
`
|
|
678
|
-
},
|
|
2240
|
+
}, jt = `
|
|
679
2241
|
inline-block
|
|
680
2242
|
cursor-pointer
|
|
681
2243
|
border
|
|
682
2244
|
border-solid
|
|
683
2245
|
border-transparent
|
|
684
|
-
`,
|
|
2246
|
+
`, kt = {
|
|
685
2247
|
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader(transparent) * 2 = 56px
|
|
686
2248
|
lg: `
|
|
687
2249
|
pr-8
|
|
@@ -703,47 +2265,22 @@ const C = (...b) => b.filter(Boolean).join(" "), O = R.createContext({
|
|
|
703
2265
|
text-label
|
|
704
2266
|
leading-snug
|
|
705
2267
|
`
|
|
706
|
-
},
|
|
2268
|
+
}, Ot = {
|
|
707
2269
|
lg: "w-[22px] h-[22px] mr-2",
|
|
708
2270
|
md: "w-[18px] h-[18px] mr-1.5",
|
|
709
2271
|
sm: "w-[18px] h-[18px] mr-1"
|
|
710
|
-
},
|
|
711
|
-
(
|
|
712
|
-
const { id:
|
|
713
|
-
|
|
714
|
-
const
|
|
2272
|
+
}, Pt = B.forwardRef(
|
|
2273
|
+
(d, c) => {
|
|
2274
|
+
const { id: k, className: I, size: P = "lg", children: C, ...v } = d, g = k || B.useId(), p = B.useContext(ke);
|
|
2275
|
+
p.isRequired && (v.required = !0), p.groupName && (v.name = p.groupName);
|
|
2276
|
+
const D = {
|
|
715
2277
|
lg: 22 / 24,
|
|
716
2278
|
md: 18 / 24,
|
|
717
2279
|
sm: 18 / 24
|
|
718
|
-
}
|
|
719
|
-
return /* @__PURE__ */ s.jsx(
|
|
720
|
-
"label",
|
|
721
|
-
{
|
|
722
|
-
htmlFor: o,
|
|
723
|
-
className: C(
|
|
724
|
-
Oe,
|
|
725
|
-
Fe[p],
|
|
726
|
-
x
|
|
727
|
-
),
|
|
728
|
-
children: /* @__PURE__ */ s.jsxs("span", { className: "flex items-center", children: [
|
|
729
|
-
/* @__PURE__ */ s.jsx(
|
|
730
|
-
"input",
|
|
731
|
-
{
|
|
732
|
-
id: o,
|
|
733
|
-
className: `
|
|
2280
|
+
}, E = `
|
|
734
2281
|
peer
|
|
735
2282
|
sr-only
|
|
736
|
-
`,
|
|
737
|
-
type: "checkbox",
|
|
738
|
-
"aria-describedby": a.helperTextId,
|
|
739
|
-
"aria-errormessage": a.errorMessageId,
|
|
740
|
-
"aria-invalid": a.isInvalid ?? !1,
|
|
741
|
-
"aria-required": a.isRequired ?? !1,
|
|
742
|
-
...i,
|
|
743
|
-
ref: h
|
|
744
|
-
}
|
|
745
|
-
),
|
|
746
|
-
/* @__PURE__ */ s.jsx("span", { className: C(`
|
|
2283
|
+
`, x = `
|
|
747
2284
|
bg-clip-content
|
|
748
2285
|
rounded
|
|
749
2286
|
border
|
|
@@ -754,10 +2291,33 @@ const C = (...b) => b.filter(Boolean).join(" "), O = R.createContext({
|
|
|
754
2291
|
peer-checked:bg-sea-600
|
|
755
2292
|
peer-checked:border-none
|
|
756
2293
|
peer-disabled:border-sumi-500
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
2294
|
+
${je.Peer.focusRect}
|
|
2295
|
+
`;
|
|
2296
|
+
return /* @__PURE__ */ b.jsx(
|
|
2297
|
+
"label",
|
|
2298
|
+
{
|
|
2299
|
+
htmlFor: g,
|
|
2300
|
+
className: le(
|
|
2301
|
+
jt,
|
|
2302
|
+
kt[P],
|
|
2303
|
+
I
|
|
2304
|
+
),
|
|
2305
|
+
children: /* @__PURE__ */ b.jsxs("span", { className: "flex items-center", children: [
|
|
2306
|
+
/* @__PURE__ */ b.jsx(
|
|
2307
|
+
"input",
|
|
2308
|
+
{
|
|
2309
|
+
id: g,
|
|
2310
|
+
className: E,
|
|
2311
|
+
type: "checkbox",
|
|
2312
|
+
"aria-describedby": p.helperTextId,
|
|
2313
|
+
"aria-errormessage": p.errorMessageId,
|
|
2314
|
+
"aria-invalid": p.isInvalid ?? !1,
|
|
2315
|
+
"aria-required": p.isRequired ?? !1,
|
|
2316
|
+
...v,
|
|
2317
|
+
ref: c
|
|
2318
|
+
}
|
|
2319
|
+
),
|
|
2320
|
+
/* @__PURE__ */ b.jsx("span", { className: le(x, Ot[P]), children: /* @__PURE__ */ b.jsx(
|
|
761
2321
|
"svg",
|
|
762
2322
|
{
|
|
763
2323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -765,27 +2325,24 @@ const C = (...b) => b.filter(Boolean).join(" "), O = R.createContext({
|
|
|
765
2325
|
width: "24",
|
|
766
2326
|
height: "24",
|
|
767
2327
|
viewBox: "0 0 24 24",
|
|
768
|
-
children: [
|
|
769
|
-
/* @__PURE__ */ s.jsx("title", { children: "check" }),
|
|
770
|
-
/* @__PURE__ */ s.jsx("g", { transform: `scale(${y[p]} ${y[p]})`, children: /* @__PURE__ */ s.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
771
|
-
]
|
|
2328
|
+
children: /* @__PURE__ */ b.jsx("g", { transform: `scale(${D[P]} ${D[P]})`, children: /* @__PURE__ */ b.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
772
2329
|
}
|
|
773
2330
|
) }),
|
|
774
|
-
/* @__PURE__ */
|
|
2331
|
+
/* @__PURE__ */ b.jsx("span", { className: "peer-disabled:text-sumi-500", children: C })
|
|
775
2332
|
] })
|
|
776
2333
|
}
|
|
777
2334
|
);
|
|
778
2335
|
}
|
|
779
2336
|
);
|
|
780
|
-
|
|
781
|
-
const
|
|
782
|
-
(
|
|
783
|
-
const { id:
|
|
784
|
-
|
|
785
|
-
const
|
|
2337
|
+
Pt.displayName = "Checkbox";
|
|
2338
|
+
const Tt = B.forwardRef(
|
|
2339
|
+
(d, c) => {
|
|
2340
|
+
const { id: k, className: I, size: P = "lg", children: C, ...v } = d, g = k || B.useId(), p = B.useContext(ke);
|
|
2341
|
+
p.isRequired && (v.required = !0), p.groupName && (v.name = p.groupName);
|
|
2342
|
+
const D = `
|
|
786
2343
|
peer
|
|
787
2344
|
sr-only
|
|
788
|
-
`,
|
|
2345
|
+
`, E = `
|
|
789
2346
|
bg-clip-content
|
|
790
2347
|
rounded-full
|
|
791
2348
|
border
|
|
@@ -794,81 +2351,79 @@ const Ae = R.forwardRef(
|
|
|
794
2351
|
peer-checked:bg-sea-600
|
|
795
2352
|
peer-checked:border-sea-600
|
|
796
2353
|
peer-disabled:border-sumi-500
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
peer-focus-visible:ring-wood-500
|
|
800
|
-
`, d = {
|
|
2354
|
+
${je.Peer.focusRect}
|
|
2355
|
+
`, x = {
|
|
801
2356
|
lg: "p-1",
|
|
802
2357
|
md: "p-[3px]",
|
|
803
2358
|
sm: "p-[3px]"
|
|
804
2359
|
};
|
|
805
|
-
return /* @__PURE__ */
|
|
2360
|
+
return /* @__PURE__ */ b.jsx(
|
|
806
2361
|
"label",
|
|
807
2362
|
{
|
|
808
|
-
htmlFor:
|
|
809
|
-
className:
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
2363
|
+
htmlFor: g,
|
|
2364
|
+
className: le(
|
|
2365
|
+
jt,
|
|
2366
|
+
kt[P],
|
|
2367
|
+
I
|
|
813
2368
|
),
|
|
814
|
-
children: /* @__PURE__ */
|
|
815
|
-
/* @__PURE__ */
|
|
2369
|
+
children: /* @__PURE__ */ b.jsxs("span", { className: "flex items-center", children: [
|
|
2370
|
+
/* @__PURE__ */ b.jsx(
|
|
816
2371
|
"input",
|
|
817
2372
|
{
|
|
818
|
-
id:
|
|
819
|
-
className:
|
|
2373
|
+
id: g,
|
|
2374
|
+
className: D,
|
|
820
2375
|
type: "radio",
|
|
821
|
-
"aria-describedby":
|
|
822
|
-
"aria-errormessage":
|
|
823
|
-
"aria-invalid":
|
|
824
|
-
"aria-required":
|
|
825
|
-
...
|
|
826
|
-
ref:
|
|
2376
|
+
"aria-describedby": p.helperTextId,
|
|
2377
|
+
"aria-errormessage": p.errorMessageId,
|
|
2378
|
+
"aria-invalid": p.isInvalid ?? !1,
|
|
2379
|
+
"aria-required": p.isRequired ?? !1,
|
|
2380
|
+
...v,
|
|
2381
|
+
ref: c
|
|
827
2382
|
}
|
|
828
2383
|
),
|
|
829
|
-
/* @__PURE__ */
|
|
2384
|
+
/* @__PURE__ */ b.jsx(
|
|
830
2385
|
"span",
|
|
831
2386
|
{
|
|
832
2387
|
"aria-hidden": !0,
|
|
833
|
-
className:
|
|
2388
|
+
className: le(E, x[P], Ot[P])
|
|
834
2389
|
}
|
|
835
2390
|
),
|
|
836
|
-
/* @__PURE__ */
|
|
2391
|
+
/* @__PURE__ */ b.jsx("span", { className: "peer-disabled:text-sumi-500", children: C })
|
|
837
2392
|
] })
|
|
838
2393
|
}
|
|
839
2394
|
);
|
|
840
2395
|
}
|
|
841
2396
|
);
|
|
842
|
-
|
|
843
|
-
const
|
|
844
|
-
(
|
|
845
|
-
const { id:
|
|
846
|
-
return
|
|
847
|
-
/* @__PURE__ */
|
|
2397
|
+
Tt.displayName = "Radio";
|
|
2398
|
+
const pn = B.forwardRef(
|
|
2399
|
+
(d, c) => {
|
|
2400
|
+
const { id: k, className: I, size: P = "lg", children: C, ...v } = d, g = B.useContext(ke);
|
|
2401
|
+
return g.isRequired && (v.required = !0), /* @__PURE__ */ b.jsxs("div", { className: "inline-block relative", children: [
|
|
2402
|
+
/* @__PURE__ */ b.jsx(
|
|
848
2403
|
"select",
|
|
849
2404
|
{
|
|
850
|
-
id:
|
|
851
|
-
className:
|
|
2405
|
+
id: k || g.id,
|
|
2406
|
+
className: le(
|
|
852
2407
|
`
|
|
853
2408
|
!pr-8
|
|
854
2409
|
peer
|
|
855
2410
|
cursor-pointer
|
|
856
2411
|
appearance-none
|
|
857
2412
|
`,
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
2413
|
+
St,
|
|
2414
|
+
Ct[P],
|
|
2415
|
+
I
|
|
861
2416
|
),
|
|
862
|
-
"aria-describedby":
|
|
863
|
-
"aria-errormessage":
|
|
864
|
-
"aria-invalid":
|
|
865
|
-
"aria-required":
|
|
866
|
-
...
|
|
867
|
-
ref:
|
|
868
|
-
children:
|
|
2417
|
+
"aria-describedby": g.helperTextId,
|
|
2418
|
+
"aria-errormessage": g.errorMessageId,
|
|
2419
|
+
"aria-invalid": g.isInvalid ?? !1,
|
|
2420
|
+
"aria-required": g.isRequired ?? !1,
|
|
2421
|
+
...v,
|
|
2422
|
+
ref: c,
|
|
2423
|
+
children: C
|
|
869
2424
|
}
|
|
870
2425
|
),
|
|
871
|
-
/* @__PURE__ */
|
|
2426
|
+
/* @__PURE__ */ b.jsxs(
|
|
872
2427
|
"svg",
|
|
873
2428
|
{
|
|
874
2429
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -887,8 +2442,8 @@ const Pr = R.forwardRef(
|
|
|
887
2442
|
height: "16",
|
|
888
2443
|
viewBox: "0 0 16 16",
|
|
889
2444
|
children: [
|
|
890
|
-
/* @__PURE__ */
|
|
891
|
-
/* @__PURE__ */
|
|
2445
|
+
/* @__PURE__ */ b.jsx("title", { children: "arrow down" }),
|
|
2446
|
+
/* @__PURE__ */ b.jsx(
|
|
892
2447
|
"path",
|
|
893
2448
|
{
|
|
894
2449
|
d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
|
|
@@ -900,11 +2455,11 @@ const Pr = R.forwardRef(
|
|
|
900
2455
|
)
|
|
901
2456
|
] });
|
|
902
2457
|
}
|
|
903
|
-
),
|
|
904
|
-
(
|
|
905
|
-
const { id:
|
|
906
|
-
|
|
907
|
-
const
|
|
2458
|
+
), an = B.forwardRef(
|
|
2459
|
+
(d, c) => {
|
|
2460
|
+
const { id: k, className: I, size: P = "lg", ...C } = d, v = B.useContext(ke);
|
|
2461
|
+
v.isRequired && (C.required = !0);
|
|
2462
|
+
const g = `
|
|
908
2463
|
file:mr-2
|
|
909
2464
|
file:inline-block
|
|
910
2465
|
file:text-button
|
|
@@ -920,7 +2475,7 @@ const Pr = R.forwardRef(
|
|
|
920
2475
|
file:active:border-blue-1200
|
|
921
2476
|
file:disabled:border-sumi-500
|
|
922
2477
|
file:disabled:cursor-not-allowed
|
|
923
|
-
`,
|
|
2478
|
+
`, p = `
|
|
924
2479
|
file:text-sea-900
|
|
925
2480
|
file:hover:text-sea-1000
|
|
926
2481
|
file:active:text-sea-1200
|
|
@@ -929,16 +2484,15 @@ const Pr = R.forwardRef(
|
|
|
929
2484
|
file:active:bg-sea-300
|
|
930
2485
|
file:disabled:text-sumi-500
|
|
931
2486
|
file:disabled:bg-transparent
|
|
932
|
-
`,
|
|
2487
|
+
`, D = `
|
|
933
2488
|
text-label
|
|
934
2489
|
text-sumi-900
|
|
935
2490
|
rounded-lg
|
|
936
2491
|
outline-offset-2
|
|
937
|
-
focus:outline
|
|
938
|
-
focus:outline-2
|
|
939
|
-
focus:outline-wood-600
|
|
940
2492
|
aria-invalid:text-sun-800
|
|
941
|
-
|
|
2493
|
+
${je.hoverUnderline}
|
|
2494
|
+
${je.focusRounded}
|
|
2495
|
+
`, E = {
|
|
942
2496
|
// 16(p-4) * 2 + 22(text-button * leading-snug) + boader * 2 = 56px
|
|
943
2497
|
lg: `
|
|
944
2498
|
file:p-4
|
|
@@ -963,274 +2517,256 @@ const Pr = R.forwardRef(
|
|
|
963
2517
|
file:leading-snug
|
|
964
2518
|
`
|
|
965
2519
|
};
|
|
966
|
-
return /* @__PURE__ */
|
|
2520
|
+
return /* @__PURE__ */ b.jsx(
|
|
967
2521
|
"input",
|
|
968
2522
|
{
|
|
969
2523
|
type: "file",
|
|
970
|
-
id:
|
|
971
|
-
className:
|
|
972
|
-
"aria-describedby":
|
|
973
|
-
"aria-errormessage":
|
|
974
|
-
"aria-invalid":
|
|
975
|
-
"aria-required":
|
|
976
|
-
ref:
|
|
977
|
-
...
|
|
2524
|
+
id: k || v.id,
|
|
2525
|
+
className: le(g, p, E[P], D, I),
|
|
2526
|
+
"aria-describedby": v.helperTextId,
|
|
2527
|
+
"aria-errormessage": v.errorMessageId,
|
|
2528
|
+
"aria-invalid": v.isInvalid ?? !1,
|
|
2529
|
+
"aria-required": v.isRequired ?? !1,
|
|
2530
|
+
ref: c,
|
|
2531
|
+
...C
|
|
978
2532
|
}
|
|
979
2533
|
);
|
|
980
2534
|
}
|
|
981
2535
|
);
|
|
982
|
-
|
|
983
|
-
const
|
|
984
|
-
(
|
|
985
|
-
const { id:
|
|
986
|
-
return
|
|
2536
|
+
an.displayName = "FileInput";
|
|
2537
|
+
const sn = B.forwardRef(
|
|
2538
|
+
(d, c) => {
|
|
2539
|
+
const { id: k, className: I, size: P = "lg", ...C } = d, v = B.useContext(ke);
|
|
2540
|
+
return v.isRequired && (C.required = !0), /* @__PURE__ */ b.jsx(
|
|
987
2541
|
"input",
|
|
988
2542
|
{
|
|
989
2543
|
type: "text",
|
|
990
|
-
id:
|
|
991
|
-
className:
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
2544
|
+
id: k || v.id,
|
|
2545
|
+
className: le(
|
|
2546
|
+
St,
|
|
2547
|
+
Ct[P],
|
|
2548
|
+
I
|
|
995
2549
|
),
|
|
996
|
-
"aria-describedby":
|
|
997
|
-
"aria-errormessage":
|
|
998
|
-
"aria-invalid":
|
|
999
|
-
"aria-required":
|
|
1000
|
-
ref:
|
|
1001
|
-
...
|
|
2550
|
+
"aria-describedby": v.helperTextId,
|
|
2551
|
+
"aria-errormessage": v.errorMessageId,
|
|
2552
|
+
"aria-invalid": v.isInvalid ?? !1,
|
|
2553
|
+
"aria-required": v.isRequired ?? !1,
|
|
2554
|
+
ref: c,
|
|
2555
|
+
...C
|
|
1002
2556
|
}
|
|
1003
2557
|
);
|
|
1004
2558
|
}
|
|
1005
2559
|
);
|
|
1006
|
-
|
|
1007
|
-
const
|
|
1008
|
-
(
|
|
1009
|
-
const { id:
|
|
1010
|
-
|
|
1011
|
-
},
|
|
1012
|
-
|
|
1013
|
-
const
|
|
1014
|
-
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1015
|
-
/* @__PURE__ */ s.jsx(
|
|
1016
|
-
"textarea",
|
|
1017
|
-
{
|
|
1018
|
-
id: m || d.id,
|
|
1019
|
-
className: C(`
|
|
2560
|
+
sn.displayName = "Input";
|
|
2561
|
+
const un = B.forwardRef(
|
|
2562
|
+
(d, c) => {
|
|
2563
|
+
const { id: k, className: I, children: P, onChange: C, maxLength: v, ...g } = d, [p, D] = B.useState(0), E = (ee) => {
|
|
2564
|
+
C && C(ee), D(ee.target.value.length);
|
|
2565
|
+
}, x = B.useContext(ke);
|
|
2566
|
+
x.isRequired && (g.required = !0);
|
|
2567
|
+
const J = p > (v || 0) ? "text-sun-800" : "text-sumi-700", L = `
|
|
1020
2568
|
p-4
|
|
1021
2569
|
text-label
|
|
1022
2570
|
rounded-lg
|
|
1023
2571
|
border
|
|
1024
2572
|
border-solid
|
|
1025
2573
|
border-sumi-900
|
|
1026
|
-
outline-offset-2
|
|
1027
|
-
focus:outline
|
|
1028
|
-
focus:outline-2
|
|
1029
|
-
focus:outline-wood-500
|
|
1030
2574
|
disabled:bg-transparent
|
|
1031
2575
|
disabled:text-sumi-500
|
|
1032
2576
|
disabled:border-sumi-500
|
|
1033
2577
|
aria-invalid:border-sun-800
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
2578
|
+
${je.focusRect}
|
|
2579
|
+
`;
|
|
2580
|
+
return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|
|
2581
|
+
/* @__PURE__ */ b.jsx(
|
|
2582
|
+
"textarea",
|
|
2583
|
+
{
|
|
2584
|
+
id: k || x.id,
|
|
2585
|
+
className: le(L, I),
|
|
2586
|
+
"aria-describedby": x.helperTextId,
|
|
2587
|
+
"aria-errormessage": x.errorMessageId,
|
|
2588
|
+
"aria-invalid": x.isInvalid ?? !1,
|
|
2589
|
+
"aria-required": x.isRequired ?? !1,
|
|
2590
|
+
onChange: E,
|
|
2591
|
+
...g,
|
|
2592
|
+
ref: c,
|
|
2593
|
+
children: P
|
|
1043
2594
|
}
|
|
1044
2595
|
),
|
|
1045
|
-
|
|
1046
|
-
/* @__PURE__ */
|
|
2596
|
+
v ? /* @__PURE__ */ b.jsxs("p", { className: "text-label text-sumi-700", children: [
|
|
2597
|
+
/* @__PURE__ */ b.jsx("span", { className: J, children: p }),
|
|
1047
2598
|
"/",
|
|
1048
|
-
/* @__PURE__ */
|
|
2599
|
+
/* @__PURE__ */ b.jsx("span", { children: v })
|
|
1049
2600
|
] }) : ""
|
|
1050
2601
|
] });
|
|
1051
2602
|
}
|
|
1052
2603
|
);
|
|
1053
|
-
|
|
1054
|
-
const
|
|
1055
|
-
const
|
|
1056
|
-
labelText:
|
|
1057
|
-
className:
|
|
1058
|
-
helperText:
|
|
1059
|
-
errorMessage:
|
|
1060
|
-
isInvalid:
|
|
1061
|
-
isRequired:
|
|
1062
|
-
children:
|
|
1063
|
-
...
|
|
1064
|
-
} =
|
|
1065
|
-
id:
|
|
1066
|
-
helperTextId: `helper-text-${
|
|
1067
|
-
errorMessageId: `error-message-${
|
|
1068
|
-
isInvalid:
|
|
1069
|
-
isRequired:
|
|
2604
|
+
un.displayName = "Textarea";
|
|
2605
|
+
const ln = B.forwardRef((d, c) => {
|
|
2606
|
+
const k = B.useId(), {
|
|
2607
|
+
labelText: I,
|
|
2608
|
+
className: P,
|
|
2609
|
+
helperText: C,
|
|
2610
|
+
errorMessage: v,
|
|
2611
|
+
isInvalid: g,
|
|
2612
|
+
isRequired: p,
|
|
2613
|
+
children: D,
|
|
2614
|
+
...E
|
|
2615
|
+
} = d, x = {
|
|
2616
|
+
id: d.htmlFor ?? `input-${k}`,
|
|
2617
|
+
helperTextId: `helper-text-${k}`,
|
|
2618
|
+
errorMessageId: `error-message-${k}`,
|
|
2619
|
+
isInvalid: g ?? !1,
|
|
2620
|
+
isRequired: p ?? !1
|
|
1070
2621
|
};
|
|
1071
|
-
return /* @__PURE__ */
|
|
1072
|
-
/* @__PURE__ */
|
|
2622
|
+
return /* @__PURE__ */ b.jsx(ke.Provider, { value: x, children: /* @__PURE__ */ b.jsxs("div", { className: le("flex flex-col items-start gap-2", P), children: [
|
|
2623
|
+
/* @__PURE__ */ b.jsxs(
|
|
1073
2624
|
"label",
|
|
1074
2625
|
{
|
|
1075
|
-
className:
|
|
1076
|
-
htmlFor:
|
|
1077
|
-
ref:
|
|
1078
|
-
...
|
|
2626
|
+
className: le("block text-label", g && "text-sun-800"),
|
|
2627
|
+
htmlFor: x.id,
|
|
2628
|
+
ref: c,
|
|
2629
|
+
...E,
|
|
1079
2630
|
children: [
|
|
1080
|
-
|
|
1081
|
-
|
|
2631
|
+
I,
|
|
2632
|
+
p && /* @__PURE__ */ b.jsx("span", { className: "text-label text-sun-800", children: " *" })
|
|
1082
2633
|
]
|
|
1083
2634
|
}
|
|
1084
2635
|
),
|
|
1085
|
-
|
|
2636
|
+
C && /* @__PURE__ */ b.jsx("p", { id: x.helperTextId, className: `
|
|
1086
2637
|
text-label text-sumi-700
|
|
1087
|
-
`,
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
"p",
|
|
1091
|
-
{
|
|
1092
|
-
id: d.errorMessageId,
|
|
1093
|
-
className: C(`
|
|
2638
|
+
`, children: C }),
|
|
2639
|
+
D,
|
|
2640
|
+
g && /* @__PURE__ */ b.jsx("p", { id: x.errorMessageId, className: `
|
|
1094
2641
|
text-label text-sun-800
|
|
1095
|
-
`,
|
|
1096
|
-
children: i
|
|
1097
|
-
}
|
|
1098
|
-
)
|
|
2642
|
+
`, children: v })
|
|
1099
2643
|
] }) });
|
|
1100
2644
|
});
|
|
1101
|
-
|
|
1102
|
-
const
|
|
1103
|
-
const
|
|
1104
|
-
labelText:
|
|
1105
|
-
className:
|
|
1106
|
-
helperText:
|
|
1107
|
-
errorMessage:
|
|
1108
|
-
isInvalid:
|
|
1109
|
-
isRequired:
|
|
1110
|
-
direction:
|
|
1111
|
-
children:
|
|
1112
|
-
...
|
|
1113
|
-
} =
|
|
1114
|
-
groupName:
|
|
1115
|
-
helperTextId: `helper-text-${
|
|
1116
|
-
errorMessageId: `error-message-${
|
|
1117
|
-
isInvalid:
|
|
1118
|
-
isRequired:
|
|
1119
|
-
},
|
|
1120
|
-
return /* @__PURE__ */
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
className: C(
|
|
1138
|
-
"text-label text-sun-800",
|
|
1139
|
-
c ? "mt-1" : "mt-2"
|
|
1140
|
-
),
|
|
1141
|
-
children: i
|
|
1142
|
-
}
|
|
1143
|
-
)
|
|
1144
|
-
] }) });
|
|
2645
|
+
ln.displayName = "LabelControl";
|
|
2646
|
+
const Gr = B.forwardRef((d, c) => {
|
|
2647
|
+
const k = B.useId(), {
|
|
2648
|
+
labelText: I,
|
|
2649
|
+
className: P,
|
|
2650
|
+
helperText: C,
|
|
2651
|
+
errorMessage: v,
|
|
2652
|
+
isInvalid: g,
|
|
2653
|
+
isRequired: p,
|
|
2654
|
+
direction: D,
|
|
2655
|
+
children: E,
|
|
2656
|
+
...x
|
|
2657
|
+
} = d, L = {
|
|
2658
|
+
groupName: x.name ?? `group-${k}`,
|
|
2659
|
+
helperTextId: `helper-text-${k}`,
|
|
2660
|
+
errorMessageId: `error-message-${k}`,
|
|
2661
|
+
isInvalid: g ?? !1,
|
|
2662
|
+
isRequired: p ?? !1
|
|
2663
|
+
}, ee = D ?? "flex-col";
|
|
2664
|
+
return /* @__PURE__ */ b.jsx(ke.Provider, { value: L, children: /* @__PURE__ */ b.jsxs(
|
|
2665
|
+
"fieldset",
|
|
2666
|
+
{
|
|
2667
|
+
className: le("flex flex-col items-start gap-2", P),
|
|
2668
|
+
ref: c,
|
|
2669
|
+
...x,
|
|
2670
|
+
children: [
|
|
2671
|
+
/* @__PURE__ */ b.jsx("legend", { children: /* @__PURE__ */ b.jsxs("p", { className: le("block text-label", g && "text-sun-800"), children: [
|
|
2672
|
+
I,
|
|
2673
|
+
p && /* @__PURE__ */ b.jsx("span", { className: "text-sun-800", children: " *" })
|
|
2674
|
+
] }) }),
|
|
2675
|
+
/* @__PURE__ */ b.jsx("div", { className: le("inline-flex", ee), children: E }),
|
|
2676
|
+
C && /* @__PURE__ */ b.jsx("p", { id: L.helperTextId, className: "text-sup text-sumi-700", children: C }),
|
|
2677
|
+
g && /* @__PURE__ */ b.jsx("p", { id: L.errorMessageId, className: "text-label text-sun-800", children: v })
|
|
2678
|
+
]
|
|
2679
|
+
}
|
|
2680
|
+
) });
|
|
1145
2681
|
});
|
|
1146
|
-
|
|
1147
|
-
const
|
|
2682
|
+
Gr.displayName = "FieldsetControl";
|
|
2683
|
+
const cn = B.forwardRef((d, c) => {
|
|
1148
2684
|
const {
|
|
1149
|
-
items:
|
|
1150
|
-
onChange:
|
|
1151
|
-
className:
|
|
1152
|
-
labelText:
|
|
1153
|
-
helperText:
|
|
1154
|
-
errorMessage:
|
|
1155
|
-
isInvalid:
|
|
1156
|
-
isRequired:
|
|
1157
|
-
size:
|
|
1158
|
-
...
|
|
1159
|
-
} =
|
|
1160
|
-
return /* @__PURE__ */
|
|
1161
|
-
|
|
2685
|
+
items: k,
|
|
2686
|
+
onChange: I,
|
|
2687
|
+
className: P,
|
|
2688
|
+
labelText: C,
|
|
2689
|
+
helperText: v,
|
|
2690
|
+
errorMessage: g,
|
|
2691
|
+
isInvalid: p,
|
|
2692
|
+
isRequired: D,
|
|
2693
|
+
size: E,
|
|
2694
|
+
...x
|
|
2695
|
+
} = d;
|
|
2696
|
+
return /* @__PURE__ */ b.jsx(
|
|
2697
|
+
Gr,
|
|
1162
2698
|
{
|
|
1163
|
-
className:
|
|
1164
|
-
labelText:
|
|
1165
|
-
helperText:
|
|
1166
|
-
errorMessage:
|
|
1167
|
-
isInvalid:
|
|
1168
|
-
isRequired:
|
|
1169
|
-
ref:
|
|
1170
|
-
...
|
|
1171
|
-
children:
|
|
1172
|
-
|
|
2699
|
+
className: P,
|
|
2700
|
+
labelText: C,
|
|
2701
|
+
helperText: v,
|
|
2702
|
+
errorMessage: g,
|
|
2703
|
+
isInvalid: p,
|
|
2704
|
+
isRequired: D,
|
|
2705
|
+
ref: c,
|
|
2706
|
+
...x,
|
|
2707
|
+
children: k.map(({ label: J, value: L }) => /* @__PURE__ */ b.jsx(
|
|
2708
|
+
Pt,
|
|
1173
2709
|
{
|
|
1174
|
-
size:
|
|
1175
|
-
value:
|
|
1176
|
-
onChange:
|
|
1177
|
-
children:
|
|
2710
|
+
size: E,
|
|
2711
|
+
value: L,
|
|
2712
|
+
onChange: I,
|
|
2713
|
+
children: J
|
|
1178
2714
|
},
|
|
1179
|
-
`${
|
|
2715
|
+
`${J}-${L}`
|
|
1180
2716
|
))
|
|
1181
2717
|
}
|
|
1182
2718
|
);
|
|
1183
2719
|
});
|
|
1184
|
-
|
|
1185
|
-
const
|
|
2720
|
+
cn.displayName = "CheckboxGroup";
|
|
2721
|
+
const fn = B.forwardRef((d, c) => {
|
|
1186
2722
|
const {
|
|
1187
|
-
items:
|
|
1188
|
-
onChange:
|
|
1189
|
-
className:
|
|
1190
|
-
labelText:
|
|
1191
|
-
helperText:
|
|
1192
|
-
errorMessage:
|
|
1193
|
-
isInvalid:
|
|
1194
|
-
isRequired:
|
|
1195
|
-
defaultValue:
|
|
1196
|
-
size:
|
|
1197
|
-
...
|
|
1198
|
-
} =
|
|
1199
|
-
return /* @__PURE__ */
|
|
1200
|
-
|
|
2723
|
+
items: k,
|
|
2724
|
+
onChange: I,
|
|
2725
|
+
className: P,
|
|
2726
|
+
labelText: C,
|
|
2727
|
+
helperText: v,
|
|
2728
|
+
errorMessage: g,
|
|
2729
|
+
isInvalid: p,
|
|
2730
|
+
isRequired: D,
|
|
2731
|
+
defaultValue: E,
|
|
2732
|
+
size: x,
|
|
2733
|
+
...J
|
|
2734
|
+
} = d;
|
|
2735
|
+
return /* @__PURE__ */ b.jsx(
|
|
2736
|
+
Gr,
|
|
1201
2737
|
{
|
|
1202
|
-
className:
|
|
1203
|
-
labelText:
|
|
1204
|
-
helperText:
|
|
1205
|
-
errorMessage:
|
|
1206
|
-
isInvalid:
|
|
1207
|
-
isRequired:
|
|
1208
|
-
ref:
|
|
1209
|
-
...
|
|
1210
|
-
children:
|
|
1211
|
-
|
|
2738
|
+
className: P,
|
|
2739
|
+
labelText: C,
|
|
2740
|
+
helperText: v,
|
|
2741
|
+
errorMessage: g,
|
|
2742
|
+
isInvalid: p,
|
|
2743
|
+
isRequired: D,
|
|
2744
|
+
ref: c,
|
|
2745
|
+
...J,
|
|
2746
|
+
children: k.map(({ label: L, value: ee }) => /* @__PURE__ */ b.jsx(
|
|
2747
|
+
Tt,
|
|
1212
2748
|
{
|
|
1213
|
-
size:
|
|
1214
|
-
value:
|
|
1215
|
-
onChange:
|
|
1216
|
-
defaultChecked:
|
|
1217
|
-
children:
|
|
2749
|
+
size: x,
|
|
2750
|
+
value: ee,
|
|
2751
|
+
onChange: I,
|
|
2752
|
+
defaultChecked: E === ee,
|
|
2753
|
+
children: L
|
|
1218
2754
|
},
|
|
1219
|
-
`${
|
|
2755
|
+
`${L}-${ee}`
|
|
1220
2756
|
))
|
|
1221
2757
|
}
|
|
1222
2758
|
);
|
|
1223
2759
|
});
|
|
1224
|
-
|
|
2760
|
+
fn.displayName = "RadioGroup";
|
|
1225
2761
|
export {
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
2762
|
+
Pt as Checkbox,
|
|
2763
|
+
cn as CheckboxGroup,
|
|
2764
|
+
Gr as FieldsetControl,
|
|
2765
|
+
an as FileInput,
|
|
2766
|
+
sn as Input,
|
|
2767
|
+
ln as LabelControl,
|
|
2768
|
+
Tt as Radio,
|
|
2769
|
+
fn as RadioGroup,
|
|
2770
|
+
pn as Select,
|
|
2771
|
+
un as Textarea
|
|
1236
2772
|
};
|