@post-pioneer/ui-kit 0.1.11 → 0.1.12
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/ui-kit-postpioneer.es.js +185 -150
- package/dist/ui-kit-postpioneer.umd.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import oe, { forwardRef as D } from "react";
|
|
2
2
|
var B = { exports: {} }, O = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -10,26 +10,26 @@ var B = { exports: {} }, O = {};
|
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
12
|
var K;
|
|
13
|
-
function
|
|
13
|
+
function ce() {
|
|
14
14
|
if (K) return O;
|
|
15
15
|
K = 1;
|
|
16
|
-
var n = Symbol.for("react.transitional.element"),
|
|
17
|
-
function l(i, t,
|
|
16
|
+
var n = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
|
|
17
|
+
function l(i, t, o) {
|
|
18
18
|
var p = null;
|
|
19
|
-
if (
|
|
20
|
-
|
|
19
|
+
if (o !== void 0 && (p = "" + o), t.key !== void 0 && (p = "" + t.key), "key" in t) {
|
|
20
|
+
o = {};
|
|
21
21
|
for (var v in t)
|
|
22
|
-
v !== "key" && (
|
|
23
|
-
} else
|
|
24
|
-
return t =
|
|
22
|
+
v !== "key" && (o[v] = t[v]);
|
|
23
|
+
} else o = t;
|
|
24
|
+
return t = o.ref, {
|
|
25
25
|
$$typeof: n,
|
|
26
26
|
type: i,
|
|
27
27
|
key: p,
|
|
28
28
|
ref: t !== void 0 ? t : null,
|
|
29
|
-
props:
|
|
29
|
+
props: o
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return O.Fragment =
|
|
32
|
+
return O.Fragment = s, O.jsx = l, O.jsxs = l, O;
|
|
33
33
|
}
|
|
34
34
|
var P = {};
|
|
35
35
|
/**
|
|
@@ -41,26 +41,26 @@ var P = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
44
|
+
var ee;
|
|
45
|
+
function ie() {
|
|
46
|
+
return ee || (ee = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
47
|
function n(e) {
|
|
48
48
|
if (e == null) return null;
|
|
49
49
|
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof ===
|
|
50
|
+
return e.$$typeof === ne ? null : e.displayName || e.name || null;
|
|
51
51
|
if (typeof e == "string") return e;
|
|
52
52
|
switch (e) {
|
|
53
53
|
case b:
|
|
54
54
|
return "Fragment";
|
|
55
55
|
case N:
|
|
56
56
|
return "Profiler";
|
|
57
|
-
case
|
|
57
|
+
case y:
|
|
58
58
|
return "StrictMode";
|
|
59
59
|
case G:
|
|
60
60
|
return "Suspense";
|
|
61
61
|
case z:
|
|
62
62
|
return "SuspenseList";
|
|
63
|
-
case
|
|
63
|
+
case ae:
|
|
64
64
|
return "Activity";
|
|
65
65
|
}
|
|
66
66
|
if (typeof e == "object")
|
|
@@ -78,7 +78,7 @@ function i1() {
|
|
|
78
78
|
return e = e.displayName, e || (e = a.displayName || a.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
79
|
case $:
|
|
80
80
|
return a = e.displayName || null, a !== null ? a : n(e.type) || "Memo";
|
|
81
|
-
case
|
|
81
|
+
case Z:
|
|
82
82
|
a = e._payload, e = e._init;
|
|
83
83
|
try {
|
|
84
84
|
return n(e(a));
|
|
@@ -87,29 +87,29 @@ function i1() {
|
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function s(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
93
|
function l(e) {
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
s(e);
|
|
96
96
|
var a = !1;
|
|
97
97
|
} catch {
|
|
98
98
|
a = !0;
|
|
99
99
|
}
|
|
100
100
|
if (a) {
|
|
101
101
|
a = console;
|
|
102
|
-
var
|
|
103
|
-
return
|
|
102
|
+
var c = a.error, _ = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
+
return c.call(
|
|
104
104
|
a,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
_
|
|
107
|
-
),
|
|
107
|
+
), s(e);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function i(e) {
|
|
111
111
|
if (e === b) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === Z)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
115
115
|
var a = n(e);
|
|
@@ -122,7 +122,7 @@ function i1() {
|
|
|
122
122
|
var e = I.A;
|
|
123
123
|
return e === null ? null : e.getOwner();
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function o() {
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
128
|
function p(e) {
|
|
@@ -133,14 +133,14 @@ function i1() {
|
|
|
133
133
|
return e.key !== void 0;
|
|
134
134
|
}
|
|
135
135
|
function v(e, a) {
|
|
136
|
-
function
|
|
136
|
+
function c() {
|
|
137
137
|
U || (U = !0, console.error(
|
|
138
138
|
"%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)",
|
|
139
139
|
a
|
|
140
140
|
));
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
get:
|
|
142
|
+
c.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
+
get: c,
|
|
144
144
|
configurable: !0
|
|
145
145
|
});
|
|
146
146
|
}
|
|
@@ -150,14 +150,14 @@ function i1() {
|
|
|
150
150
|
"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."
|
|
151
151
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
152
|
}
|
|
153
|
-
function R(e, a,
|
|
154
|
-
return
|
|
153
|
+
function R(e, a, c, _, j, g, Y, V) {
|
|
154
|
+
return c = g.ref, e = {
|
|
155
155
|
$$typeof: h,
|
|
156
156
|
type: e,
|
|
157
157
|
key: a,
|
|
158
158
|
props: g,
|
|
159
159
|
_owner: j
|
|
160
|
-
}, (
|
|
160
|
+
}, (c !== void 0 ? c : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
162
|
get: C
|
|
163
163
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
@@ -182,11 +182,11 @@ function i1() {
|
|
|
182
182
|
value: V
|
|
183
183
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
184
|
}
|
|
185
|
-
function w(e, a,
|
|
185
|
+
function w(e, a, c, _, j, g, Y, V) {
|
|
186
186
|
var u = a.children;
|
|
187
187
|
if (u !== void 0)
|
|
188
188
|
if (_)
|
|
189
|
-
if (
|
|
189
|
+
if (te(u)) {
|
|
190
190
|
for (_ = 0; _ < u.length; _++)
|
|
191
191
|
x(u[_]);
|
|
192
192
|
Object.freeze && Object.freeze(u);
|
|
@@ -197,10 +197,10 @@ function i1() {
|
|
|
197
197
|
else x(u);
|
|
198
198
|
if (H.call(a, "key")) {
|
|
199
199
|
u = n(e);
|
|
200
|
-
var
|
|
201
|
-
return
|
|
200
|
+
var E = Object.keys(a).filter(function(se) {
|
|
201
|
+
return se !== "key";
|
|
202
202
|
});
|
|
203
|
-
_ = 0 <
|
|
203
|
+
_ = 0 < E.length ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}", Q[u + _] || (E = 0 < E.length ? "{" + E.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
205
|
let props = %s;
|
|
206
206
|
<%s {...props} />
|
|
@@ -209,17 +209,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
209
209
|
<%s key={someKey} {...props} />`,
|
|
210
210
|
_,
|
|
211
211
|
u,
|
|
212
|
-
|
|
212
|
+
E,
|
|
213
213
|
u
|
|
214
214
|
), Q[u + _] = !0);
|
|
215
215
|
}
|
|
216
|
-
if (u = null,
|
|
217
|
-
|
|
218
|
-
for (var
|
|
219
|
-
|
|
220
|
-
} else
|
|
216
|
+
if (u = null, c !== void 0 && (l(c), u = "" + c), p(a) && (l(a.key), u = "" + a.key), "key" in a) {
|
|
217
|
+
c = {};
|
|
218
|
+
for (var F in a)
|
|
219
|
+
F !== "key" && (c[F] = a[F]);
|
|
220
|
+
} else c = a;
|
|
221
221
|
return u && v(
|
|
222
|
-
|
|
222
|
+
c,
|
|
223
223
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
224
|
), R(
|
|
225
225
|
e,
|
|
@@ -227,7 +227,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
227
227
|
g,
|
|
228
228
|
j,
|
|
229
229
|
t(),
|
|
230
|
-
|
|
230
|
+
c,
|
|
231
231
|
Y,
|
|
232
232
|
V
|
|
233
233
|
);
|
|
@@ -235,7 +235,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
235
235
|
function x(e) {
|
|
236
236
|
typeof e == "object" && e !== null && e.$$typeof === h && e._store && (e._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var m =
|
|
238
|
+
var m = oe, h = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), N = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), S = Symbol.for("react.context"), A = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), z = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), Z = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), ne = Symbol.for("react.client.reference"), I = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, te = Array.isArray, W = console.createTask ? console.createTask : function() {
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
241
|
m = {
|
|
@@ -245,26 +245,26 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
};
|
|
246
246
|
var U, q = {}, J = m.react_stack_bottom_frame.bind(
|
|
247
247
|
m,
|
|
248
|
-
|
|
249
|
-
)(), X = W(i(
|
|
250
|
-
P.Fragment = b, P.jsx = function(e, a,
|
|
248
|
+
o
|
|
249
|
+
)(), X = W(i(o)), Q = {};
|
|
250
|
+
P.Fragment = b, P.jsx = function(e, a, c, _, j) {
|
|
251
251
|
var g = 1e4 > I.recentlyCreatedOwnerStacks++;
|
|
252
252
|
return w(
|
|
253
253
|
e,
|
|
254
254
|
a,
|
|
255
|
-
|
|
255
|
+
c,
|
|
256
256
|
!1,
|
|
257
257
|
_,
|
|
258
258
|
j,
|
|
259
259
|
g ? Error("react-stack-top-frame") : J,
|
|
260
260
|
g ? W(i(e)) : X
|
|
261
261
|
);
|
|
262
|
-
}, P.jsxs = function(e, a,
|
|
262
|
+
}, P.jsxs = function(e, a, c, _, j) {
|
|
263
263
|
var g = 1e4 > I.recentlyCreatedOwnerStacks++;
|
|
264
264
|
return w(
|
|
265
265
|
e,
|
|
266
266
|
a,
|
|
267
|
-
|
|
267
|
+
c,
|
|
268
268
|
!0,
|
|
269
269
|
_,
|
|
270
270
|
j,
|
|
@@ -274,13 +274,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274
274
|
};
|
|
275
275
|
})()), P;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
return
|
|
277
|
+
var re;
|
|
278
|
+
function le() {
|
|
279
|
+
return re || (re = 1, process.env.NODE_ENV === "production" ? B.exports = ce() : B.exports = ie()), B.exports;
|
|
280
280
|
}
|
|
281
|
-
var r =
|
|
282
|
-
const
|
|
283
|
-
({ size: n = 16, color:
|
|
281
|
+
var r = le();
|
|
282
|
+
const _e = D(
|
|
283
|
+
({ size: n = 16, color: s = "currentColor", ...l }, i) => /* @__PURE__ */ r.jsx(
|
|
284
284
|
"svg",
|
|
285
285
|
{
|
|
286
286
|
ref: i,
|
|
@@ -296,20 +296,20 @@ const _1 = F(
|
|
|
296
296
|
fillRule: "evenodd",
|
|
297
297
|
clipRule: "evenodd",
|
|
298
298
|
d: "M4.00002 2.59978C3.62872 2.59978 3.27263 2.74728 3.01007 3.00983C2.74752 3.27238 2.60002 3.62848 2.60002 3.99978V9.21797L4.90909 6.9089L4.91733 6.90082C5.31675 6.51647 5.80518 6.28666 6.33336 6.28666C6.86154 6.28666 7.34997 6.51647 7.74939 6.90082L7.75762 6.9089L9.33336 8.48463L9.57576 8.24223L9.58399 8.23416C9.98341 7.8498 10.4718 7.62 11 7.62C11.5282 7.62 12.0166 7.8498 12.4161 8.23416L12.4243 8.24223L13.4 9.21797V3.99978C13.4 3.62848 13.2525 3.27238 12.99 3.00983C12.7274 2.74728 12.3713 2.59978 12 2.59978H4.00002ZM14.6 3.99978C14.6 3.31022 14.3261 2.6489 13.8385 2.1613C13.3509 1.67371 12.6896 1.39978 12 1.39978H4.00002C3.31046 1.39978 2.64914 1.67371 2.16155 2.1613C1.67395 2.6489 1.40002 3.31022 1.40002 3.99978V10.6664C1.40002 10.6663 1.40002 10.6665 1.40002 10.6664V11.9998C1.40002 12.6893 1.67395 13.3507 2.16155 13.8383C2.64914 14.3259 3.31046 14.5998 4.00002 14.5998H12C12.6896 14.5998 13.3509 14.3259 13.8385 13.8383C14.3261 13.3507 14.6 12.6893 14.6 11.9998V3.99978ZM13.4 10.915L11.5802 9.09517C11.3624 8.88707 11.1616 8.82 11 8.82C10.8385 8.82 10.6377 8.88707 10.4199 9.09517L10.1819 9.33316L11.091 10.2422C11.3253 10.4765 11.3253 10.8564 11.091 11.0908C10.8566 11.3251 10.4767 11.3251 10.2424 11.0908L8.90933 9.75766L6.91351 7.76184C6.69573 7.55374 6.4949 7.48666 6.33336 7.48666C6.17181 7.48666 5.97098 7.55374 5.75321 7.76184L2.60002 10.915V11.9998C2.60002 12.3711 2.74752 12.7272 3.01007 12.9897C3.27263 13.2523 3.62872 13.3998 4.00002 13.3998H12C12.3713 13.3998 12.7274 13.2523 12.99 12.9897C13.2525 12.7272 13.4 12.3711 13.4 11.9998V10.915ZM9.40002 5.33311C9.40002 5.00174 9.66865 4.73311 10 4.73311H10.0067C10.3381 4.73311 10.6067 5.00174 10.6067 5.33311C10.6067 5.66448 10.3381 5.93311 10.0067 5.93311H10C9.66865 5.93311 9.40002 5.66448 9.40002 5.33311Z",
|
|
299
|
-
fill:
|
|
299
|
+
fill: s
|
|
300
300
|
}
|
|
301
301
|
)
|
|
302
302
|
}
|
|
303
303
|
)
|
|
304
304
|
);
|
|
305
|
-
|
|
306
|
-
const
|
|
307
|
-
({ width: n = "12", height:
|
|
305
|
+
_e.displayName = "SwapIcon";
|
|
306
|
+
const ue = D(
|
|
307
|
+
({ width: n = "12", height: s = "14", color: l = "currentColor", ...i }, t) => /* @__PURE__ */ r.jsx(
|
|
308
308
|
"svg",
|
|
309
309
|
{
|
|
310
310
|
ref: t,
|
|
311
311
|
width: n,
|
|
312
|
-
height:
|
|
312
|
+
height: s,
|
|
313
313
|
viewBox: "0 0 16 16",
|
|
314
314
|
fill: "none",
|
|
315
315
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -326,9 +326,9 @@ const u1 = F(
|
|
|
326
326
|
}
|
|
327
327
|
)
|
|
328
328
|
);
|
|
329
|
-
|
|
330
|
-
const
|
|
331
|
-
focus:
|
|
329
|
+
ue.displayName = "AlertsBellIcon";
|
|
330
|
+
const de = "_focus_pvl5h_549", pe = "_swap_pvl5h_631", ve = "_swap__content_pvl5h_687", he = "_avatar_pvl5h_779", fe = "_avatar__content_pvl5h_832", we = "_avatar__image_pvl5h_840", ge = "_avatar__initials_pvl5h_846", Ce = "_avatar__placeholder_pvl5h_875", me = "_avatar__status_pvl5h_906", xe = "_avatarWithBorder_pvl5h_938", be = "_avatarWithBorder__svg_pvl5h_945", je = "_avatarWithBorder__content_pvl5h_981", k = {
|
|
331
|
+
focus: de,
|
|
332
332
|
"focus--default": "_focus--default_pvl5h_566",
|
|
333
333
|
"focus--danger": "_focus--danger_pvl5h_570",
|
|
334
334
|
"focus--visible": "_focus--visible_pvl5h_576",
|
|
@@ -338,7 +338,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
338
338
|
"focus--input": "_focus--input_pvl5h_606",
|
|
339
339
|
"focus--button": "_focus--button_pvl5h_611",
|
|
340
340
|
"focus--card": "_focus--card_pvl5h_616",
|
|
341
|
-
swap:
|
|
341
|
+
swap: pe,
|
|
342
342
|
"swap--text": "_swap--text_pvl5h_640",
|
|
343
343
|
"swap--icon": "_swap--icon_pvl5h_651",
|
|
344
344
|
"swap--icon-xs": "_swap--icon-xs_pvl5h_661",
|
|
@@ -346,13 +346,13 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
346
346
|
"swap--icon-m": "_swap--icon-m_pvl5h_671",
|
|
347
347
|
"swap--icon-l": "_swap--icon-l_pvl5h_676",
|
|
348
348
|
"swap--icon-xl": "_swap--icon-xl_pvl5h_681",
|
|
349
|
-
swap__content:
|
|
349
|
+
swap__content: ve,
|
|
350
350
|
"swap--group-horizontal": "_swap--group-horizontal_pvl5h_696",
|
|
351
351
|
"swap--group-vertical": "_swap--group-vertical_pvl5h_703",
|
|
352
352
|
"swap--with-background": "_swap--with-background_pvl5h_711",
|
|
353
353
|
"swap--with-border": "_swap--with-border_pvl5h_717",
|
|
354
354
|
"swap--interactive": "_swap--interactive_pvl5h_725",
|
|
355
|
-
avatar:
|
|
355
|
+
avatar: he,
|
|
356
356
|
"avatar--xs": "_avatar--xs_pvl5h_791",
|
|
357
357
|
"avatar--s": "_avatar--s_pvl5h_797",
|
|
358
358
|
"avatar--m": "_avatar--m_pvl5h_803",
|
|
@@ -360,21 +360,21 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
360
360
|
"avatar--xl": "_avatar--xl_pvl5h_815",
|
|
361
361
|
"avatar--xxl": "_avatar--xxl_pvl5h_821",
|
|
362
362
|
"avatar--bordered": "_avatar--bordered_pvl5h_827",
|
|
363
|
-
avatar__content:
|
|
364
|
-
avatar__image:
|
|
365
|
-
avatar__initials:
|
|
366
|
-
avatar__placeholder:
|
|
367
|
-
avatar__status:
|
|
368
|
-
avatarWithBorder:
|
|
369
|
-
avatarWithBorder__svg:
|
|
370
|
-
avatarWithBorder__content:
|
|
371
|
-
},
|
|
363
|
+
avatar__content: fe,
|
|
364
|
+
avatar__image: we,
|
|
365
|
+
avatar__initials: ge,
|
|
366
|
+
avatar__placeholder: Ce,
|
|
367
|
+
avatar__status: me,
|
|
368
|
+
avatarWithBorder: xe,
|
|
369
|
+
avatarWithBorder__svg: be,
|
|
370
|
+
avatarWithBorder__content: je
|
|
371
|
+
}, ke = ({
|
|
372
372
|
src: n,
|
|
373
|
-
name:
|
|
373
|
+
name: s,
|
|
374
374
|
size: l = "m",
|
|
375
375
|
status: i = null,
|
|
376
376
|
bordered: t = !1,
|
|
377
|
-
backgroundColor:
|
|
377
|
+
backgroundColor: o,
|
|
378
378
|
className: p = "",
|
|
379
379
|
onError: v
|
|
380
380
|
}) => {
|
|
@@ -382,8 +382,8 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
382
382
|
const f = h.trim().split(" ");
|
|
383
383
|
return f.length === 1 ? f[0].charAt(0).toUpperCase() : `${f[0].charAt(0)}${f[f.length - 1].charAt(0)}`.toUpperCase();
|
|
384
384
|
}, R = () => {
|
|
385
|
-
if (
|
|
386
|
-
if (
|
|
385
|
+
if (o) return o;
|
|
386
|
+
if (s) {
|
|
387
387
|
const h = [
|
|
388
388
|
"var(--color-blue-gray-600)",
|
|
389
389
|
"var(--color-indigo-600)",
|
|
@@ -401,7 +401,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
401
401
|
"var(--color-yellow-600)",
|
|
402
402
|
"var(--color-rose-600)",
|
|
403
403
|
"var(--color-pink-600)"
|
|
404
|
-
], f =
|
|
404
|
+
], f = s.split("").reduce((b, y) => b + y.charCodeAt(0), 0);
|
|
405
405
|
return h[f % h.length];
|
|
406
406
|
}
|
|
407
407
|
return "var(--color-blue-gray-300)";
|
|
@@ -421,13 +421,13 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
421
421
|
"img",
|
|
422
422
|
{
|
|
423
423
|
src: n,
|
|
424
|
-
alt:
|
|
424
|
+
alt: s ? `${s} avatar` : "Avatar",
|
|
425
425
|
className: k.avatar__image,
|
|
426
426
|
onError: v
|
|
427
427
|
}
|
|
428
428
|
);
|
|
429
|
-
if (
|
|
430
|
-
const h = C(
|
|
429
|
+
if (s) {
|
|
430
|
+
const h = C(s);
|
|
431
431
|
return /* @__PURE__ */ r.jsx(
|
|
432
432
|
"div",
|
|
433
433
|
{
|
|
@@ -463,19 +463,19 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
463
463
|
}
|
|
464
464
|
)
|
|
465
465
|
] });
|
|
466
|
-
},
|
|
467
|
-
avatarGroup:
|
|
466
|
+
}, Re = "_avatarGroup_1teei_779", ye = "_avatarGroup__item_1teei_783", Ee = "_avatarGroup__more_1teei_794", L = {
|
|
467
|
+
avatarGroup: Re,
|
|
468
468
|
"avatarGroup--overlap": "_avatarGroup--overlap_1teei_783",
|
|
469
|
-
avatarGroup__item:
|
|
470
|
-
avatarGroup__more:
|
|
471
|
-
},
|
|
469
|
+
avatarGroup__item: ye,
|
|
470
|
+
avatarGroup__more: Ee
|
|
471
|
+
}, i1 = ({
|
|
472
472
|
items: n,
|
|
473
|
-
max:
|
|
473
|
+
max: s = 5,
|
|
474
474
|
size: l = "m",
|
|
475
475
|
overlap: i = !0,
|
|
476
476
|
className: t = ""
|
|
477
477
|
}) => {
|
|
478
|
-
const
|
|
478
|
+
const o = n.slice(0, s), p = n.length - o.length;
|
|
479
479
|
return /* @__PURE__ */ r.jsxs(
|
|
480
480
|
"div",
|
|
481
481
|
{
|
|
@@ -485,7 +485,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
485
485
|
t
|
|
486
486
|
].filter(Boolean).join(" "),
|
|
487
487
|
children: [
|
|
488
|
-
|
|
488
|
+
o.map((v, C) => /* @__PURE__ */ r.jsx("div", { className: L.avatarGroup__item, children: /* @__PURE__ */ r.jsx(ke, { ...v, size: l }) }, C)),
|
|
489
489
|
p > 0 && /* @__PURE__ */ r.jsxs("div", { className: `${L.avatarGroup__item} ${L.avatarGroup__more}`, children: [
|
|
490
490
|
"+",
|
|
491
491
|
p
|
|
@@ -493,8 +493,42 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
493
493
|
]
|
|
494
494
|
}
|
|
495
495
|
);
|
|
496
|
-
},
|
|
497
|
-
|
|
496
|
+
}, l1 = ({
|
|
497
|
+
size: n = 80,
|
|
498
|
+
borderColor: s = "#D6DDFF",
|
|
499
|
+
borderWidth: l = 2,
|
|
500
|
+
borderStyle: i = "dashed",
|
|
501
|
+
children: t
|
|
502
|
+
}) => /* @__PURE__ */ r.jsx(
|
|
503
|
+
"div",
|
|
504
|
+
{
|
|
505
|
+
style: {
|
|
506
|
+
width: n,
|
|
507
|
+
height: n,
|
|
508
|
+
borderRadius: "50%",
|
|
509
|
+
border: `${l}px ${i} ${s}`,
|
|
510
|
+
padding: l,
|
|
511
|
+
boxSizing: "border-box",
|
|
512
|
+
display: "flex",
|
|
513
|
+
alignItems: "center",
|
|
514
|
+
justifyContent: "center",
|
|
515
|
+
overflow: "hidden"
|
|
516
|
+
},
|
|
517
|
+
children: /* @__PURE__ */ r.jsx(
|
|
518
|
+
"div",
|
|
519
|
+
{
|
|
520
|
+
style: {
|
|
521
|
+
width: "100%",
|
|
522
|
+
height: "100%",
|
|
523
|
+
borderRadius: "50%",
|
|
524
|
+
overflow: "hidden"
|
|
525
|
+
},
|
|
526
|
+
children: t
|
|
527
|
+
}
|
|
528
|
+
)
|
|
529
|
+
}
|
|
530
|
+
), Te = "_focus_1ckja_549", Ne = "_swap_1ckja_631", Se = "_swap__content_1ckja_687", Ae = "_spinner_1ckja_779", Oe = "_spinner__label_1ckja_841", T = {
|
|
531
|
+
focus: Te,
|
|
498
532
|
"focus--default": "_focus--default_1ckja_566",
|
|
499
533
|
"focus--danger": "_focus--danger_1ckja_570",
|
|
500
534
|
"focus--visible": "_focus--visible_1ckja_576",
|
|
@@ -504,7 +538,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
504
538
|
"focus--input": "_focus--input_1ckja_606",
|
|
505
539
|
"focus--button": "_focus--button_1ckja_611",
|
|
506
540
|
"focus--card": "_focus--card_1ckja_616",
|
|
507
|
-
swap:
|
|
541
|
+
swap: Ne,
|
|
508
542
|
"swap--text": "_swap--text_1ckja_640",
|
|
509
543
|
"swap--icon": "_swap--icon_1ckja_651",
|
|
510
544
|
"swap--icon-xs": "_swap--icon-xs_1ckja_661",
|
|
@@ -512,7 +546,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
512
546
|
"swap--icon-m": "_swap--icon-m_1ckja_671",
|
|
513
547
|
"swap--icon-l": "_swap--icon-l_1ckja_676",
|
|
514
548
|
"swap--icon-xl": "_swap--icon-xl_1ckja_681",
|
|
515
|
-
swap__content:
|
|
549
|
+
swap__content: Se,
|
|
516
550
|
"swap--group-horizontal": "_swap--group-horizontal_1ckja_696",
|
|
517
551
|
"swap--group-vertical": "_swap--group-vertical_1ckja_703",
|
|
518
552
|
"swap--with-background": "_swap--with-background_1ckja_711",
|
|
@@ -523,7 +557,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
523
557
|
"spinner-container--label-bottom": "_spinner-container--label-bottom_1ckja_788",
|
|
524
558
|
"spinner-container--label-left": "_spinner-container--label-left_1ckja_792",
|
|
525
559
|
"spinner-container--label-right": "_spinner-container--label-right_1ckja_796",
|
|
526
|
-
spinner:
|
|
560
|
+
spinner: Ae,
|
|
527
561
|
"spinner-rotate": "_spinner-rotate_1ckja_1",
|
|
528
562
|
"spinner--primary": "_spinner--primary_1ckja_807",
|
|
529
563
|
"spinner--inverse": "_spinner--inverse_1ckja_810",
|
|
@@ -534,23 +568,23 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
534
568
|
"spinner--m": "_spinner--m_1ckja_824",
|
|
535
569
|
"spinner--l": "_spinner--l_1ckja_832",
|
|
536
570
|
"spinner--xl": "_spinner--xl_1ckja_836",
|
|
537
|
-
spinner__label:
|
|
571
|
+
spinner__label: Oe,
|
|
538
572
|
"spinner-svg": "_spinner-svg_1ckja_856"
|
|
539
|
-
},
|
|
573
|
+
}, Pe = ({
|
|
540
574
|
size: n = "m",
|
|
541
|
-
color:
|
|
575
|
+
color: s,
|
|
542
576
|
className: l = "",
|
|
543
577
|
label: i,
|
|
544
578
|
labelPosition: t = "bottom"
|
|
545
579
|
}) => {
|
|
546
|
-
const
|
|
580
|
+
const o = !!i, p = [
|
|
547
581
|
T["spinner-container"],
|
|
548
|
-
|
|
582
|
+
o && T[`spinner-container--label-${t}`],
|
|
549
583
|
l
|
|
550
584
|
].filter(Boolean).join(" "), v = [
|
|
551
585
|
T.spinner,
|
|
552
586
|
T[`spinner--${n}`],
|
|
553
|
-
T[`spinner--${
|
|
587
|
+
T[`spinner--${s}`]
|
|
554
588
|
].filter(Boolean).join(" "), C = () => {
|
|
555
589
|
switch (n) {
|
|
556
590
|
case "xs":
|
|
@@ -573,8 +607,8 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
573
607
|
/* @__PURE__ */ r.jsx("div", { className: v, children: C() }),
|
|
574
608
|
i && /* @__PURE__ */ r.jsx("span", { className: T.spinner__label, "aria-hidden": "true", children: i })
|
|
575
609
|
] });
|
|
576
|
-
},
|
|
577
|
-
focus:
|
|
610
|
+
}, Le = "_focus_3ghds_549", $e = "_swap_3ghds_631", Be = "_swap__content_3ghds_687", Me = "_button_3ghds_779", Ge = "_sizeL_3ghds_803", ze = "_sizeM_3ghds_809", Ie = "_sizeS_3ghds_815", We = "_iconOnly_3ghds_821", Ye = "_primary_3ghds_833", Ve = "_disabled_3ghds_838", Fe = "_count_3ghds_852", De = "_secondary_3ghds_856", Ze = "_ghost_3ghds_879", He = "_link_3ghds_902", Ue = "_dangerPrimary_3ghds_931", qe = "_dangerSecondary_3ghds_957", Je = "_dangerGhost_3ghds_983", Xe = "_dangerLink_3ghds_1009", Qe = "_open_3ghds_1036", Ke = "_content_3ghds_1048", e1 = "_loader_3ghds_1053", r1 = "_text_3ghds_1059", a1 = "_icon_3ghds_821", n1 = "_chevron_3ghds_1086", t1 = "_loading_3ghds_1114", d = {
|
|
611
|
+
focus: Le,
|
|
578
612
|
"focus--default": "_focus--default_3ghds_566",
|
|
579
613
|
"focus--danger": "_focus--danger_3ghds_570",
|
|
580
614
|
"focus--visible": "_focus--visible_3ghds_576",
|
|
@@ -584,7 +618,7 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
584
618
|
"focus--input": "_focus--input_3ghds_606",
|
|
585
619
|
"focus--button": "_focus--button_3ghds_611",
|
|
586
620
|
"focus--card": "_focus--card_3ghds_616",
|
|
587
|
-
swap: $
|
|
621
|
+
swap: $e,
|
|
588
622
|
"swap--text": "_swap--text_3ghds_640",
|
|
589
623
|
"swap--icon": "_swap--icon_3ghds_651",
|
|
590
624
|
"swap--icon-xs": "_swap--icon-xs_3ghds_661",
|
|
@@ -592,35 +626,35 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
592
626
|
"swap--icon-m": "_swap--icon-m_3ghds_671",
|
|
593
627
|
"swap--icon-l": "_swap--icon-l_3ghds_676",
|
|
594
628
|
"swap--icon-xl": "_swap--icon-xl_3ghds_681",
|
|
595
|
-
swap__content:
|
|
629
|
+
swap__content: Be,
|
|
596
630
|
"swap--group-horizontal": "_swap--group-horizontal_3ghds_696",
|
|
597
631
|
"swap--group-vertical": "_swap--group-vertical_3ghds_703",
|
|
598
632
|
"swap--with-background": "_swap--with-background_3ghds_711",
|
|
599
633
|
"swap--with-border": "_swap--with-border_3ghds_717",
|
|
600
634
|
"swap--interactive": "_swap--interactive_3ghds_725",
|
|
601
|
-
button:
|
|
602
|
-
sizeL:
|
|
603
|
-
sizeM:
|
|
604
|
-
sizeS:
|
|
605
|
-
iconOnly:
|
|
606
|
-
primary:
|
|
607
|
-
disabled:
|
|
608
|
-
count:
|
|
609
|
-
secondary:
|
|
610
|
-
ghost:
|
|
611
|
-
link:
|
|
612
|
-
dangerPrimary:
|
|
613
|
-
dangerSecondary:
|
|
614
|
-
dangerGhost:
|
|
615
|
-
dangerLink:
|
|
616
|
-
open:
|
|
617
|
-
content:
|
|
618
|
-
loader:
|
|
619
|
-
text:
|
|
620
|
-
icon:
|
|
621
|
-
chevron:
|
|
622
|
-
loading:
|
|
623
|
-
},
|
|
635
|
+
button: Me,
|
|
636
|
+
sizeL: Ge,
|
|
637
|
+
sizeM: ze,
|
|
638
|
+
sizeS: Ie,
|
|
639
|
+
iconOnly: We,
|
|
640
|
+
primary: Ye,
|
|
641
|
+
disabled: Ve,
|
|
642
|
+
count: Fe,
|
|
643
|
+
secondary: De,
|
|
644
|
+
ghost: Ze,
|
|
645
|
+
link: He,
|
|
646
|
+
dangerPrimary: Ue,
|
|
647
|
+
dangerSecondary: qe,
|
|
648
|
+
dangerGhost: Je,
|
|
649
|
+
dangerLink: Xe,
|
|
650
|
+
open: Qe,
|
|
651
|
+
content: Ke,
|
|
652
|
+
loader: e1,
|
|
653
|
+
text: r1,
|
|
654
|
+
icon: a1,
|
|
655
|
+
chevron: n1,
|
|
656
|
+
loading: t1
|
|
657
|
+
}, s1 = (n) => {
|
|
624
658
|
switch (n) {
|
|
625
659
|
case "l":
|
|
626
660
|
return "m";
|
|
@@ -631,13 +665,13 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
631
665
|
default:
|
|
632
666
|
return "s";
|
|
633
667
|
}
|
|
634
|
-
},
|
|
635
|
-
(n,
|
|
668
|
+
}, o1 = D(
|
|
669
|
+
(n, s) => {
|
|
636
670
|
const {
|
|
637
671
|
size: l = "m",
|
|
638
672
|
variant: i = "primary",
|
|
639
673
|
disabled: t = !1,
|
|
640
|
-
loading:
|
|
674
|
+
loading: o = !1,
|
|
641
675
|
active: p = !1,
|
|
642
676
|
open: v = !1,
|
|
643
677
|
className: C = "",
|
|
@@ -648,13 +682,13 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
648
682
|
count: h,
|
|
649
683
|
withChevron: f = !1,
|
|
650
684
|
href: b,
|
|
651
|
-
...
|
|
685
|
+
...y
|
|
652
686
|
} = n, N = x === "only" || !R && w, M = f && !N, S = [
|
|
653
687
|
d.button,
|
|
654
688
|
d[`size${l.toUpperCase()}`],
|
|
655
689
|
d[i],
|
|
656
690
|
t && d.disabled,
|
|
657
|
-
|
|
691
|
+
o && d.loading,
|
|
658
692
|
p && d.active,
|
|
659
693
|
v && d.open,
|
|
660
694
|
N && d.iconOnly,
|
|
@@ -667,14 +701,14 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
667
701
|
M && /* @__PURE__ */ r.jsx("span", { className: d.chevron }),
|
|
668
702
|
h !== void 0 && /* @__PURE__ */ r.jsx("span", { className: d.count, children: h > 99 ? "+99" : h })
|
|
669
703
|
] }),
|
|
670
|
-
|
|
704
|
+
o && /* @__PURE__ */ r.jsx("span", { className: d.loader, children: /* @__PURE__ */ r.jsx(Pe, { size: s1(l) }) })
|
|
671
705
|
] });
|
|
672
706
|
if (b) {
|
|
673
|
-
const $ =
|
|
674
|
-
return t ||
|
|
707
|
+
const $ = y;
|
|
708
|
+
return t || o ? /* @__PURE__ */ r.jsx("span", { className: S, ...$, children: A() }) : /* @__PURE__ */ r.jsx(
|
|
675
709
|
"a",
|
|
676
710
|
{
|
|
677
|
-
ref:
|
|
711
|
+
ref: s,
|
|
678
712
|
href: b,
|
|
679
713
|
className: S,
|
|
680
714
|
...$,
|
|
@@ -682,14 +716,14 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
682
716
|
}
|
|
683
717
|
);
|
|
684
718
|
}
|
|
685
|
-
const { type: G = "button", ...z } =
|
|
719
|
+
const { type: G = "button", ...z } = y;
|
|
686
720
|
return /* @__PURE__ */ r.jsx(
|
|
687
721
|
"button",
|
|
688
722
|
{
|
|
689
|
-
ref:
|
|
723
|
+
ref: s,
|
|
690
724
|
type: G,
|
|
691
725
|
className: S,
|
|
692
|
-
disabled: t ||
|
|
726
|
+
disabled: t || o,
|
|
693
727
|
"aria-label": N && m ? m : void 0,
|
|
694
728
|
...z,
|
|
695
729
|
children: A()
|
|
@@ -697,12 +731,13 @@ const d1 = "_focus_pvl5h_549", p1 = "_swap_pvl5h_631", v1 = "_swap__content_pvl5
|
|
|
697
731
|
);
|
|
698
732
|
}
|
|
699
733
|
);
|
|
700
|
-
|
|
734
|
+
o1.displayName = "Button";
|
|
701
735
|
export {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
736
|
+
ue as AlertsBellIcon,
|
|
737
|
+
ke as Avatar,
|
|
738
|
+
i1 as AvatarGroup,
|
|
739
|
+
l1 as AvatarWithCssBorder,
|
|
740
|
+
o1 as Button,
|
|
741
|
+
Pe as Spinner,
|
|
742
|
+
_e as SwapIcon
|
|
708
743
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(v,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],x):(v=typeof globalThis<"u"?globalThis:v||self,x(v.PostPioneerUI={},v.React))})(this,(function(v,x){"use strict";var G={exports:{}},A={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var U;function ie(){if(U)return A;U=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function l(i,t,o){var p=null;if(o!==void 0&&(p=""+o),t.key!==void 0&&(p=""+t.key),"key"in t){o={};for(var h in t)h!=="key"&&(o[h]=t[h])}else o=t;return t=o.ref,{$$typeof:n,type:i,key:p,ref:t!==void 0?t:null,props:o}}return A.Fragment=s,A.jsx=l,A.jsxs=l,A}var O={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var H;function
|
|
17
|
+
*/var H;function le(){return H||(H=1,process.env.NODE_ENV!=="production"&&(function(){function n(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===he?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case R:return"Fragment";case L:return"Profiler";case S:return"StrictMode";case I:return"Suspense";case W:return"SuspenseList";case ve:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case w:return"Portal";case B:return(e.displayName||"Context")+".Provider";case z:return(e._context.displayName||"Context")+".Consumer";case $:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case M:return a=e.displayName||null,a!==null?a:n(e.type)||"Memo";case re:a=e._payload,e=e._init;try{return n(e(a))}catch{}}return null}function s(e){return""+e}function l(e){try{s(e);var a=!1}catch{a=!0}if(a){a=console;var c=a.error,_=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return c.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",_),s(e)}}function i(e){if(e===R)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===re)return"<...>";try{var a=n(e);return a?"<"+a+">":"<...>"}catch{return"<...>"}}function t(){var e=Y.A;return e===null?null:e.getOwner()}function o(){return Error("react-stack-top-frame")}function p(e){if(ae.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function h(e,a){function c(){ne||(ne=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",a))}c.isReactWarning=!0,Object.defineProperty(e,"key",{get:c,configurable:!0})}function m(){var e=n(this.type);return te[e]||(te[e]=!0,console.error("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.")),e=this.props.ref,e!==void 0?e:null}function E(e,a,c,_,y,C,F,D){return c=C.ref,e={$$typeof:f,type:e,key:a,props:C,_owner:y},(c!==void 0?c:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:m}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:F}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:D}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function g(e,a,c,_,y,C,F,D){var u=a.children;if(u!==void 0)if(_)if(fe(u)){for(_=0;_<u.length;_++)k(u[_]);Object.freeze&&Object.freeze(u)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else k(u);if(ae.call(a,"key")){u=n(e);var N=Object.keys(a).filter(function(we){return we!=="key"});_=0<N.length?"{key: someKey, "+N.join(": ..., ")+": ...}":"{key: someKey}",ce[u+_]||(N=0<N.length?"{"+N.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,l,u,N,u),ce[u+l]=!0)}if(u=null,o!==void 0&&(_(o),u=""+o),p(a)&&(_(a.key),u=""+a.key),"key"in a){o={};for(var U in a)U!=="key"&&(o[U]=a[U])}else o=a;return u&&v(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),E(e,u,C,y,t(),o,Z,F)}function k(e){typeof e=="object"&&e!==null&&e.$$typeof===h&&e._store&&(e._store.validated=1)}var b=x,h=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),B=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),pe=Symbol.for("react.activity"),ve=Symbol.for("react.client.reference"),Y=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,he=Array.isArray,V=console.createTask?console.createTask:function(){return null};b={react_stack_bottom_frame:function(e){return e()}};var ne,te={},se=b.react_stack_bottom_frame.bind(b,s)(),oe=V(i(s)),ce={};O.Fragment=R,O.jsx=function(e,a,o,l,y){var C=1e4>Y.recentlyCreatedOwnerStacks++;return g(e,a,o,!1,l,y,C?Error("react-stack-top-frame"):se,C?V(i(e)):oe)},O.jsxs=function(e,a,o,l,y){var C=1e4>Y.recentlyCreatedOwnerStacks++;return g(e,a,o,!0,l,y,C?Error("react-stack-top-frame"):se,C?V(i(e)):oe)}})()),O}var J;function le(){return J||(J=1,process.env.NODE_ENV==="production"?$.exports=ie():$.exports=_e()),$.exports}var r=le();const q=x.forwardRef(({size:n=16,color:c="currentColor",..._},i)=>r.jsx("svg",{ref:i,width:n,height:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.00002 2.59978C3.62872 2.59978 3.27263 2.74728 3.01007 3.00983C2.74752 3.27238 2.60002 3.62848 2.60002 3.99978V9.21797L4.90909 6.9089L4.91733 6.90082C5.31675 6.51647 5.80518 6.28666 6.33336 6.28666C6.86154 6.28666 7.34997 6.51647 7.74939 6.90082L7.75762 6.9089L9.33336 8.48463L9.57576 8.24223L9.58399 8.23416C9.98341 7.8498 10.4718 7.62 11 7.62C11.5282 7.62 12.0166 7.8498 12.4161 8.23416L12.4243 8.24223L13.4 9.21797V3.99978C13.4 3.62848 13.2525 3.27238 12.99 3.00983C12.7274 2.74728 12.3713 2.59978 12 2.59978H4.00002ZM14.6 3.99978C14.6 3.31022 14.3261 2.6489 13.8385 2.1613C13.3509 1.67371 12.6896 1.39978 12 1.39978H4.00002C3.31046 1.39978 2.64914 1.67371 2.16155 2.1613C1.67395 2.6489 1.40002 3.31022 1.40002 3.99978V10.6664C1.40002 10.6663 1.40002 10.6665 1.40002 10.6664V11.9998C1.40002 12.6893 1.67395 13.3507 2.16155 13.8383C2.64914 14.3259 3.31046 14.5998 4.00002 14.5998H12C12.6896 14.5998 13.3509 14.3259 13.8385 13.8383C14.3261 13.3507 14.6 12.6893 14.6 11.9998V3.99978ZM13.4 10.915L11.5802 9.09517C11.3624 8.88707 11.1616 8.82 11 8.82C10.8385 8.82 10.6377 8.88707 10.4199 9.09517L10.1819 9.33316L11.091 10.2422C11.3253 10.4765 11.3253 10.8564 11.091 11.0908C10.8566 11.3251 10.4767 11.3251 10.2424 11.0908L8.90933 9.75766L6.91351 7.76184C6.69573 7.55374 6.4949 7.48666 6.33336 7.48666C6.17181 7.48666 5.97098 7.55374 5.75321 7.76184L2.60002 10.915V11.9998C2.60002 12.3711 2.74752 12.7272 3.01007 12.9897C3.27263 13.2523 3.62872 13.3998 4.00002 13.3998H12C12.3713 13.3998 12.7274 13.2523 12.99 12.9897C13.2525 12.7272 13.4 12.3711 13.4 11.9998V10.915ZM9.40002 5.33311C9.40002 5.00174 9.66865 4.73311 10 4.73311H10.0067C10.3381 4.73311 10.6067 5.00174 10.6067 5.33311C10.6067 5.66448 10.3381 5.93311 10.0067 5.93311H10C9.66865 5.93311 9.40002 5.66448 9.40002 5.33311Z",fill:c})}));q.displayName="SwapIcon";const X=x.forwardRef(({width:n="12",height:c="14",color:_="currentColor",...i},t)=>r.jsx("svg",{ref:t,width:n,height:c,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.99981 1.15596C5.58486 1.15596 5.26071 1.5097 5.26071 1.92999C5.26071 2.35027 5.58486 2.70401 5.99981 2.70401C6.41476 2.70401 6.73892 2.35027 6.73892 1.92999C6.73892 1.5097 6.41476 1.15596 5.99981 1.15596ZM7.52625 2.97883C7.71034 2.67766 7.81761 2.31796 7.81761 1.92999C7.81761 0.85689 6.99699 0 5.99981 0C5.00263 0 4.18202 0.85689 4.18202 1.92999C4.18202 2.31929 4.29002 2.68014 4.47528 2.98194C2.71018 3.64815 1.44259 5.43858 1.44112 7.54918L1.42653 8.81527L1.42649 8.81526V8.8224C1.42649 9.53493 1.14719 10.142 0.840751 10.5707L1.26889 10.9222L0.84075 10.5707C0.618394 10.8817 0.637558 11.2617 0.739392 11.5238C0.841825 11.7874 1.09897 12.0987 1.50984 12.0987H3.60896C3.87007 13.2133 4.87 14 5.99981 14C7.12962 14 8.12956 13.2133 8.39066 12.0987H10.4904C10.8945 12.0987 11.1518 11.7969 11.2567 11.5349C11.3609 11.2749 11.3821 10.9009 11.1691 10.5902C10.8762 10.163 10.604 9.55005 10.6031 8.826L10.6177 7.62328L10.6177 7.62328V7.61577C10.6177 5.46908 9.32466 3.6487 7.52625 2.97883ZM7.23799 12.0987H4.76163C4.97941 12.5276 5.43354 12.844 5.99981 12.844C6.56608 12.844 7.02021 12.5276 7.23799 12.0987ZM5.99981 3.85997C4.07353 3.85997 2.51981 5.51795 2.51981 7.55286V7.55999L2.51977 7.55999L2.50518 8.82612C2.50439 9.67736 2.23203 10.3999 1.91215 10.9428H10.093C9.78555 10.3984 9.52439 9.67423 9.52439 8.8224V8.81489L9.52444 8.81489L9.53902 7.61212C9.53716 5.54413 7.95764 3.85997 5.99981 3.85997Z",fill:"currentColor"})}));X.displayName="AlertsBellIcon";const j={focus:"_focus_pvl5h_549","focus--default":"_focus--default_pvl5h_566","focus--danger":"_focus--danger_pvl5h_570","focus--visible":"_focus--visible_pvl5h_576","focus-danger":"_focus-danger_pvl5h_591","focus-within--default":"_focus-within--default_pvl5h_597","focus-within--danger":"_focus-within--danger_pvl5h_601","focus--input":"_focus--input_pvl5h_606","focus--button":"_focus--button_pvl5h_611","focus--card":"_focus--card_pvl5h_616",swap:"_swap_pvl5h_631","swap--text":"_swap--text_pvl5h_640","swap--icon":"_swap--icon_pvl5h_651","swap--icon-xs":"_swap--icon-xs_pvl5h_661","swap--icon-s":"_swap--icon-s_pvl5h_666","swap--icon-m":"_swap--icon-m_pvl5h_671","swap--icon-l":"_swap--icon-l_pvl5h_676","swap--icon-xl":"_swap--icon-xl_pvl5h_681",swap__content:"_swap__content_pvl5h_687","swap--group-horizontal":"_swap--group-horizontal_pvl5h_696","swap--group-vertical":"_swap--group-vertical_pvl5h_703","swap--with-background":"_swap--with-background_pvl5h_711","swap--with-border":"_swap--with-border_pvl5h_717","swap--interactive":"_swap--interactive_pvl5h_725",avatar:"_avatar_pvl5h_779","avatar--xs":"_avatar--xs_pvl5h_791","avatar--s":"_avatar--s_pvl5h_797","avatar--m":"_avatar--m_pvl5h_803","avatar--l":"_avatar--l_pvl5h_809","avatar--xl":"_avatar--xl_pvl5h_815","avatar--xxl":"_avatar--xxl_pvl5h_821","avatar--bordered":"_avatar--bordered_pvl5h_827",avatar__content:"_avatar__content_pvl5h_832",avatar__image:"_avatar__image_pvl5h_840",avatar__initials:"_avatar__initials_pvl5h_846",avatar__placeholder:"_avatar__placeholder_pvl5h_875",avatar__status:"_avatar__status_pvl5h_906",avatarWithBorder:"_avatarWithBorder_pvl5h_938",avatarWithBorder__svg:"_avatarWithBorder__svg_pvl5h_945",avatarWithBorder__content:"_avatarWithBorder__content_pvl5h_981"},Q=({src:n,name:c,size:_="m",status:i=null,bordered:t=!1,backgroundColor:s,className:p="",onError:v})=>{const m=h=>{const w=h.trim().split(" ");return w.length===1?w[0].charAt(0).toUpperCase():`${w[0].charAt(0)}${w[w.length-1].charAt(0)}`.toUpperCase()},E=()=>{if(s)return s;if(c){const h=["var(--color-blue-gray-600)","var(--color-indigo-600)","var(--color-success-600)","var(--color-warning-600)","var(--color-danger-600)","var(--color-fuchsia-600)","var(--color-purple-600)","var(--color-blue-600)","var(--color-sky-blue-600)","var(--color-cyan-600)","var(--color-teal-600)","var(--color-emerald-600)","var(--color-lime-600)","var(--color-yellow-600)","var(--color-rose-600)","var(--color-pink-600)"],w=c.split("").reduce((R,S)=>R+S.charCodeAt(0),0);return h[w%h.length]}return"var(--color-blue-gray-300)"},g={online:"var(--color-success-500)",offline:"var(--color-blue-gray-400)",away:"var(--color-warning-500)",busy:"var(--color-danger-500)"},k=[j.avatar,j[`avatar--${_}`],t?j["avatar--bordered"]:"",p].filter(Boolean).join(" "),b=()=>{if(n)return r.jsx("img",{src:n,alt:c?`${c} avatar`:"Avatar",className:j.avatar__image,onError:v});if(c){const h=m(c);return r.jsx("div",{className:j.avatar__initials,style:{backgroundColor:E()},children:h})}return r.jsx("div",{className:j.avatar__placeholder,children:r.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[r.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),r.jsx("circle",{cx:"12",cy:"7",r:"4"})]})})};return r.jsxs("div",{className:k,children:[r.jsx("div",{className:j.avatar__content,children:b()}),i&&r.jsx("div",{className:j.avatar__status,style:{backgroundColor:g[i]}})]})},P={avatarGroup:"_avatarGroup_1teei_779","avatarGroup--overlap":"_avatarGroup--overlap_1teei_783",avatarGroup__item:"_avatarGroup__item_1teei_783",avatarGroup__more:"_avatarGroup__more_1teei_794"},ue=({items:n,max:c=5,size:_="m",overlap:i=!0,className:t=""})=>{const s=n.slice(0,c),p=n.length-s.length;return r.jsxs("div",{className:[P.avatarGroup,i?P["avatarGroup--overlap"]:"",t].filter(Boolean).join(" "),children:[s.map((v,m)=>r.jsx("div",{className:P.avatarGroup__item,children:r.jsx(Q,{...v,size:_})},m)),p>0&&r.jsxs("div",{className:`${P.avatarGroup__item} ${P.avatarGroup__more}`,children:["+",p]})]})},T={focus:"_focus_1ckja_549","focus--default":"_focus--default_1ckja_566","focus--danger":"_focus--danger_1ckja_570","focus--visible":"_focus--visible_1ckja_576","focus-danger":"_focus-danger_1ckja_591","focus-within--default":"_focus-within--default_1ckja_597","focus-within--danger":"_focus-within--danger_1ckja_601","focus--input":"_focus--input_1ckja_606","focus--button":"_focus--button_1ckja_611","focus--card":"_focus--card_1ckja_616",swap:"_swap_1ckja_631","swap--text":"_swap--text_1ckja_640","swap--icon":"_swap--icon_1ckja_651","swap--icon-xs":"_swap--icon-xs_1ckja_661","swap--icon-s":"_swap--icon-s_1ckja_666","swap--icon-m":"_swap--icon-m_1ckja_671","swap--icon-l":"_swap--icon-l_1ckja_676","swap--icon-xl":"_swap--icon-xl_1ckja_681",swap__content:"_swap__content_1ckja_687","swap--group-horizontal":"_swap--group-horizontal_1ckja_696","swap--group-vertical":"_swap--group-vertical_1ckja_703","swap--with-background":"_swap--with-background_1ckja_711","swap--with-border":"_swap--with-border_1ckja_717","swap--interactive":"_swap--interactive_1ckja_725","spinner-container":"_spinner-container_1ckja_779","spinner-container--label-top":"_spinner-container--label-top_1ckja_784","spinner-container--label-bottom":"_spinner-container--label-bottom_1ckja_788","spinner-container--label-left":"_spinner-container--label-left_1ckja_792","spinner-container--label-right":"_spinner-container--label-right_1ckja_796",spinner:"_spinner_1ckja_779","spinner-rotate":"_spinner-rotate_1ckja_1","spinner--primary":"_spinner--primary_1ckja_807","spinner--inverse":"_spinner--inverse_1ckja_810","spinner--currentColor":"_spinner--currentColor_1ckja_813","spinner--xs":"_spinner--xs_1ckja_816","spinner--s":"_spinner--s_1ckja_820","spinner--ms":"_spinner--ms_1ckja_824","spinner--m":"_spinner--m_1ckja_824","spinner--l":"_spinner--l_1ckja_832","spinner--xl":"_spinner--xl_1ckja_836",spinner__label:"_spinner__label_1ckja_841","spinner-svg":"_spinner-svg_1ckja_856"},K=({size:n="m",color:c,className:_="",label:i,labelPosition:t="bottom"})=>{const s=!!i,p=[T["spinner-container"],s&&T[`spinner-container--label-${t}`],_].filter(Boolean).join(" "),v=[T.spinner,T[`spinner--${n}`],T[`spinner--${c}`]].filter(Boolean).join(" "),m=()=>{switch(n){case"xs":return r.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0271 9.32414C11.5487 8.54345 11.8786 7.65462 11.9948 6.7298C12.0466 6.31739 11.7048 5.97912 11.2891 5.97912C10.8735 5.97912 10.5431 6.3186 10.4746 6.72857C10.1176 8.86575 8.25944 10.4946 6.02088 10.4946C3.52695 10.4946 1.50522 8.47291 1.50522 5.97898C1.50522 3.74035 3.13422 1.88219 5.27149 1.52522C5.68143 1.45675 6.02088 1.1264 6.02088 0.710787C6.02088 0.29517 5.68266 -0.0466028 5.27028 0.00521079C4.34544 0.121414 3.45658 0.451289 2.67586 0.972945C1.68573 1.63453 0.914021 2.57486 0.458315 3.67503C0.00260876 4.7752 -0.116625 5.9858 0.115692 7.15374C0.348009 8.32167 0.921443 9.39449 1.76348 10.2365C2.60551 11.0786 3.67833 11.652 4.84627 11.8843C6.0142 12.1166 7.2248 11.9974 8.32497 11.5417C9.42515 11.086 10.3655 10.3143 11.0271 9.32414Z",fill:"currentColor"})});case"s":return r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7032 12.4322C15.3987 11.3913 15.8385 10.2062 15.9935 8.97307C16.0626 8.42318 15.6068 7.97216 15.0526 7.97216C14.4984 7.97216 14.0579 8.4248 13.9666 8.97142C13.4905 11.821 11.013 13.9929 8.02827 13.9929C4.70303 13.9929 2.00739 11.2972 2.00739 7.97198C2.00739 4.98714 4.17938 2.50959 7.02908 2.03363C7.57567 1.94234 8.02827 1.50187 8.02827 0.947716C8.02827 0.393559 7.5773 -0.062137 7.02747 0.00694772C5.79434 0.161886 4.60919 0.601719 3.56824 1.29726C2.24807 2.17937 1.21912 3.43315 0.611514 4.90004C0.0039056 6.36694 -0.155072 7.98107 0.154684 9.53831C0.46444 11.0956 1.22902 12.526 2.35173 13.6487C3.47444 14.7714 4.90487 15.536 6.46212 15.8457C8.01937 16.1555 9.6335 15.9965 11.1004 15.3889C12.5673 14.7813 13.8211 13.7524 14.7032 12.4322Z",fill:"currentColor"})});case"ms":return r.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3789 15.5402C19.2483 14.2391 19.7981 12.7576 19.9917 11.2163C20.0781 10.5289 19.5085 9.9652 18.8157 9.9652C18.123 9.9652 17.5724 10.531 17.4583 11.2142C16.8632 14.7762 13.7663 17.4911 10.0354 17.4911C5.87883 17.4911 2.50928 14.1215 2.50928 9.96497C2.50928 6.23397 5.2242 3.13707 8.78626 2.54206C9.46949 2.42793 10.0352 1.87734 10.0352 1.18465C10.0352 0.491952 9.47151 -0.0776724 8.78421 0.00868486C7.24281 0.202359 5.76138 0.752150 4.46019 1.62157C2.80998 2.72421 1.5238 4.29143 0.764285 6.12505C0.00477522 7.95867 -0.193947 9.97633 0.193248 11.9229C0.580442 13.8695 1.53616 15.6575 2.93956 17.0609C4.34295 18.4643 6.13098 19.42 8.07754 19.8072C10.0241 20.1944 12.0418 19.9957 13.8754 19.2361C15.709 18.4766 17.2762 17.1904 18.3789 15.5402Z",fill:"currentColor"})});case"m":return r.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.0546 18.6483C23.0978 17.0869 23.7576 15.3092 23.99 13.4596C24.0937 12.6348 23.41 11.9582 22.5787 11.9582C21.7474 11.9582 21.0867 12.6372 20.9497 13.4572C20.2357 17.7316 16.5194 20.9896 12.0422 20.9896C7.05433 20.9896 3.01087 16.9461 3.01087 11.9582C3.01087 7.48102 6.26879 3.76473 10.5433 3.05073C11.3632 2.91377 12.0422 2.253 12.0422 1.42169C12.0422 0.590385 11.3657 -0.0932215 10.5409 0.0104243C8.69121 0.242847 6.91354 0.902591 5.35215 1.94588C3.37189 3.26904 1.82847 5.14971 0.917057 7.35005C0.0056448 9.55040 -0.232822 11.9716 0.231812 14.3075C0.696446 16.6433 1.84331 18.789 3.52738 20.473C5.21145 22.1571 7.35709 23.304 9.69296 23.7686C12.0288 24.2332 14.45 23.9948 16.6504 23.0834C18.8507 22.172 20.7314 20.6285 22.0546 18.6483Z",fill:"currentColor"})});case"l":return r.jsx("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.0639 37.3074C46.2418 34.048 47.5831 30.3167 47.9882 26.4427C48.1321 25.0661 46.9965 23.941 45.6124 23.941C44.2283 23.941 43.1236 25.069 42.9436 26.4414C41.7192 35.7789 33.7312 42.9877 24.0595 42.9877C13.5403 42.9877 5.0128 34.4602 5.0128 23.941C5.0128 14.2693 12.2215 6.28128 21.5591 5.05688C22.9315 4.87693 24.0595 3.77219 24.0595 2.38808C24.0595 1.00397 22.9344 -0.131586 21.5578 0.012331C17.6837 0.417347 13.9525 1.7587 10.693 3.93661C6.73656 6.58025 3.65285 10.3378 1.83188 14.734C0.0109128 19.1302 -0.465536 23.9676 0.462787 28.6346C1.39111 33.3016 3.68251 37.5885 7.04723 40.9533C10.4119 44.318 14.6989 46.6094 19.3658 47.5377C24.0328 48.466 28.8703 47.9896 33.2665 46.1686C37.6627 44.3476 41.4202 41.2639 44.0639 37.3074Z",fill:"currentColor"})});case"xl":return r.jsx("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.7249 49.7501C61.6897 45.3129 63.4913 40.2198 63.9879 34.9378C64.1433 33.2849 62.7828 31.9361 61.1226 31.9361C59.4625 31.9361 58.1348 33.2877 57.9456 34.9371C56.4575 47.9119 45.4377 57.9884 32.0643 57.9884C17.6761 57.9884 6.01208 46.3244 6.01208 31.9361C6.01208 18.5628 16.0886 7.54293 29.0634 6.05482C30.7127 5.86565 32.0643 4.538 32.0643 2.87782C32.0643 1.21763 30.7155 -0.142833 29.0627 0.0125764C23.7807 0.509201 18.6875 2.31078 14.2504 5.2756C8.9774 8.79887 4.86764 13.8066 2.44077 19.6656C0.0138931 25.5246 -0.621088 31.9717 0.616121 38.1916C1.85333 44.4114 4.90716 50.1247 9.39144 54.609C13.8757 59.0933 19.589 62.1471 25.8089 63.3843C32.0288 64.6215 38.4758 63.9866 44.3348 61.5597C50.1938 59.1328 55.2016 55.0231 58.7249 49.7501Z",fill:"currentColor"})});default:return null}};return r.jsxs("div",{className:p,children:[r.jsx("div",{className:v,children:m()}),i&&r.jsx("span",{className:T.spinner__label,"aria-hidden":"true",children:i})]})},d={focus:"_focus_3ghds_549","focus--default":"_focus--default_3ghds_566","focus--danger":"_focus--danger_3ghds_570","focus--visible":"_focus--visible_3ghds_576","focus-danger":"_focus-danger_3ghds_591","focus-within--default":"_focus-within--default_3ghds_597","focus-within--danger":"_focus-within--danger_3ghds_601","focus--input":"_focus--input_3ghds_606","focus--button":"_focus--button_3ghds_611","focus--card":"_focus--card_3ghds_616",swap:"_swap_3ghds_631","swap--text":"_swap--text_3ghds_640","swap--icon":"_swap--icon_3ghds_651","swap--icon-xs":"_swap--icon-xs_3ghds_661","swap--icon-s":"_swap--icon-s_3ghds_666","swap--icon-m":"_swap--icon-m_3ghds_671","swap--icon-l":"_swap--icon-l_3ghds_676","swap--icon-xl":"_swap--icon-xl_3ghds_681",swap__content:"_swap__content_3ghds_687","swap--group-horizontal":"_swap--group-horizontal_3ghds_696","swap--group-vertical":"_swap--group-vertical_3ghds_703","swap--with-background":"_swap--with-background_3ghds_711","swap--with-border":"_swap--with-border_3ghds_717","swap--interactive":"_swap--interactive_3ghds_725",button:"_button_3ghds_779",sizeL:"_sizeL_3ghds_803",sizeM:"_sizeM_3ghds_809",sizeS:"_sizeS_3ghds_815",iconOnly:"_iconOnly_3ghds_821",primary:"_primary_3ghds_833",disabled:"_disabled_3ghds_838",count:"_count_3ghds_852",secondary:"_secondary_3ghds_856",ghost:"_ghost_3ghds_879",link:"_link_3ghds_902",dangerPrimary:"_dangerPrimary_3ghds_931",dangerSecondary:"_dangerSecondary_3ghds_957",dangerGhost:"_dangerGhost_3ghds_983",dangerLink:"_dangerLink_3ghds_1009",open:"_open_3ghds_1036",content:"_content_3ghds_1048",loader:"_loader_3ghds_1053",text:"_text_3ghds_1059",icon:"_icon_3ghds_821",chevron:"_chevron_3ghds_1086",loading:"_loading_3ghds_1114"},de=n=>{switch(n){case"l":return"m";case"m":return"s";case"s":return"xs";default:return"s"}},ee=x.forwardRef((n,c)=>{const{size:_="m",variant:i="primary",disabled:t=!1,loading:s=!1,active:p=!1,open:v=!1,className:m="",children:E,icon:g,iconPosition:k="left",tooltip:b,count:h,withChevron:w=!1,href:R,...S}=n,L=k==="only"||!E&&g,z=w&&!L,B=[d.button,d[`size${_.toUpperCase()}`],d[i],t&&d.disabled,s&&d.loading,p&&d.active,v&&d.open,L&&d.iconOnly,m].filter(Boolean).join(" "),G=()=>r.jsxs(r.Fragment,{children:[r.jsxs("span",{className:d.content,children:[g&&k!=="right"&&r.jsx("span",{className:d.icon,children:g}),E&&r.jsx("span",{className:d.text,children:E}),g&&k==="right"&&r.jsx("span",{className:d.icon,children:g}),z&&r.jsx("span",{className:d.chevron}),h!==void 0&&r.jsx("span",{className:d.count,children:h>99?"+99":h})]}),s&&r.jsx("span",{className:d.loader,children:r.jsx(K,{size:de(_)})})]});if(R){const M=S;return t||s?r.jsx("span",{className:B,...M,children:G()}):r.jsx("a",{ref:c,href:R,className:B,...M,children:G()})}const{type:I="button",...W}=S;return r.jsx("button",{ref:c,type:I,className:B,disabled:t||s,"aria-label":L&&b?b:void 0,...W,children:G()})});ee.displayName="Button",f.AlertsBellIcon=X,f.Avatar=Q,f.AvatarGroup=ue,f.Button=ee,f.Spinner=K,f.SwapIcon=q,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})}));
|
|
22
|
+
<%s key={someKey} {...props} />`,_,u,N,u),ce[u+_]=!0)}if(u=null,c!==void 0&&(l(c),u=""+c),p(a)&&(l(a.key),u=""+a.key),"key"in a){c={};for(var Z in a)Z!=="key"&&(c[Z]=a[Z])}else c=a;return u&&h(c,typeof e=="function"?e.displayName||e.name||"Unknown":e),E(e,u,C,y,t(),c,F,D)}function k(e){typeof e=="object"&&e!==null&&e.$$typeof===f&&e._store&&(e._store.validated=1)}var b=x,f=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),B=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),ve=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),Y=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,fe=Array.isArray,V=console.createTask?console.createTask:function(){return null};b={react_stack_bottom_frame:function(e){return e()}};var ne,te={},se=b.react_stack_bottom_frame.bind(b,o)(),oe=V(i(o)),ce={};O.Fragment=R,O.jsx=function(e,a,c,_,y){var C=1e4>Y.recentlyCreatedOwnerStacks++;return g(e,a,c,!1,_,y,C?Error("react-stack-top-frame"):se,C?V(i(e)):oe)},O.jsxs=function(e,a,c,_,y){var C=1e4>Y.recentlyCreatedOwnerStacks++;return g(e,a,c,!0,_,y,C?Error("react-stack-top-frame"):se,C?V(i(e)):oe)}})()),O}var J;function _e(){return J||(J=1,process.env.NODE_ENV==="production"?G.exports=ie():G.exports=le()),G.exports}var r=_e();const q=x.forwardRef(({size:n=16,color:s="currentColor",...l},i)=>r.jsx("svg",{ref:i,width:n,height:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.00002 2.59978C3.62872 2.59978 3.27263 2.74728 3.01007 3.00983C2.74752 3.27238 2.60002 3.62848 2.60002 3.99978V9.21797L4.90909 6.9089L4.91733 6.90082C5.31675 6.51647 5.80518 6.28666 6.33336 6.28666C6.86154 6.28666 7.34997 6.51647 7.74939 6.90082L7.75762 6.9089L9.33336 8.48463L9.57576 8.24223L9.58399 8.23416C9.98341 7.8498 10.4718 7.62 11 7.62C11.5282 7.62 12.0166 7.8498 12.4161 8.23416L12.4243 8.24223L13.4 9.21797V3.99978C13.4 3.62848 13.2525 3.27238 12.99 3.00983C12.7274 2.74728 12.3713 2.59978 12 2.59978H4.00002ZM14.6 3.99978C14.6 3.31022 14.3261 2.6489 13.8385 2.1613C13.3509 1.67371 12.6896 1.39978 12 1.39978H4.00002C3.31046 1.39978 2.64914 1.67371 2.16155 2.1613C1.67395 2.6489 1.40002 3.31022 1.40002 3.99978V10.6664C1.40002 10.6663 1.40002 10.6665 1.40002 10.6664V11.9998C1.40002 12.6893 1.67395 13.3507 2.16155 13.8383C2.64914 14.3259 3.31046 14.5998 4.00002 14.5998H12C12.6896 14.5998 13.3509 14.3259 13.8385 13.8383C14.3261 13.3507 14.6 12.6893 14.6 11.9998V3.99978ZM13.4 10.915L11.5802 9.09517C11.3624 8.88707 11.1616 8.82 11 8.82C10.8385 8.82 10.6377 8.88707 10.4199 9.09517L10.1819 9.33316L11.091 10.2422C11.3253 10.4765 11.3253 10.8564 11.091 11.0908C10.8566 11.3251 10.4767 11.3251 10.2424 11.0908L8.90933 9.75766L6.91351 7.76184C6.69573 7.55374 6.4949 7.48666 6.33336 7.48666C6.17181 7.48666 5.97098 7.55374 5.75321 7.76184L2.60002 10.915V11.9998C2.60002 12.3711 2.74752 12.7272 3.01007 12.9897C3.27263 13.2523 3.62872 13.3998 4.00002 13.3998H12C12.3713 13.3998 12.7274 13.2523 12.99 12.9897C13.2525 12.7272 13.4 12.3711 13.4 11.9998V10.915ZM9.40002 5.33311C9.40002 5.00174 9.66865 4.73311 10 4.73311H10.0067C10.3381 4.73311 10.6067 5.00174 10.6067 5.33311C10.6067 5.66448 10.3381 5.93311 10.0067 5.93311H10C9.66865 5.93311 9.40002 5.66448 9.40002 5.33311Z",fill:s})}));q.displayName="SwapIcon";const X=x.forwardRef(({width:n="12",height:s="14",color:l="currentColor",...i},t)=>r.jsx("svg",{ref:t,width:n,height:s,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.99981 1.15596C5.58486 1.15596 5.26071 1.5097 5.26071 1.92999C5.26071 2.35027 5.58486 2.70401 5.99981 2.70401C6.41476 2.70401 6.73892 2.35027 6.73892 1.92999C6.73892 1.5097 6.41476 1.15596 5.99981 1.15596ZM7.52625 2.97883C7.71034 2.67766 7.81761 2.31796 7.81761 1.92999C7.81761 0.85689 6.99699 0 5.99981 0C5.00263 0 4.18202 0.85689 4.18202 1.92999C4.18202 2.31929 4.29002 2.68014 4.47528 2.98194C2.71018 3.64815 1.44259 5.43858 1.44112 7.54918L1.42653 8.81527L1.42649 8.81526V8.8224C1.42649 9.53493 1.14719 10.142 0.840751 10.5707L1.26889 10.9222L0.84075 10.5707C0.618394 10.8817 0.637558 11.2617 0.739392 11.5238C0.841825 11.7874 1.09897 12.0987 1.50984 12.0987H3.60896C3.87007 13.2133 4.87 14 5.99981 14C7.12962 14 8.12956 13.2133 8.39066 12.0987H10.4904C10.8945 12.0987 11.1518 11.7969 11.2567 11.5349C11.3609 11.2749 11.3821 10.9009 11.1691 10.5902C10.8762 10.163 10.604 9.55005 10.6031 8.826L10.6177 7.62328L10.6177 7.62328V7.61577C10.6177 5.46908 9.32466 3.6487 7.52625 2.97883ZM7.23799 12.0987H4.76163C4.97941 12.5276 5.43354 12.844 5.99981 12.844C6.56608 12.844 7.02021 12.5276 7.23799 12.0987ZM5.99981 3.85997C4.07353 3.85997 2.51981 5.51795 2.51981 7.55286V7.55999L2.51977 7.55999L2.50518 8.82612C2.50439 9.67736 2.23203 10.3999 1.91215 10.9428H10.093C9.78555 10.3984 9.52439 9.67423 9.52439 8.8224V8.81489L9.52444 8.81489L9.53902 7.61212C9.53716 5.54413 7.95764 3.85997 5.99981 3.85997Z",fill:"currentColor"})}));X.displayName="AlertsBellIcon";const j={focus:"_focus_pvl5h_549","focus--default":"_focus--default_pvl5h_566","focus--danger":"_focus--danger_pvl5h_570","focus--visible":"_focus--visible_pvl5h_576","focus-danger":"_focus-danger_pvl5h_591","focus-within--default":"_focus-within--default_pvl5h_597","focus-within--danger":"_focus-within--danger_pvl5h_601","focus--input":"_focus--input_pvl5h_606","focus--button":"_focus--button_pvl5h_611","focus--card":"_focus--card_pvl5h_616",swap:"_swap_pvl5h_631","swap--text":"_swap--text_pvl5h_640","swap--icon":"_swap--icon_pvl5h_651","swap--icon-xs":"_swap--icon-xs_pvl5h_661","swap--icon-s":"_swap--icon-s_pvl5h_666","swap--icon-m":"_swap--icon-m_pvl5h_671","swap--icon-l":"_swap--icon-l_pvl5h_676","swap--icon-xl":"_swap--icon-xl_pvl5h_681",swap__content:"_swap__content_pvl5h_687","swap--group-horizontal":"_swap--group-horizontal_pvl5h_696","swap--group-vertical":"_swap--group-vertical_pvl5h_703","swap--with-background":"_swap--with-background_pvl5h_711","swap--with-border":"_swap--with-border_pvl5h_717","swap--interactive":"_swap--interactive_pvl5h_725",avatar:"_avatar_pvl5h_779","avatar--xs":"_avatar--xs_pvl5h_791","avatar--s":"_avatar--s_pvl5h_797","avatar--m":"_avatar--m_pvl5h_803","avatar--l":"_avatar--l_pvl5h_809","avatar--xl":"_avatar--xl_pvl5h_815","avatar--xxl":"_avatar--xxl_pvl5h_821","avatar--bordered":"_avatar--bordered_pvl5h_827",avatar__content:"_avatar__content_pvl5h_832",avatar__image:"_avatar__image_pvl5h_840",avatar__initials:"_avatar__initials_pvl5h_846",avatar__placeholder:"_avatar__placeholder_pvl5h_875",avatar__status:"_avatar__status_pvl5h_906",avatarWithBorder:"_avatarWithBorder_pvl5h_938",avatarWithBorder__svg:"_avatarWithBorder__svg_pvl5h_945",avatarWithBorder__content:"_avatarWithBorder__content_pvl5h_981"},Q=({src:n,name:s,size:l="m",status:i=null,bordered:t=!1,backgroundColor:o,className:p="",onError:h})=>{const m=f=>{const w=f.trim().split(" ");return w.length===1?w[0].charAt(0).toUpperCase():`${w[0].charAt(0)}${w[w.length-1].charAt(0)}`.toUpperCase()},E=()=>{if(o)return o;if(s){const f=["var(--color-blue-gray-600)","var(--color-indigo-600)","var(--color-success-600)","var(--color-warning-600)","var(--color-danger-600)","var(--color-fuchsia-600)","var(--color-purple-600)","var(--color-blue-600)","var(--color-sky-blue-600)","var(--color-cyan-600)","var(--color-teal-600)","var(--color-emerald-600)","var(--color-lime-600)","var(--color-yellow-600)","var(--color-rose-600)","var(--color-pink-600)"],w=s.split("").reduce((R,S)=>R+S.charCodeAt(0),0);return f[w%f.length]}return"var(--color-blue-gray-300)"},g={online:"var(--color-success-500)",offline:"var(--color-blue-gray-400)",away:"var(--color-warning-500)",busy:"var(--color-danger-500)"},k=[j.avatar,j[`avatar--${l}`],t?j["avatar--bordered"]:"",p].filter(Boolean).join(" "),b=()=>{if(n)return r.jsx("img",{src:n,alt:s?`${s} avatar`:"Avatar",className:j.avatar__image,onError:h});if(s){const f=m(s);return r.jsx("div",{className:j.avatar__initials,style:{backgroundColor:E()},children:f})}return r.jsx("div",{className:j.avatar__placeholder,children:r.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[r.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),r.jsx("circle",{cx:"12",cy:"7",r:"4"})]})})};return r.jsxs("div",{className:k,children:[r.jsx("div",{className:j.avatar__content,children:b()}),i&&r.jsx("div",{className:j.avatar__status,style:{backgroundColor:g[i]}})]})},P={avatarGroup:"_avatarGroup_1teei_779","avatarGroup--overlap":"_avatarGroup--overlap_1teei_783",avatarGroup__item:"_avatarGroup__item_1teei_783",avatarGroup__more:"_avatarGroup__more_1teei_794"},ue=({items:n,max:s=5,size:l="m",overlap:i=!0,className:t=""})=>{const o=n.slice(0,s),p=n.length-o.length;return r.jsxs("div",{className:[P.avatarGroup,i?P["avatarGroup--overlap"]:"",t].filter(Boolean).join(" "),children:[o.map((h,m)=>r.jsx("div",{className:P.avatarGroup__item,children:r.jsx(Q,{...h,size:l})},m)),p>0&&r.jsxs("div",{className:`${P.avatarGroup__item} ${P.avatarGroup__more}`,children:["+",p]})]})},de=({size:n=80,borderColor:s="#D6DDFF",borderWidth:l=2,borderStyle:i="dashed",children:t})=>r.jsx("div",{style:{width:n,height:n,borderRadius:"50%",border:`${l}px ${i} ${s}`,padding:l,boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:r.jsx("div",{style:{width:"100%",height:"100%",borderRadius:"50%",overflow:"hidden"},children:t})}),T={focus:"_focus_1ckja_549","focus--default":"_focus--default_1ckja_566","focus--danger":"_focus--danger_1ckja_570","focus--visible":"_focus--visible_1ckja_576","focus-danger":"_focus-danger_1ckja_591","focus-within--default":"_focus-within--default_1ckja_597","focus-within--danger":"_focus-within--danger_1ckja_601","focus--input":"_focus--input_1ckja_606","focus--button":"_focus--button_1ckja_611","focus--card":"_focus--card_1ckja_616",swap:"_swap_1ckja_631","swap--text":"_swap--text_1ckja_640","swap--icon":"_swap--icon_1ckja_651","swap--icon-xs":"_swap--icon-xs_1ckja_661","swap--icon-s":"_swap--icon-s_1ckja_666","swap--icon-m":"_swap--icon-m_1ckja_671","swap--icon-l":"_swap--icon-l_1ckja_676","swap--icon-xl":"_swap--icon-xl_1ckja_681",swap__content:"_swap__content_1ckja_687","swap--group-horizontal":"_swap--group-horizontal_1ckja_696","swap--group-vertical":"_swap--group-vertical_1ckja_703","swap--with-background":"_swap--with-background_1ckja_711","swap--with-border":"_swap--with-border_1ckja_717","swap--interactive":"_swap--interactive_1ckja_725","spinner-container":"_spinner-container_1ckja_779","spinner-container--label-top":"_spinner-container--label-top_1ckja_784","spinner-container--label-bottom":"_spinner-container--label-bottom_1ckja_788","spinner-container--label-left":"_spinner-container--label-left_1ckja_792","spinner-container--label-right":"_spinner-container--label-right_1ckja_796",spinner:"_spinner_1ckja_779","spinner-rotate":"_spinner-rotate_1ckja_1","spinner--primary":"_spinner--primary_1ckja_807","spinner--inverse":"_spinner--inverse_1ckja_810","spinner--currentColor":"_spinner--currentColor_1ckja_813","spinner--xs":"_spinner--xs_1ckja_816","spinner--s":"_spinner--s_1ckja_820","spinner--ms":"_spinner--ms_1ckja_824","spinner--m":"_spinner--m_1ckja_824","spinner--l":"_spinner--l_1ckja_832","spinner--xl":"_spinner--xl_1ckja_836",spinner__label:"_spinner__label_1ckja_841","spinner-svg":"_spinner-svg_1ckja_856"},K=({size:n="m",color:s,className:l="",label:i,labelPosition:t="bottom"})=>{const o=!!i,p=[T["spinner-container"],o&&T[`spinner-container--label-${t}`],l].filter(Boolean).join(" "),h=[T.spinner,T[`spinner--${n}`],T[`spinner--${s}`]].filter(Boolean).join(" "),m=()=>{switch(n){case"xs":return r.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0271 9.32414C11.5487 8.54345 11.8786 7.65462 11.9948 6.7298C12.0466 6.31739 11.7048 5.97912 11.2891 5.97912C10.8735 5.97912 10.5431 6.3186 10.4746 6.72857C10.1176 8.86575 8.25944 10.4946 6.02088 10.4946C3.52695 10.4946 1.50522 8.47291 1.50522 5.97898C1.50522 3.74035 3.13422 1.88219 5.27149 1.52522C5.68143 1.45675 6.02088 1.1264 6.02088 0.710787C6.02088 0.29517 5.68266 -0.0466028 5.27028 0.00521079C4.34544 0.121414 3.45658 0.451289 2.67586 0.972945C1.68573 1.63453 0.914021 2.57486 0.458315 3.67503C0.00260876 4.7752 -0.116625 5.9858 0.115692 7.15374C0.348009 8.32167 0.921443 9.39449 1.76348 10.2365C2.60551 11.0786 3.67833 11.652 4.84627 11.8843C6.0142 12.1166 7.2248 11.9974 8.32497 11.5417C9.42515 11.086 10.3655 10.3143 11.0271 9.32414Z",fill:"currentColor"})});case"s":return r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7032 12.4322C15.3987 11.3913 15.8385 10.2062 15.9935 8.97307C16.0626 8.42318 15.6068 7.97216 15.0526 7.97216C14.4984 7.97216 14.0579 8.4248 13.9666 8.97142C13.4905 11.821 11.013 13.9929 8.02827 13.9929C4.70303 13.9929 2.00739 11.2972 2.00739 7.97198C2.00739 4.98714 4.17938 2.50959 7.02908 2.03363C7.57567 1.94234 8.02827 1.50187 8.02827 0.947716C8.02827 0.393559 7.5773 -0.062137 7.02747 0.00694772C5.79434 0.161886 4.60919 0.601719 3.56824 1.29726C2.24807 2.17937 1.21912 3.43315 0.611514 4.90004C0.0039056 6.36694 -0.155072 7.98107 0.154684 9.53831C0.46444 11.0956 1.22902 12.526 2.35173 13.6487C3.47444 14.7714 4.90487 15.536 6.46212 15.8457C8.01937 16.1555 9.6335 15.9965 11.1004 15.3889C12.5673 14.7813 13.8211 13.7524 14.7032 12.4322Z",fill:"currentColor"})});case"ms":return r.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3789 15.5402C19.2483 14.2391 19.7981 12.7576 19.9917 11.2163C20.0781 10.5289 19.5085 9.9652 18.8157 9.9652C18.123 9.9652 17.5724 10.531 17.4583 11.2142C16.8632 14.7762 13.7663 17.4911 10.0354 17.4911C5.87883 17.4911 2.50928 14.1215 2.50928 9.96497C2.50928 6.23397 5.2242 3.13707 8.78626 2.54206C9.46949 2.42793 10.0352 1.87734 10.0352 1.18465C10.0352 0.491952 9.47151 -0.0776724 8.78421 0.00868486C7.24281 0.202359 5.76138 0.752150 4.46019 1.62157C2.80998 2.72421 1.5238 4.29143 0.764285 6.12505C0.00477522 7.95867 -0.193947 9.97633 0.193248 11.9229C0.580442 13.8695 1.53616 15.6575 2.93956 17.0609C4.34295 18.4643 6.13098 19.42 8.07754 19.8072C10.0241 20.1944 12.0418 19.9957 13.8754 19.2361C15.709 18.4766 17.2762 17.1904 18.3789 15.5402Z",fill:"currentColor"})});case"m":return r.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.0546 18.6483C23.0978 17.0869 23.7576 15.3092 23.99 13.4596C24.0937 12.6348 23.41 11.9582 22.5787 11.9582C21.7474 11.9582 21.0867 12.6372 20.9497 13.4572C20.2357 17.7316 16.5194 20.9896 12.0422 20.9896C7.05433 20.9896 3.01087 16.9461 3.01087 11.9582C3.01087 7.48102 6.26879 3.76473 10.5433 3.05073C11.3632 2.91377 12.0422 2.253 12.0422 1.42169C12.0422 0.590385 11.3657 -0.0932215 10.5409 0.0104243C8.69121 0.242847 6.91354 0.902591 5.35215 1.94588C3.37189 3.26904 1.82847 5.14971 0.917057 7.35005C0.0056448 9.55040 -0.232822 11.9716 0.231812 14.3075C0.696446 16.6433 1.84331 18.789 3.52738 20.473C5.21145 22.1571 7.35709 23.304 9.69296 23.7686C12.0288 24.2332 14.45 23.9948 16.6504 23.0834C18.8507 22.172 20.7314 20.6285 22.0546 18.6483Z",fill:"currentColor"})});case"l":return r.jsx("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.0639 37.3074C46.2418 34.048 47.5831 30.3167 47.9882 26.4427C48.1321 25.0661 46.9965 23.941 45.6124 23.941C44.2283 23.941 43.1236 25.069 42.9436 26.4414C41.7192 35.7789 33.7312 42.9877 24.0595 42.9877C13.5403 42.9877 5.0128 34.4602 5.0128 23.941C5.0128 14.2693 12.2215 6.28128 21.5591 5.05688C22.9315 4.87693 24.0595 3.77219 24.0595 2.38808C24.0595 1.00397 22.9344 -0.131586 21.5578 0.012331C17.6837 0.417347 13.9525 1.7587 10.693 3.93661C6.73656 6.58025 3.65285 10.3378 1.83188 14.734C0.0109128 19.1302 -0.465536 23.9676 0.462787 28.6346C1.39111 33.3016 3.68251 37.5885 7.04723 40.9533C10.4119 44.318 14.6989 46.6094 19.3658 47.5377C24.0328 48.466 28.8703 47.9896 33.2665 46.1686C37.6627 44.3476 41.4202 41.2639 44.0639 37.3074Z",fill:"currentColor"})});case"xl":return r.jsx("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.7249 49.7501C61.6897 45.3129 63.4913 40.2198 63.9879 34.9378C64.1433 33.2849 62.7828 31.9361 61.1226 31.9361C59.4625 31.9361 58.1348 33.2877 57.9456 34.9371C56.4575 47.9119 45.4377 57.9884 32.0643 57.9884C17.6761 57.9884 6.01208 46.3244 6.01208 31.9361C6.01208 18.5628 16.0886 7.54293 29.0634 6.05482C30.7127 5.86565 32.0643 4.538 32.0643 2.87782C32.0643 1.21763 30.7155 -0.142833 29.0627 0.0125764C23.7807 0.509201 18.6875 2.31078 14.2504 5.2756C8.9774 8.79887 4.86764 13.8066 2.44077 19.6656C0.0138931 25.5246 -0.621088 31.9717 0.616121 38.1916C1.85333 44.4114 4.90716 50.1247 9.39144 54.609C13.8757 59.0933 19.589 62.1471 25.8089 63.3843C32.0288 64.6215 38.4758 63.9866 44.3348 61.5597C50.1938 59.1328 55.2016 55.0231 58.7249 49.7501Z",fill:"currentColor"})});default:return null}};return r.jsxs("div",{className:p,children:[r.jsx("div",{className:h,children:m()}),i&&r.jsx("span",{className:T.spinner__label,"aria-hidden":"true",children:i})]})},d={focus:"_focus_3ghds_549","focus--default":"_focus--default_3ghds_566","focus--danger":"_focus--danger_3ghds_570","focus--visible":"_focus--visible_3ghds_576","focus-danger":"_focus-danger_3ghds_591","focus-within--default":"_focus-within--default_3ghds_597","focus-within--danger":"_focus-within--danger_3ghds_601","focus--input":"_focus--input_3ghds_606","focus--button":"_focus--button_3ghds_611","focus--card":"_focus--card_3ghds_616",swap:"_swap_3ghds_631","swap--text":"_swap--text_3ghds_640","swap--icon":"_swap--icon_3ghds_651","swap--icon-xs":"_swap--icon-xs_3ghds_661","swap--icon-s":"_swap--icon-s_3ghds_666","swap--icon-m":"_swap--icon-m_3ghds_671","swap--icon-l":"_swap--icon-l_3ghds_676","swap--icon-xl":"_swap--icon-xl_3ghds_681",swap__content:"_swap__content_3ghds_687","swap--group-horizontal":"_swap--group-horizontal_3ghds_696","swap--group-vertical":"_swap--group-vertical_3ghds_703","swap--with-background":"_swap--with-background_3ghds_711","swap--with-border":"_swap--with-border_3ghds_717","swap--interactive":"_swap--interactive_3ghds_725",button:"_button_3ghds_779",sizeL:"_sizeL_3ghds_803",sizeM:"_sizeM_3ghds_809",sizeS:"_sizeS_3ghds_815",iconOnly:"_iconOnly_3ghds_821",primary:"_primary_3ghds_833",disabled:"_disabled_3ghds_838",count:"_count_3ghds_852",secondary:"_secondary_3ghds_856",ghost:"_ghost_3ghds_879",link:"_link_3ghds_902",dangerPrimary:"_dangerPrimary_3ghds_931",dangerSecondary:"_dangerSecondary_3ghds_957",dangerGhost:"_dangerGhost_3ghds_983",dangerLink:"_dangerLink_3ghds_1009",open:"_open_3ghds_1036",content:"_content_3ghds_1048",loader:"_loader_3ghds_1053",text:"_text_3ghds_1059",icon:"_icon_3ghds_821",chevron:"_chevron_3ghds_1086",loading:"_loading_3ghds_1114"},pe=n=>{switch(n){case"l":return"m";case"m":return"s";case"s":return"xs";default:return"s"}},ee=x.forwardRef((n,s)=>{const{size:l="m",variant:i="primary",disabled:t=!1,loading:o=!1,active:p=!1,open:h=!1,className:m="",children:E,icon:g,iconPosition:k="left",tooltip:b,count:f,withChevron:w=!1,href:R,...S}=n,L=k==="only"||!E&&g,z=w&&!L,B=[d.button,d[`size${l.toUpperCase()}`],d[i],t&&d.disabled,o&&d.loading,p&&d.active,h&&d.open,L&&d.iconOnly,m].filter(Boolean).join(" "),$=()=>r.jsxs(r.Fragment,{children:[r.jsxs("span",{className:d.content,children:[g&&k!=="right"&&r.jsx("span",{className:d.icon,children:g}),E&&r.jsx("span",{className:d.text,children:E}),g&&k==="right"&&r.jsx("span",{className:d.icon,children:g}),z&&r.jsx("span",{className:d.chevron}),f!==void 0&&r.jsx("span",{className:d.count,children:f>99?"+99":f})]}),o&&r.jsx("span",{className:d.loader,children:r.jsx(K,{size:pe(l)})})]});if(R){const M=S;return t||o?r.jsx("span",{className:B,...M,children:$()}):r.jsx("a",{ref:s,href:R,className:B,...M,children:$()})}const{type:I="button",...W}=S;return r.jsx("button",{ref:s,type:I,className:B,disabled:t||o,"aria-label":L&&b?b:void 0,...W,children:$()})});ee.displayName="Button",v.AlertsBellIcon=X,v.Avatar=Q,v.AvatarGroup=ue,v.AvatarWithCssBorder=de,v.Button=ee,v.Spinner=K,v.SwapIcon=q,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
|