@sportflow/ui 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.es.js +505 -200
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +28 -0
- package/package.json +13 -3
package/dist/index.es.js
CHANGED
|
@@ -1,148 +1,149 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import J, { createContext as o1, forwardRef as i1, useState as H, useEffect as u1 } from "react";
|
|
3
|
+
var I = { exports: {} }, k = {};
|
|
4
|
+
var t1;
|
|
5
|
+
function m1() {
|
|
6
|
+
if (t1) return k;
|
|
7
|
+
t1 = 1;
|
|
8
|
+
var s = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
9
|
+
function i(l, c, f) {
|
|
10
|
+
var p = null;
|
|
11
|
+
if (f !== void 0 && (p = "" + f), c.key !== void 0 && (p = "" + c.key), "key" in c) {
|
|
12
|
+
f = {};
|
|
13
|
+
for (var u in c)
|
|
14
|
+
u !== "key" && (f[u] = c[u]);
|
|
15
|
+
} else f = c;
|
|
16
|
+
return c = f.ref, {
|
|
17
|
+
$$typeof: s,
|
|
18
|
+
type: l,
|
|
19
|
+
key: p,
|
|
20
|
+
ref: c !== void 0 ? c : null,
|
|
21
|
+
props: f
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
|
-
return
|
|
24
|
+
return k.Fragment = n, k.jsx = i, k.jsxs = i, k;
|
|
24
25
|
}
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
29
|
-
function
|
|
26
|
+
var S = {};
|
|
27
|
+
var a1;
|
|
28
|
+
function d1() {
|
|
29
|
+
return a1 || (a1 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30
|
+
function s(e) {
|
|
30
31
|
if (e == null) return null;
|
|
31
32
|
if (typeof e == "function")
|
|
32
|
-
return e.$$typeof ===
|
|
33
|
+
return e.$$typeof === R ? null : e.displayName || e.name || null;
|
|
33
34
|
if (typeof e == "string") return e;
|
|
34
35
|
switch (e) {
|
|
35
|
-
case
|
|
36
|
+
case g:
|
|
36
37
|
return "Fragment";
|
|
37
38
|
case j:
|
|
38
39
|
return "Profiler";
|
|
39
|
-
case
|
|
40
|
+
case v:
|
|
40
41
|
return "StrictMode";
|
|
41
|
-
case
|
|
42
|
+
case w:
|
|
42
43
|
return "Suspense";
|
|
43
|
-
case
|
|
44
|
+
case L:
|
|
44
45
|
return "SuspenseList";
|
|
45
|
-
case
|
|
46
|
+
case D:
|
|
46
47
|
return "Activity";
|
|
47
48
|
}
|
|
48
49
|
if (typeof e == "object")
|
|
49
50
|
switch (typeof e.tag == "number" && console.error(
|
|
50
51
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
52
|
), e.$$typeof) {
|
|
52
|
-
case
|
|
53
|
+
case _:
|
|
53
54
|
return "Portal";
|
|
54
|
-
case
|
|
55
|
+
case P:
|
|
55
56
|
return e.displayName || "Context";
|
|
56
|
-
case
|
|
57
|
+
case O:
|
|
57
58
|
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
-
case
|
|
59
|
-
var
|
|
60
|
-
return e = e.displayName, e || (e =
|
|
61
|
-
case
|
|
62
|
-
return
|
|
63
|
-
case
|
|
64
|
-
|
|
59
|
+
case $:
|
|
60
|
+
var a = e.render;
|
|
61
|
+
return e = e.displayName, e || (e = a.displayName || a.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
62
|
+
case Y:
|
|
63
|
+
return a = e.displayName || null, a !== null ? a : s(e.type) || "Memo";
|
|
64
|
+
case T:
|
|
65
|
+
a = e._payload, e = e._init;
|
|
65
66
|
try {
|
|
66
|
-
return
|
|
67
|
+
return s(e(a));
|
|
67
68
|
} catch {
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
return null;
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
+
function n(e) {
|
|
73
74
|
return "" + e;
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function i(e) {
|
|
76
77
|
try {
|
|
77
|
-
|
|
78
|
-
var
|
|
78
|
+
n(e);
|
|
79
|
+
var a = !1;
|
|
79
80
|
} catch {
|
|
80
|
-
|
|
81
|
+
a = !0;
|
|
81
82
|
}
|
|
82
|
-
if (
|
|
83
|
-
|
|
84
|
-
var
|
|
85
|
-
return
|
|
86
|
-
|
|
83
|
+
if (a) {
|
|
84
|
+
a = console;
|
|
85
|
+
var o = a.error, m = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
86
|
+
return o.call(
|
|
87
|
+
a,
|
|
87
88
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
-
|
|
89
|
-
),
|
|
89
|
+
m
|
|
90
|
+
), n(e);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
-
if (e ===
|
|
94
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
93
|
+
function l(e) {
|
|
94
|
+
if (e === g) return "<>";
|
|
95
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
95
96
|
return "<...>";
|
|
96
97
|
try {
|
|
97
|
-
var
|
|
98
|
-
return
|
|
98
|
+
var a = s(e);
|
|
99
|
+
return a ? "<" + a + ">" : "<...>";
|
|
99
100
|
} catch {
|
|
100
101
|
return "<...>";
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
-
var e =
|
|
104
|
+
function c() {
|
|
105
|
+
var e = W.A;
|
|
105
106
|
return e === null ? null : e.getOwner();
|
|
106
107
|
}
|
|
107
|
-
function
|
|
108
|
+
function f() {
|
|
108
109
|
return Error("react-stack-top-frame");
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
-
if (
|
|
112
|
-
var
|
|
113
|
-
if (
|
|
111
|
+
function p(e) {
|
|
112
|
+
if (q.call(e, "key")) {
|
|
113
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
114
|
+
if (a && a.isReactWarning) return !1;
|
|
114
115
|
}
|
|
115
116
|
return e.key !== void 0;
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
-
function
|
|
119
|
-
|
|
118
|
+
function u(e, a) {
|
|
119
|
+
function o() {
|
|
120
|
+
G || (G = !0, console.error(
|
|
120
121
|
"%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://react.dev/link/special-props)",
|
|
121
|
-
|
|
122
|
+
a
|
|
122
123
|
));
|
|
123
124
|
}
|
|
124
|
-
|
|
125
|
-
get:
|
|
125
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
126
|
+
get: o,
|
|
126
127
|
configurable: !0
|
|
127
128
|
});
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
-
var e =
|
|
131
|
-
return
|
|
130
|
+
function Z() {
|
|
131
|
+
var e = s(this.type);
|
|
132
|
+
return X[e] || (X[e] = !0, console.error(
|
|
132
133
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
134
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
135
|
}
|
|
135
|
-
function
|
|
136
|
-
var
|
|
136
|
+
function E(e, a, o, m, z, V) {
|
|
137
|
+
var d = o.ref;
|
|
137
138
|
return e = {
|
|
138
|
-
$$typeof:
|
|
139
|
+
$$typeof: A,
|
|
139
140
|
type: e,
|
|
140
|
-
key:
|
|
141
|
-
props:
|
|
142
|
-
_owner:
|
|
143
|
-
}, (
|
|
141
|
+
key: a,
|
|
142
|
+
props: o,
|
|
143
|
+
_owner: m
|
|
144
|
+
}, (d !== void 0 ? d : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
145
|
enumerable: !1,
|
|
145
|
-
get:
|
|
146
|
+
get: Z
|
|
146
147
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
147
148
|
configurable: !1,
|
|
148
149
|
enumerable: !1,
|
|
@@ -157,69 +158,69 @@ function te() {
|
|
|
157
158
|
configurable: !1,
|
|
158
159
|
enumerable: !1,
|
|
159
160
|
writable: !0,
|
|
160
|
-
value:
|
|
161
|
+
value: z
|
|
161
162
|
}), Object.defineProperty(e, "_debugTask", {
|
|
162
163
|
configurable: !1,
|
|
163
164
|
enumerable: !1,
|
|
164
165
|
writable: !0,
|
|
165
|
-
value:
|
|
166
|
+
value: V
|
|
166
167
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
168
|
}
|
|
168
|
-
function
|
|
169
|
-
var
|
|
170
|
-
if (
|
|
171
|
-
if (
|
|
172
|
-
if (
|
|
173
|
-
for (
|
|
174
|
-
|
|
175
|
-
Object.freeze && Object.freeze(
|
|
169
|
+
function C(e, a, o, m, z, V) {
|
|
170
|
+
var d = a.children;
|
|
171
|
+
if (d !== void 0)
|
|
172
|
+
if (m)
|
|
173
|
+
if (s1(d)) {
|
|
174
|
+
for (m = 0; m < d.length; m++)
|
|
175
|
+
x(d[m]);
|
|
176
|
+
Object.freeze && Object.freeze(d);
|
|
176
177
|
} else
|
|
177
178
|
console.error(
|
|
178
179
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
180
|
);
|
|
180
|
-
else
|
|
181
|
-
if (
|
|
182
|
-
|
|
183
|
-
var
|
|
184
|
-
return
|
|
181
|
+
else x(d);
|
|
182
|
+
if (q.call(a, "key")) {
|
|
183
|
+
d = s(e);
|
|
184
|
+
var y = Object.keys(a).filter(function(c1) {
|
|
185
|
+
return c1 !== "key";
|
|
185
186
|
});
|
|
186
|
-
|
|
187
|
+
m = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", e1[d + m] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
188
|
`A props object containing a "key" prop is being spread into JSX:
|
|
188
189
|
let props = %s;
|
|
189
190
|
<%s {...props} />
|
|
190
191
|
React keys must be passed directly to JSX without using spread:
|
|
191
192
|
let props = %s;
|
|
192
193
|
<%s key={someKey} {...props} />`,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
),
|
|
194
|
+
m,
|
|
195
|
+
d,
|
|
196
|
+
y,
|
|
197
|
+
d
|
|
198
|
+
), e1[d + m] = !0);
|
|
198
199
|
}
|
|
199
|
-
if (
|
|
200
|
-
|
|
201
|
-
for (var
|
|
202
|
-
|
|
203
|
-
} else
|
|
204
|
-
return
|
|
205
|
-
|
|
200
|
+
if (d = null, o !== void 0 && (i(o), d = "" + o), p(a) && (i(a.key), d = "" + a.key), "key" in a) {
|
|
201
|
+
o = {};
|
|
202
|
+
for (var B in a)
|
|
203
|
+
B !== "key" && (o[B] = a[B]);
|
|
204
|
+
} else o = a;
|
|
205
|
+
return d && u(
|
|
206
|
+
o,
|
|
206
207
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
-
),
|
|
208
|
+
), E(
|
|
208
209
|
e,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
d,
|
|
211
|
+
o,
|
|
212
|
+
c(),
|
|
213
|
+
z,
|
|
214
|
+
V
|
|
214
215
|
);
|
|
215
216
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
217
|
+
function x(e) {
|
|
218
|
+
h(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? h(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
220
|
+
function h(e) {
|
|
221
|
+
return typeof e == "object" && e !== null && e.$$typeof === A;
|
|
221
222
|
}
|
|
222
|
-
var b =
|
|
223
|
+
var b = J, A = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), P = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), Y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), W = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, s1 = Array.isArray, U = console.createTask ? console.createTask : function() {
|
|
223
224
|
return null;
|
|
224
225
|
};
|
|
225
226
|
b = {
|
|
@@ -227,53 +228,53 @@ React keys must be passed directly to JSX without using spread:
|
|
|
227
228
|
return e();
|
|
228
229
|
}
|
|
229
230
|
};
|
|
230
|
-
var
|
|
231
|
+
var G, X = {}, Q = b.react_stack_bottom_frame.bind(
|
|
231
232
|
b,
|
|
232
|
-
|
|
233
|
-
)(),
|
|
234
|
-
|
|
235
|
-
var
|
|
236
|
-
return
|
|
233
|
+
f
|
|
234
|
+
)(), K = U(l(f)), e1 = {};
|
|
235
|
+
S.Fragment = g, S.jsx = function(e, a, o) {
|
|
236
|
+
var m = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
237
|
+
return C(
|
|
237
238
|
e,
|
|
238
|
-
|
|
239
|
-
|
|
239
|
+
a,
|
|
240
|
+
o,
|
|
240
241
|
!1,
|
|
241
|
-
|
|
242
|
-
|
|
242
|
+
m ? Error("react-stack-top-frame") : Q,
|
|
243
|
+
m ? U(l(e)) : K
|
|
243
244
|
);
|
|
244
|
-
},
|
|
245
|
-
var
|
|
246
|
-
return
|
|
245
|
+
}, S.jsxs = function(e, a, o) {
|
|
246
|
+
var m = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
247
|
+
return C(
|
|
247
248
|
e,
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
a,
|
|
250
|
+
o,
|
|
250
251
|
!0,
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
m ? Error("react-stack-top-frame") : Q,
|
|
253
|
+
m ? U(l(e)) : K
|
|
253
254
|
);
|
|
254
255
|
};
|
|
255
|
-
})()),
|
|
256
|
+
})()), S;
|
|
256
257
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
259
|
-
return
|
|
258
|
+
var r1;
|
|
259
|
+
function f1() {
|
|
260
|
+
return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? I.exports = m1() : I.exports = d1()), I.exports;
|
|
260
261
|
}
|
|
261
|
-
var
|
|
262
|
-
function
|
|
263
|
-
text:
|
|
264
|
-
icon:
|
|
265
|
-
iconPosition:
|
|
266
|
-
href:
|
|
267
|
-
disabled:
|
|
268
|
-
handleOnClick:
|
|
269
|
-
btnColor:
|
|
270
|
-
textColor:
|
|
271
|
-
fullWidth:
|
|
272
|
-
border:
|
|
273
|
-
rounded:
|
|
274
|
-
extraClassName:
|
|
262
|
+
var r = f1();
|
|
263
|
+
function C1({
|
|
264
|
+
text: s,
|
|
265
|
+
icon: n,
|
|
266
|
+
iconPosition: i = "left",
|
|
267
|
+
href: l,
|
|
268
|
+
disabled: c = !1,
|
|
269
|
+
handleOnClick: f,
|
|
270
|
+
btnColor: p,
|
|
271
|
+
textColor: u = "text-black",
|
|
272
|
+
fullWidth: Z = !1,
|
|
273
|
+
border: E,
|
|
274
|
+
rounded: C = "rounded-none",
|
|
275
|
+
extraClassName: x
|
|
275
276
|
}) {
|
|
276
|
-
const
|
|
277
|
+
const h = (j) => j?.includes("[") && j?.includes("]") || !1, b = [
|
|
277
278
|
"flex",
|
|
278
279
|
"h-12",
|
|
279
280
|
"px-4",
|
|
@@ -285,74 +286,378 @@ function oe({
|
|
|
285
286
|
"items-center",
|
|
286
287
|
"justify-center",
|
|
287
288
|
"transition-colors",
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
],
|
|
291
|
-
backgroundColor:
|
|
292
|
-
borderColor:
|
|
293
|
-
textColor:
|
|
294
|
-
borderWidth:
|
|
295
|
-
rounded:
|
|
296
|
-
},
|
|
289
|
+
Z ? "w-full" : "w-fit",
|
|
290
|
+
c ? "!bg-gray-300 !opacity-40 !cursor-not-allowed shadow-inner" : "cursor-pointer"
|
|
291
|
+
], A = {
|
|
292
|
+
backgroundColor: p || "bg-white",
|
|
293
|
+
borderColor: E,
|
|
294
|
+
textColor: u,
|
|
295
|
+
borderWidth: E ? "border-2" : "",
|
|
296
|
+
rounded: C
|
|
297
|
+
}, _ = [
|
|
297
298
|
...b,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(),
|
|
305
|
-
...
|
|
306
|
-
backgroundColor:
|
|
299
|
+
A.backgroundColor,
|
|
300
|
+
A.borderWidth,
|
|
301
|
+
A.borderColor,
|
|
302
|
+
A.textColor,
|
|
303
|
+
A.rounded,
|
|
304
|
+
x
|
|
305
|
+
].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), g = {
|
|
306
|
+
...p && h(p) && {
|
|
307
|
+
backgroundColor: p.match(/\[(.*?)\]/)?.[1]
|
|
307
308
|
},
|
|
308
|
-
...
|
|
309
|
-
borderColor:
|
|
309
|
+
...E && h(E) && {
|
|
310
|
+
borderColor: E.match(/\[(.*?)\]/)?.[1]
|
|
310
311
|
},
|
|
311
|
-
...
|
|
312
|
-
color:
|
|
312
|
+
...u && h(u) && {
|
|
313
|
+
color: u.match(/\[(.*?)\]/)?.[1]
|
|
313
314
|
}
|
|
314
|
-
},
|
|
315
|
+
}, v = /* @__PURE__ */ r.jsxs(
|
|
315
316
|
"span",
|
|
316
317
|
{
|
|
317
|
-
className: `flex gap-2 justify-center items-center ${
|
|
318
|
-
style:
|
|
318
|
+
className: `flex gap-2 justify-center items-center ${h(u) ? "" : u}`,
|
|
319
|
+
style: u && h(u) ? { color: u.match(/\[(.*?)\]/)?.[1] } : {},
|
|
319
320
|
children: [
|
|
320
|
-
|
|
321
|
+
n && i === "left" && /* @__PURE__ */ r.jsx("span", { "data-testid": "icon-left", children: J.createElement(n, {
|
|
321
322
|
size: 24,
|
|
322
323
|
weight: "bold"
|
|
323
324
|
}) }),
|
|
324
|
-
|
|
325
|
-
|
|
325
|
+
s,
|
|
326
|
+
n && i === "right" && /* @__PURE__ */ r.jsx("span", { "data-testid": "icon-right", children: J.createElement(n, {
|
|
326
327
|
size: 24,
|
|
327
328
|
weight: "bold"
|
|
328
329
|
}) })
|
|
329
330
|
]
|
|
330
331
|
}
|
|
331
332
|
);
|
|
332
|
-
return
|
|
333
|
+
return l && !c ? /* @__PURE__ */ r.jsx(
|
|
333
334
|
"a",
|
|
334
335
|
{
|
|
335
|
-
className:
|
|
336
|
-
style:
|
|
337
|
-
href:
|
|
336
|
+
className: _,
|
|
337
|
+
style: g,
|
|
338
|
+
href: l,
|
|
338
339
|
target: "_blank",
|
|
339
340
|
rel: "noopener noreferrer",
|
|
340
|
-
onClick:
|
|
341
|
-
children:
|
|
341
|
+
onClick: f,
|
|
342
|
+
children: v
|
|
342
343
|
}
|
|
343
|
-
) : /* @__PURE__ */
|
|
344
|
+
) : /* @__PURE__ */ r.jsx(
|
|
344
345
|
"button",
|
|
345
346
|
{
|
|
346
|
-
className:
|
|
347
|
-
style:
|
|
348
|
-
disabled:
|
|
347
|
+
className: _,
|
|
348
|
+
style: g,
|
|
349
|
+
disabled: c,
|
|
349
350
|
type: "button",
|
|
350
|
-
onClick:
|
|
351
|
-
children:
|
|
351
|
+
onClick: f,
|
|
352
|
+
children: v
|
|
352
353
|
}
|
|
353
354
|
);
|
|
354
355
|
}
|
|
356
|
+
const p1 = /* @__PURE__ */ new Map([
|
|
357
|
+
[
|
|
358
|
+
"bold",
|
|
359
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
|
|
360
|
+
],
|
|
361
|
+
[
|
|
362
|
+
"duotone",
|
|
363
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ t.createElement("path", { d: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
|
|
364
|
+
],
|
|
365
|
+
[
|
|
366
|
+
"fill",
|
|
367
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
368
|
+
],
|
|
369
|
+
[
|
|
370
|
+
"light",
|
|
371
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
|
|
372
|
+
],
|
|
373
|
+
[
|
|
374
|
+
"regular",
|
|
375
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
|
|
376
|
+
],
|
|
377
|
+
[
|
|
378
|
+
"thin",
|
|
379
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
|
|
380
|
+
]
|
|
381
|
+
]), h1 = /* @__PURE__ */ new Map([
|
|
382
|
+
[
|
|
383
|
+
"bold",
|
|
384
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z" }))
|
|
385
|
+
],
|
|
386
|
+
[
|
|
387
|
+
"duotone",
|
|
388
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
389
|
+
"path",
|
|
390
|
+
{
|
|
391
|
+
d: "M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",
|
|
392
|
+
opacity: "0.2"
|
|
393
|
+
}
|
|
394
|
+
), /* @__PURE__ */ t.createElement("path", { d: "M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z" }))
|
|
395
|
+
],
|
|
396
|
+
[
|
|
397
|
+
"fill",
|
|
398
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" }))
|
|
399
|
+
],
|
|
400
|
+
[
|
|
401
|
+
"light",
|
|
402
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z" }))
|
|
403
|
+
],
|
|
404
|
+
[
|
|
405
|
+
"regular",
|
|
406
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z" }))
|
|
407
|
+
],
|
|
408
|
+
[
|
|
409
|
+
"thin",
|
|
410
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z" }))
|
|
411
|
+
]
|
|
412
|
+
]), A1 = /* @__PURE__ */ new Map([
|
|
413
|
+
[
|
|
414
|
+
"bold",
|
|
415
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z" }))
|
|
416
|
+
],
|
|
417
|
+
[
|
|
418
|
+
"duotone",
|
|
419
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
420
|
+
"path",
|
|
421
|
+
{
|
|
422
|
+
d: "M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",
|
|
423
|
+
opacity: "0.2"
|
|
424
|
+
}
|
|
425
|
+
), /* @__PURE__ */ t.createElement("path", { d: "M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z" }))
|
|
426
|
+
],
|
|
427
|
+
[
|
|
428
|
+
"fill",
|
|
429
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z" }))
|
|
430
|
+
],
|
|
431
|
+
[
|
|
432
|
+
"light",
|
|
433
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z" }))
|
|
434
|
+
],
|
|
435
|
+
[
|
|
436
|
+
"regular",
|
|
437
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z" }))
|
|
438
|
+
],
|
|
439
|
+
[
|
|
440
|
+
"thin",
|
|
441
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z" }))
|
|
442
|
+
]
|
|
443
|
+
]), E1 = /* @__PURE__ */ new Map([
|
|
444
|
+
[
|
|
445
|
+
"bold",
|
|
446
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
|
|
447
|
+
],
|
|
448
|
+
[
|
|
449
|
+
"duotone",
|
|
450
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ t.createElement("path", { d: "M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
|
|
451
|
+
],
|
|
452
|
+
[
|
|
453
|
+
"fill",
|
|
454
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z" }))
|
|
455
|
+
],
|
|
456
|
+
[
|
|
457
|
+
"light",
|
|
458
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
|
|
459
|
+
],
|
|
460
|
+
[
|
|
461
|
+
"regular",
|
|
462
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
|
|
463
|
+
],
|
|
464
|
+
[
|
|
465
|
+
"thin",
|
|
466
|
+
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
|
|
467
|
+
]
|
|
468
|
+
]), g1 = o1({
|
|
469
|
+
color: "currentColor",
|
|
470
|
+
size: "1em",
|
|
471
|
+
weight: "regular",
|
|
472
|
+
mirrored: !1
|
|
473
|
+
}), F = t.forwardRef(
|
|
474
|
+
(s, n) => {
|
|
475
|
+
const {
|
|
476
|
+
alt: i,
|
|
477
|
+
color: l,
|
|
478
|
+
size: c,
|
|
479
|
+
weight: f,
|
|
480
|
+
mirrored: p,
|
|
481
|
+
children: u,
|
|
482
|
+
weights: Z,
|
|
483
|
+
...E
|
|
484
|
+
} = s, {
|
|
485
|
+
color: C = "currentColor",
|
|
486
|
+
size: x,
|
|
487
|
+
weight: h = "regular",
|
|
488
|
+
mirrored: b = !1,
|
|
489
|
+
...A
|
|
490
|
+
} = t.useContext(g1);
|
|
491
|
+
return /* @__PURE__ */ t.createElement(
|
|
492
|
+
"svg",
|
|
493
|
+
{
|
|
494
|
+
ref: n,
|
|
495
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
496
|
+
width: c ?? x,
|
|
497
|
+
height: c ?? x,
|
|
498
|
+
fill: l ?? C,
|
|
499
|
+
viewBox: "0 0 256 256",
|
|
500
|
+
transform: p || b ? "scale(-1, 1)" : void 0,
|
|
501
|
+
...A,
|
|
502
|
+
...E
|
|
503
|
+
},
|
|
504
|
+
!!i && /* @__PURE__ */ t.createElement("title", null, i),
|
|
505
|
+
u,
|
|
506
|
+
Z.get(f ?? h)
|
|
507
|
+
);
|
|
508
|
+
}
|
|
509
|
+
);
|
|
510
|
+
F.displayName = "IconBase";
|
|
511
|
+
const N = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: p1 }));
|
|
512
|
+
N.displayName = "CheckCircleIcon";
|
|
513
|
+
const n1 = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: h1 }));
|
|
514
|
+
n1.displayName = "EyeIcon";
|
|
515
|
+
const l1 = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: A1 }));
|
|
516
|
+
l1.displayName = "EyeSlashIcon";
|
|
517
|
+
const M = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: E1 }));
|
|
518
|
+
M.displayName = "MinusCircleIcon";
|
|
519
|
+
function x1({
|
|
520
|
+
password: s,
|
|
521
|
+
color: n = "text-gray-600"
|
|
522
|
+
}) {
|
|
523
|
+
const i = String(s), l = {
|
|
524
|
+
length: i.length >= 8,
|
|
525
|
+
number: /\d/.test(i),
|
|
526
|
+
lowercase: /[a-z]/.test(i),
|
|
527
|
+
uppercase: /[A-Z]/.test(i),
|
|
528
|
+
specialChar: /[\^$*.[\]{}()?\-"!@#%&/\\,><':;|_~`+=]/.test(i)
|
|
529
|
+
};
|
|
530
|
+
return /* @__PURE__ */ r.jsxs("div", { className: "absolute bottom-full z-10 mb-2 w-full border border-gray-600 bg-white p-2", children: [
|
|
531
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
532
|
+
l.length ? /* @__PURE__ */ r.jsx(N, { className: "text-green-500", size: 20 }) : /* @__PURE__ */ r.jsx(M, { className: n, size: 20 }),
|
|
533
|
+
/* @__PURE__ */ r.jsx(
|
|
534
|
+
"p",
|
|
535
|
+
{
|
|
536
|
+
className: `text-sm ${l.length ? "text-green-500" : n}`,
|
|
537
|
+
children: "Contiene 8 caracteres"
|
|
538
|
+
}
|
|
539
|
+
)
|
|
540
|
+
] }),
|
|
541
|
+
/* @__PURE__ */ r.jsxs("div", { className: "mt-1 flex items-center gap-2", children: [
|
|
542
|
+
l.number ? /* @__PURE__ */ r.jsx(N, { className: "text-green-500", size: 20 }) : /* @__PURE__ */ r.jsx(M, { className: n, size: 20 }),
|
|
543
|
+
/* @__PURE__ */ r.jsx(
|
|
544
|
+
"p",
|
|
545
|
+
{
|
|
546
|
+
className: `text-sm ${l.number ? "text-green-500" : n}`,
|
|
547
|
+
children: "Contiene un número"
|
|
548
|
+
}
|
|
549
|
+
)
|
|
550
|
+
] }),
|
|
551
|
+
/* @__PURE__ */ r.jsxs("div", { className: "mt-1 flex items-center gap-2", children: [
|
|
552
|
+
l.lowercase ? /* @__PURE__ */ r.jsx(N, { className: "text-green-500", size: 20 }) : /* @__PURE__ */ r.jsx(M, { className: n, size: 20 }),
|
|
553
|
+
/* @__PURE__ */ r.jsx(
|
|
554
|
+
"p",
|
|
555
|
+
{
|
|
556
|
+
className: `text-sm ${l.lowercase ? "text-green-500" : n}`,
|
|
557
|
+
children: "Contiene una letra minúscula"
|
|
558
|
+
}
|
|
559
|
+
)
|
|
560
|
+
] }),
|
|
561
|
+
/* @__PURE__ */ r.jsxs("div", { className: "mt-1 flex items-center gap-2", children: [
|
|
562
|
+
l.uppercase ? /* @__PURE__ */ r.jsx(N, { className: "text-green-500", size: 20 }) : /* @__PURE__ */ r.jsx(M, { className: n, size: 20 }),
|
|
563
|
+
/* @__PURE__ */ r.jsx(
|
|
564
|
+
"p",
|
|
565
|
+
{
|
|
566
|
+
className: `text-sm ${l.uppercase ? "text-green-500" : n}`,
|
|
567
|
+
children: "Contiene una letra mayúscula"
|
|
568
|
+
}
|
|
569
|
+
)
|
|
570
|
+
] }),
|
|
571
|
+
/* @__PURE__ */ r.jsxs("div", { className: "mt-1 flex items-center gap-2", children: [
|
|
572
|
+
l.specialChar ? /* @__PURE__ */ r.jsx(N, { className: "text-green-500", size: 20 }) : /* @__PURE__ */ r.jsx(M, { className: n, size: 20 }),
|
|
573
|
+
/* @__PURE__ */ r.jsx(
|
|
574
|
+
"p",
|
|
575
|
+
{
|
|
576
|
+
className: `text-sm ${l.specialChar ? "text-green-500" : n}`,
|
|
577
|
+
children: "Contiene un carácter especial"
|
|
578
|
+
}
|
|
579
|
+
)
|
|
580
|
+
] })
|
|
581
|
+
] });
|
|
582
|
+
}
|
|
583
|
+
const Z1 = i1(function({
|
|
584
|
+
type: n = "text",
|
|
585
|
+
name: i,
|
|
586
|
+
value: l,
|
|
587
|
+
label: c = "",
|
|
588
|
+
placeholder: f = "",
|
|
589
|
+
onChange: p,
|
|
590
|
+
error: u,
|
|
591
|
+
inputExtraClassName: Z = "",
|
|
592
|
+
labelExtraClassName: E = "",
|
|
593
|
+
fullWidth: C = !1,
|
|
594
|
+
disabled: x = !1,
|
|
595
|
+
showRequirements: h = !1,
|
|
596
|
+
rounded: b = "rounded-none",
|
|
597
|
+
onBlur: A
|
|
598
|
+
}, _) {
|
|
599
|
+
const [g, v] = H(!1), [j, O] = H(!1), [P, $] = H(l ?? ""), w = n === "password", L = w && g ? "text" : n;
|
|
600
|
+
u1(() => {
|
|
601
|
+
$(l ?? "");
|
|
602
|
+
}, [l]);
|
|
603
|
+
const Y = () => {
|
|
604
|
+
w && h && O(!0);
|
|
605
|
+
}, T = (R) => {
|
|
606
|
+
O(!1), A?.(R);
|
|
607
|
+
}, D = (R) => {
|
|
608
|
+
$(R.target.value), p?.(R);
|
|
609
|
+
};
|
|
610
|
+
return /* @__PURE__ */ r.jsxs(
|
|
611
|
+
"div",
|
|
612
|
+
{
|
|
613
|
+
className: `relative min-h-13 min-w-80 ${C ? "w-full" : "w-fit"}`,
|
|
614
|
+
children: [
|
|
615
|
+
w && h && j ? /* @__PURE__ */ r.jsx(x1, { password: P }) : null,
|
|
616
|
+
/* @__PURE__ */ r.jsxs("div", { className: "relative", children: [
|
|
617
|
+
/* @__PURE__ */ r.jsx(
|
|
618
|
+
"input",
|
|
619
|
+
{
|
|
620
|
+
ref: _,
|
|
621
|
+
className: `${Z} ${b} block min-h-13 w-full border border-[#4C4C4C] px-4 text-base font-normal text-[#4C4C4C] focus:outline-none focus:ring-0 disabled:opacity-60 disabled:cursor-not-allowed! ${u ? "border-red-500" : ""} ${w ? "pr-10" : ""}`,
|
|
622
|
+
disabled: x,
|
|
623
|
+
id: i,
|
|
624
|
+
name: i,
|
|
625
|
+
placeholder: f,
|
|
626
|
+
type: L,
|
|
627
|
+
value: P,
|
|
628
|
+
onBlur: T,
|
|
629
|
+
onChange: D,
|
|
630
|
+
onFocus: Y
|
|
631
|
+
}
|
|
632
|
+
),
|
|
633
|
+
/* @__PURE__ */ r.jsx(
|
|
634
|
+
"label",
|
|
635
|
+
{
|
|
636
|
+
className: `${E} absolute left-2 -top-2.5 bg-white px-2 text-sm font-normal text-[#4C4C4C]`,
|
|
637
|
+
htmlFor: i,
|
|
638
|
+
children: c
|
|
639
|
+
}
|
|
640
|
+
),
|
|
641
|
+
w ? /* @__PURE__ */ r.jsx(
|
|
642
|
+
"button",
|
|
643
|
+
{
|
|
644
|
+
"aria-label": g ? "Ocultar contraseña" : "Mostrar contraseña",
|
|
645
|
+
className: "absolute cursor-pointer right-3 top-1/2 -translate-y-1/2 transform text-[#4C4C4C] focus:outline-none",
|
|
646
|
+
disabled: x,
|
|
647
|
+
type: "button",
|
|
648
|
+
onClick: () => v(!g),
|
|
649
|
+
children: g ? /* @__PURE__ */ r.jsx(l1, { size: 24 }) : /* @__PURE__ */ r.jsx(n1, { size: 24 })
|
|
650
|
+
}
|
|
651
|
+
) : null
|
|
652
|
+
] }),
|
|
653
|
+
u ? /* @__PURE__ */ r.jsx("p", { className: "ml-1 mt-1 h-3 text-xs text-red-500", children: u }) : null
|
|
654
|
+
]
|
|
655
|
+
}
|
|
656
|
+
);
|
|
657
|
+
});
|
|
355
658
|
export {
|
|
356
|
-
|
|
659
|
+
C1 as Button,
|
|
660
|
+
Z1 as Input,
|
|
661
|
+
x1 as PasswordTooltip
|
|
357
662
|
};
|
|
358
663
|
//# sourceMappingURL=index.es.js.map
|